开发者

jquery DomWindow for all links on webpage in Firefox 4

开发者 https://www.devze.com 2023-03-04 04:18 出处:网络
Is it possible to make the Exampl开发者_如何学编程e 3 on this page: http://swip.codylindley.com/DOMWindowDemo.html work for all links on a webpage (not only the ones with class=\"absoluteIframeDOMWind

Is it possible to make the Exampl开发者_如何学编程e 3 on this page: http://swip.codylindley.com/DOMWindowDemo.html work for all links on a webpage (not only the ones with class="absoluteIframeDOMWindow" element) in Firefox 4?

When I upgraded to Firefox 4, this solution didn't work any more: jquery DomWindow for all links on webpage

And there's still the issue that it doesn't open twitter links: jQuery DomWindow doesn't work for twitter links + last portion of links work like normal links


For your first question:

$('a[href]').openDOMWindow(...);

This will do it for every link as you ask.
Hope this helps. Cheers

0

精彩评论

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