closing auto loaded floatbox when html link is clicked

Page: 1

Author Post
Member
Registered: Nov 2011
Posts: 9
i have page set up so when it loads, a floatbox autoloads. the content of this floatbox is a hidden div. in the content of this hidden div, is a link to a separate pdf file, set to open in a _blank window when clicked.

this works fine, but the floatbox window is still open on the starting page when i return to that page. how do i get the floatbox to close when they click on the link above (not to be confused with the close buttons).

thanks for any help. and if there is a better way to do this, i am more than happy to listen.

if you want to see what i have at this stage:
http://www.bwti.com/index-wpopup.html

thanks again
Administrator
Registered: Aug 2008
Posts: 3382
Assign an onclick action which calls fb.end() to that link.
Member
Registered: Nov 2011
Posts: 9
hey admin,

thanks man, worked great once i figured out to attach it to the link. lol.

i'm a designer, wondering how i became a programmer. alas.

thanks again :?)

Page: 1