Floatbox: The premier windowing system for web pages

Forum guidelines:

- Please read the docs first.

- The forum's search function can be very helpful.

- Give an online example of problems if you can.

- Try to behave.

Support & General Discussion » fb and targeting

fb and targeting

Page: 1

Author Post
Member
Registered: May 2009
Posts: 44
Is it possible to open a fb window, within this window there is a link that is targets to the parent.
When you click the link the fb closes and the page is rendered..as usual.

Is it possible to click the link (in teh fb) and have the page load/rendered in the parent (target) BUT the fb not close?
THANKS
Administrator
Registered: Aug 2008
Posts: 1522
To close the current floatbox and refresh the base page, use something like:
<a href="#" onclick="fb.end('self'); return false;">close and refresh</a>


You can't reload the the page without the floatbox going away, because the floatbox is part of the page content. You could use AJAX to refresh a portion of the page without reloading it and disturbing the rest of its content.
Member
Registered: May 2009
Posts: 44
I thought so - THANKS!!

Page: 1

Support & General Discussion » fb and targeting

Floatbox Forum is powered by UseBB 1 Forum Software