DMXzone Lightbox Support Product Page

javascript to open lightbox

Asked 05 Jun 2013 12:58:03
has this question
05 Jun 2013 12:58:03 thomas strmiska posted:
i put a button <button onClick="mapLink()">TEXT</button> and wrote a script:
<script type="text/javascript">
function mapLink()
{ ("anfahrt3.html", rel="dmxLightbox", rev="{preset:'minimalistic', plugin:'url'}";

this opens the html in a blank site, but not in the lightbox window.
what do i have to write in other ways?

reg. s-


Replied 05 Jun 2013 12:59:36
05 Jun 2013 12:59:36 Teodor Kuduschiev replied:
Unfortunately it is not possible to do this. You should call the lightobx using the Add Lightbox Link menu.

Reply to this topic