开发者

scroll bar important query?

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

    上一篇:

    下一篇:

    精彩评论

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

    最新问答

    问答排行榜