开发者

slider with ajax content - jquery

i need a sli开发者_如何转开发der plugin, that load externals html's.

For example, four htmls correspond to 4 slides

Something like this: http://jqueryfordesigners.com/demo/coda-slider.html

thanks !


I believe most of the slider plugins can do this, even this Coda-Slider you used as example. In this page there are some examples and there's one which can even show a youtube video. Through jQuery you could select the panel in which you want to load the html page and use .load("page.html").

Generate a slider with four panels and load one html in each one of them.

$("#panel1").load("page1.html");
$("#panel2").load("page2.html");
$("#panel3").load("page3.html");
$("#panel4").load("page4.html");

I guess this works.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜