DMXzone Lightbox Support Product Page


Opening a Lightbox on page load

Asked 17 Feb 2014 18:57:36
has this question
17 Feb 2014 18:57:36 Gerald Deloff posted:
Hi, I tried doing this from the answered question on another topic in this forum ( I made my code similar to the sample code, but it just doesn't work. I have all the DMX includes uploaded because a normal link with Lightbox works fine. Here is my test page and code if you have any suggestions. Thanks.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">  
<html xmlns="">  
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Untitled Document</title>
<!--[if IE]><script type="text/javascript" src="dmx/lib/excanvas-compressed.js"></script><![endif]-->
<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>
<script type="text/javascript">
function openDMXzoneLightbox(arg, options, context) {//v1.2
		context = context || window, options = options || {};
		if (context.DMX && context.DMX.Lightbox) { || "", arg, options);
      document.MM_returnValue = false;
<body onLoad="openDMXzoneLightbox('allin.php', {}, window);return document.MM_returnValue">



Replied 21 Feb 2014 14:56:21
21 Feb 2014 14:56:21 Teodor Kuduschiev replied:
Hello Gerald,
Can you please change the Content Type settings to: URL instead of auto?
Replied 21 Feb 2014 16:25:48
21 Feb 2014 16:25:48 Gerald Deloff replied:
Hi Teodor, I'm not sure where you want me to do this?
I have the test link back up
Replied 21 Feb 2014 16:27:13
21 Feb 2014 16:27:13 Teodor Kuduschiev replied:
In the UI of the ligthbox, where you select which page to load.
Replied 21 Feb 2014 16:32:21
21 Feb 2014 16:32:21 Gerald Deloff replied:
That worked, thanks!

Reply to this topic