actually i downloaded code for scroll from....... http://sorgalla.com/jcarousel/ but when i added it in my page and add
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.
精彩评论