开发者

scroll bar important query?

开发者 https://www.devze.com 2022-12-27 23:10 出处:网络
actually i downloaded code for scroll from....... http://sorgalla.com/jcarousel/ but when i added it in my page and addusing code ...

actually i downloaded code for scroll from....... http://sorgalla.com/jcarousel/ but when i added it in my page and add

  • using code ... function addElement(url,imagePath){ alert(url);

    alert(imagePath);

    var container = document.getElementById('sncs'); items = container.getElementsByTagName("li"); //alert(items.length);

    var new_element = document.createElement('li');

    new_element.innerHTML ="";

    //var raj='1'+new_element.innerHTML; //alert()

    new_element.className="jcarousel-item jcarousel-item-horizontal jcarousel-item-4 jcarousel-item-4-horizontal";
    //container.insertBefore(new_element, co开发者_运维问答ntainer.firstChild);
    container.appendChild( new_element );
    

    }

    it added li not at the end but below scroll what will be the problem..... Please help me to sort out this problem....


    Firstly check your html and that you haven't left any tags open and have closed all "quotation marks". The easiest solution might be to start again as this problem could be down to a whole number of different things.

  • 0

    精彩评论

    暂无评论...
    验证码 换一张
    取 消