DMXzone Lightbox Support Product Page
javascript to open lightbox
Asked 05 Jun 2013 12:58:03
1
has this question
05 Jun 2013 12:58:03 thomas strmiska posted:
hi!i put a button <button onClick="mapLink()">TEXT</button> and wrote a script:
<script type="text/javascript">
function mapLink()
{
window.open ("anfahrt3.html", rel="dmxLightbox", rev="{preset:'minimalistic', plugin:'url'}"
}
</script>
this opens the html in a blank site, but not in the lightbox window.
what do i have to write in other ways?
thanx
reg. s-
Replies
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.