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

Gurpartap Singh’s picture

function GB_hide() {
  $("#GB_window,#GB_overlay").hide();
}

This is the code that does it. Probably call GB_hide(); or just $("#GB_window,#GB_overlay").hide();.

kreynen’s picture

Sorry, 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 :)

Gurpartap Singh’s picture

Category: feature » support
Status: Active » Fixed

Marking the issue as fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)