Bug with Fancybox inline content combined with <base> tag
241 views
Skip to first unread message
mosymuis
unread,
Mar 10, 2009, 4:29:26 AM3/10/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to fancybox
When Fancybox is used to show inline content from a #div in a popup on
a page with a <base> tag, the target contains the full URL wich
therefore doesnt applies to the ID from the wanted div.
Here is a fix:
->After:
var target = window.location.href.split('#')[0]; target = href.replace
(target, '');