I have a modal window using ModalBox that utilizes Spry Tabbed Panels inside of it. There are several panels inside the window which is supposed to be a account management window of sorts. My problem comes with calling, by an onclick event, a specific tab from a hyperlink, inside the ModalBox window. It just plain doesn't work.
However, when run independently in a new window, the page works as it should, as does the link to the specific tab.
I'm assuming that there's some javascript interference at play - I just can't seem to find it. Has anyone else experienced this? There's no documentation anywhere that I've found.
Any ideas?
<a href='#' class='account_content' style='text-decoration: none;' onclick="TabbedPanels2.showPanel(2);"><span class='account_content'>Add one now</span></a>
Code that opens modal window:
<a href="../../../myzp.php" title="My Zero Point" onClick="this.blur(); Modalbox.show('../../../myzp.php', {title: 'My Zero Point', width: 1100, height: 800}); return false;">