internet explorer and mozilla

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jesmi
    New Member
    • Apr 2007
    • 53

    #1

    internet explorer and mozilla

    following is my code for the image position. it works nicely in internet explorer. but it doesn't support for mozilla. In mozilla, the image position is in the random places than i have directed. here's my code:

    function my_DropFunc()
    {
    dd.obj.copies[0].hide();

    if(dd.obj.x >25 && dd.obj.x <150 && dd.obj.y <450){
    dd.obj.moveTo(5 2,296);
    dd.obj.resizeTo (400,152);

    document.myForm .template1.valu e = test;
    document.myForm .X1.value = dd.obj.x;
    document.myForm .Y1.value = dd.obj.y;


    }
    else if(dd.obj.x <150){
    document.myForm .template1.valu e = "";
    document.myForm .X1.value = "";
    document.myForm .Y1.value = "";

    dd.obj.moveTo(5 0,480);
    dd.obj.resizeTo (92,118);
    }

    if(dd.obj.x >150 && dd.obj.y <450){
    dd.obj.moveTo(2 68,131);
    dd.obj.resizeTo (185,150);

    document.myForm .template2.valu e = test1;
    document.myForm .X2.value = dd.obj.x;
    document.myForm .Y2.value = dd.obj.y;

    }
    else if(dd.obj.x >150 ){
    document.myForm .template2.valu e = "";
    document.myForm .X2.value = "";
    document.myForm .Y2.value = "";

    dd.obj.moveTo(1 60,480);
    dd.obj.resizeTo (92,118);
    }


    }

    please help me to solve above problem.

    thanks in advance
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    If this is truly a html/css problem, then we need to see the generated html and css.

    Comment

    Working...