Is it possible to close the greybox from links other than the "Close Window". If so, could you include that javascript in the documentation or demos?
Is it possible to close the greybox from links other than the "Close Window". If so, could you include that javascript in the documentation or demos?
Comments
Comment #1
Gurpartap Singh commentedThis is the code that does it. Probably call GB_hide(); or just
$("#GB_window,#GB_overlay").hide();.Comment #2
kreynen commentedSorry, I should have been more clear. I want to close what I now realize is an iframe from the content that's loaded into it. I don't think that's possible since I tried creating something of a hall of mirror effect and loading a greybox in a greybox. closing the inner greybox only closed that greybox. So I've tried adding another GB_caption area to the bottom of the iframe. This gives me the functionality I'm looking for (sending users to Help), but I'm having trouble getting it placed correctly...
http://gradev.jour.unr.edu/drupal5test/node/19
All of this effort is going towards making QTVR look more Web2.0 :)
Comment #3
Gurpartap Singh commentedMarking the issue as fixed.
Comment #4
(not verified) commented