Done Fixed with last Jquery version?
Thanks Jquery Team! Regards Mario 2007/5/10, Mario Moura <[EMAIL PROTECTED]>:
Ok I did window.open("http://localhost" + ($($("a").contains($(".slideshowCaption").text()).clone().empty()).attr("href")) works fine in FF but in IE I receive the word "about" in the middle of my domain. Example: => http://localhostabout/home/admin Crazy bug! I trying find something but if an expert could be explain what is going on I will be glad. Regards Mario 2007/5/10, Mario Moura <[EMAIL PROTECTED]>: > > Thanks Klaus > > You are right. > > Now I have another problem. > > $($("a").contains($(".slideshowCaption").text()) > .clone().empty()).attr("href") > > Show me /mydir/myref works fine in FF but in IE7 > dont.(about:/mydir/myref) > > So I am trying concatenate "http://www.mydomain " with /mydir/myref into > window.open > > Do you know How Can I do this? > > Regards > > Mario > > > 2007/5/10, Klaus Hartl < [EMAIL PROTECTED]>: > > > > > > 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 > > > > > > > -- > Mário Alberto Chaves Moura > [EMAIL PROTECTED] > 31-9157-6000 > -- Mário Alberto Chaves Moura [EMAIL PROTECTED] 31-9157-6000
-- Mário Alberto Chaves Moura [EMAIL PROTECTED] 31-9157-6000