By thrash632 on
Hi, I have a Drupal website that displays content in an iframe. From one of the pages, shadowbox launches images. The only problem is that Shadowbox is confined within the iframe. Is there a way to launch Shadowbox from inside an iframe and have it display OUTSIDE the iframe (ie: the parent page)?
I tried looking at the javascript file for shadowbox but it's just a run on sentence of code and I'm not very familiar with javascript.
I have a job interview tomorrow and need to get this working before then. Please help! X-l
Comments
I suspect it would be a
I suspect it would be a challenge (may not even be possible). Shadowbox adds html to it's parent document to construct the frame. In this case the iframe is the parent. I also suspects shadowbox positions itself inside the parent.
what if instead of using
what if instead of using 'parent', I used '_top'? It should work, I just have no idea how to go about implementing it.