We are using the sahadowbox script for our popup boxes on a site and it is working fine except for 1 case.

We have a link to pageB.php on pageA.php that has a rel="shadowbox" attribute in the a tag. If pageA is loaded and you click on the link to pageB.php it brings up pageB in the shadowbox and everything works fine.

If pageA.php is still loading and you click on the link to pageB then pageB loads in a full page not the shadowbox.

Has anyone seen this behavior?

Is there a way to prevent it without locking out the page until it is completely loaded?

Thanks for the help.