Links won't open in lightbox / Iframe

Permalink
Hi,

i'm working onhttp://grafomancommunication.be/programme/calendrier-2016...
When you click on "Belgique / Pays Bas" the pages don't open in a lightbox...

I can't see an error?

What is going wrong?

Thanks.
Grafoman

 
Steevb replied on at Permalink Reply
Steevb
Try putting your script inside the 'body' tag, just before the closing 'body' tag, not between 'head' and 'body'.

View your page source to see error.
grafoman replied on at Permalink Reply
I'm not using any particular script. I'm just using a link behind text in a content block, you can choose to open that link as a webpage in a lightbox.
Gondwana replied on at Permalink Reply
Gondwana
I'm with Steevb. The function '$(document).ready(function ()...' is in no-man's land.
Steevb replied on at Permalink Reply
Steevb
The script is giving a different bg image on nav hover, plus for some reason, you're missing the lightbox script in you footer?
grafoman replied on at Permalink Reply
I moved my custom javascript code to the footer_bottom.php page, just above the closing body tag. No result. I have no idea what went wrong.
Steevb replied on at Permalink Reply
Steevb
As I mentioned above, the lightbox script is not in your footer. Try removing and re-applying links to see if it helps.

Also see if the lightbox.js file is the updates folder.
MrKDilkington replied on at Permalink Reply
MrKDilkington
Hi grafoman,

Your link opens as a lightbox, but the page that it opens is 404 Not Found.
grafoman replied on at Permalink Reply
Hi,

Sorry for the late answer.
Jordi helped me with this one.

I managed to quickfix this by adding a regular content block with a link that opens in a lightbox to load the script. I then hid this block in css (display : none).

That solved the problem.

Thanks all!

Grafoman