Mario Moura wrote:
Thanks,
Works like a charm. Now I finished what I was looking for.
I was working to insert a link in caption(Subtitle) of Interface
SlideShow (http://interface.eyecon.ro/demos/slideshow.html
<http://interface.eyecon.ro/demos/slideshow.html>)
Here my solution:
$(".slideshowCaption").click( function openNewWindow()
{
window.open($($("a").contains($(".slideshowCaption
").text()).clone().empty()).attr("href"), "_self");
} ); */ by Mario Moura
I'm not sure if naming an anonymous function is supported in every
browser. The following should be sufficient:
$(".slideshowCaption").click( function() {
window.open($($("a").contains($(".slideshowCaption").text())
.clone().empty()).attr("href"), "_self");
} );
More information:
http://my.opera.com/hallvors/blog/show.dml/738487
-- Klaus