my layer is stupid in mozilla firefox when i change its position

Discussion in 'HTML & Website Design' started by mr.darklord, Mar 26, 2008.

  1. #1
    hi all.
    i have a problem with layers in firefox. when i change the position of my layer and move it with an interval (timer) to another position, all content of it will be stretch. :cool:
    here my script:

    function upload(){

    document.getElementById('uploaddiv').style.top = 10;
    document.getElementById('uploaddiv').style.left = 255;
    document.getElementById('uploaddiv').style.visibility = "visible";
    goforview();
    }

    function goforview(){
    ii=120;
    interval2 = setInterval(dynamic2,100);
    }
    function dynamic2(){
    if (ii<=300){
    ii +=10;

    document.getElementById('uploaddiv').style.top = ii;
    }else{
    clearInterval(interval2);
    }
    }
    upload();





    i call upload function by a link
    only firefox has that problem.

    somebody help me plz :confused:
     
    mr.darklord, Mar 26, 2008 IP
  2. mr.darklord

    mr.darklord Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ??? what can i do ???
     
    mr.darklord, Mar 26, 2008 IP
  3. nicangeli

    nicangeli Peon

    Messages:
    828
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You could allow people more than 4 mins to answer your question.
     
    nicangeli, Mar 26, 2008 IP