how can i change listing order of my ul li list for each page load using jquery
hi i am using prevnext jquery 开发者_Go百科slider . Now on each page load the sliding starting from the first list. Is there any way to list items in random order
If I were to do this I'd probably use a query string idea i.e. http://www.mysite.com/index.html?1 , so I'd do:
var windowLocation = window.location.split("?");
if(windowLocation[1] === 1){
//show 1 slide
}else if(windowLocation[1] === 2){
//show another slide first
}
And so on...
精彩评论