You are not logged in.
Pages: 1
Does anyone else here use the jQuery package Facebox? (http://famspam.com/facebox)
I'm using the AJAX option so that I can load a remote page inside the popup. Mostly it works great; however, I notice that when I click a link inside the remote page which has been loaded inside the popup, the popup closes and the main page behind it moves to that link href. Instead, I'd like for the popup to stay up and change to the new page. Anyone have any ideas?
Offline
I think you'll have to somehow make the remote page load inside an iframe for this to work, rather than loading directly into the facebox div. Not sure if this is a feature you can make use of or whether you will have to modify the JS code, but it should solve your problem
Edit: Something like
jQuery.facebox('<iframe src="url"></iframe>')
would work, or maybe you can modify the way it modifies the <a> links to insert iframes
Last edited by HashBox (2009-12-17 04:31:34)
Offline
Awesome (should have thought of that ). Thanks!!
Offline
No problem mate!
btw you have 666 posts as of this comment XD
Offline
Pages: 1