treehouse : what would you like to learn today?
Web Design Web Development iOS Development

HTML pages opened with Shadowbox

  • Forums,

    what script do i use on a button in a html page (opened with shadowbox) to return to the main page.

    i basically want to include a "escape button" on my contained page similar to the little "X" on the bottom right of the actual shadow box. does anyone know how to do this?

    Please help,
    Thanks
  • i found that:

    onClick="window.parent.Shadowbox.close()"

    works...but now in chrome. Can someone please help me figure out why not?
  • *not in Chrome