DMXzone Lightbox Support Product Page
Answered
Lightbox problem with IE 7&8 script location [Partially Resolved]
Asked 31 Aug 2011 04:17:20
1
has this question
31 Aug 2011 04:17:20 Chuck Borrelli posted:
I have learned to deal with the pecularities of this lightbox and the finicky nature of the script calls... but this one has me truly stumped.I have the universal css navigation menu on the template, and want to use the lightbox on a generated grid on a page based on the template. HOWEVER
I cannot get it to work properly.
www.smoms.org/lldbgrid.php
If I place these lines in the header, right after the Title Nothing works in any browser
<link rel="stylesheet" type="text/css" href="dmx/widgets/Lightbox/styles/default/style.css" />
<script type="text/javascript" src="ScriptLibrary/jquery-latest.pack.js"></script>
<script type="text/javascript" src="dmx/dmx.core.js"></script>
<script type="text/javascript" src="dmx/widgets/Lightbox/dmx.lightbox.js"></script>
BUT if I place it in the body text BEFORE the lightbox URL's in the grid.. It works in everything BUT IE 7&8
I KNOW there is a duplicate call to jquery-latest.pack.js... but if I remove the second call (in the body) it won't work at all, in any browser. I cannot remove the first call, since it is a template, and will remove the call for all of the other pages.
Your expedient and helpful suggestions would be appreciated. I have gotten this thing to work in more intricate environments... this one is throwing me for a loop and causing many problems
Thank you in advance for your help
Edited by - Chuck Borrelli on 31 Aug 2011 06:06:00
Replies
Replied 31 Aug 2011 06:07:04
31 Aug 2011 06:07:04 Chuck Borrelli replied:
This is partially resolved... I forgot to inlcude
<!--[if IE]><script type="text/javascript" src="dmx/lib/excanvas-compressed.js"></script><![endif]-->
BUT... it still won't work if I place this in the header, and it only works with the "double call" to jquery.latest.... curious I know.
<!--[if IE]><script type="text/javascript" src="dmx/lib/excanvas-compressed.js"></script><![endif]-->
BUT... it still won't work if I place this in the header, and it only works with the "double call" to jquery.latest.... curious I know.
Replied 01 Sep 2011 10:28:13
01 Sep 2011 10:28:13 Miroslav Zografski replied:
Hello Chuck,
Please, create an editable region in the head tag where the scripts to be placed when you apply an extension on the page that is created from the template.
Please, create an editable region in the head tag where the scripts to be placed when you apply an extension on the page that is created from the template.