anvd
anvd

Reputation: 4047

slider with ajax content - jquery

i need a slider 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 !

Upvotes: 0

Views: 2176

Answers (1)

SPL_Splinter
SPL_Splinter

Reputation: 503

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.

Upvotes: 1

Related Questions