[jQuery] SlideShow Interface
Hi Folks
Everbody probably know SlideShow from <a href="http://interface.eyecon.ro/demos/slideshow.html">http://interface.eyecon.ro/demos/slideshow.html</a>
It is nice but dont have a way to href the caption to something.
I am trying but change function dont do what I hope, so probably I am in wrong way.
$($(".slideshowCaption ").text()).change($(".slideshowCaption").wrap($("a").contains($(".slideshowCaption ").text()).clone().empty()));
basically
$(".slideshowCaption ").text() find the text from slideshowCaption
I hope when this text change (by interface) I can insert in .slideshowCaption a wrap element (a) that contains ($(".slideshowCaption ").text()).clone().empty())
I am using .clone ()because I cant lose the text reference and .empty() because .wrap () need empty element (work fine if I insert into firebug console)
I tested $(".slideshowCaption").attr("onchange", "alert('Hello');");
So when .slideshowCaption change should alert hello. But again nothing happen.
What is missing? tips?
Regards
Mario