Shadowbox within a shadowbox

5 messages Options
Embed this post
Permalink
smappdooda

Shadowbox within a shadowbox

Reply Threaded More More options
Print post
Permalink
I have looked up and down this forum for an answer but found none. (Doesn't mean it's not here, but I have exhausted all of my thought of search terms)

Here is my issue: On the front page of the SB demo site, you can open up the exact same home page in it's own SB. Then you can open up images, video, etc in another SB on top of that. I have scoured the source code for anything tricky I might have missed and found zilch.

On the page I have, I open an html page/iframe in a SB and there is a link to a Youtube clip on that page. When I try to open the YT clip in it's own SB, it just opens in the same frame and stretches the video.

Would like to know what I am missing. Thanx.

(The page in question is here: http://smappdooda.com/vend.html click on button C3 for the "Foiled Again" page which is the one I am testing this out on.)
smappdooda

Re: Shadowbox within a shadowbox

Reply Threaded More More options
Print post
Permalink
After toying around and experimenting, I have discerned it must have something to do with the fact I am using an image map to access the iframe/html.

Beyond that I am still stuck.
Wizzud

Re: Shadowbox within a shadowbox

Reply Threaded More More options
Print post
Permalink
Check your paths to shadowbox.css and shadowbox.js on the xtra/foiled.html page.
Open that page directly into your browser, and try the movie. You will see that it does not activate Shadowbox, and Firebug will have reported an error saying that Shadowbox is not defined. Checking Firebug's Net tab shows that the shadowbox files have 404ed (not found) because you have not accounted for the fact that your current directory is now the /xtra directory, and the shadowbox folder is at ../shadowbox.
Combine literacy with curiosity and a whole world of information opens up to you
smappdooda

Re: Shadowbox within a shadowbox

Reply Threaded More More options
Print post
Permalink
(slaps forehead) I KNEW it was something obvious. I'm not familiar with the firebug thing. I will now change that fact. Thanx. (Wanders off whistling "If I only had a brain")
Drbarlovento

Re: Shadowbox within a shadowbox

Reply Threaded More More options
Print post
Permalink
In reply to this post by smappdooda
Hi, sorry if I meddle in this, but I have a problem with the shadowbox and youtube in my site: http://www.lopezlozano.es/clinica_dental/casos_clinicos.html, some versions of Internet Explorer open this page and give failure to open the image with the shadowbox. However, the official http://www.shadowbox-js.com view youtube videos perfectly. You can see my code and tell me what am I doing wrong? I do not have the license you should buy it for display in Internet Explorer? Get 2 weeks trying to resolve this, excuse me if my English is not very good .. greetings from Spain