DMXzone Lightbox Support Product Page

This topic was archived

start of Dynamic Lightbox

Asked 01 Aug 2009 13:24:30
1
has this question
01 Aug 2009 13:24:30 tuteri marco posted:
I have a gallery of images in a database. I can start Lightbox with a link like in this page: www.2727.eu/admin/prova5.php

I would want that lightbox start automatically without click on the link.
how I can make?
Sorry for my english!
thanks

Replies

Replied 02 Aug 2009 18:06:15
02 Aug 2009 18:06:15 Patrick Julicher replied:
Hi Marco,

Could you try the following:

Give your link an ID. Just add id="AutoLink" to the code of your link.

Next, edit the body tag of your page so that is says:
<body onLoad="document.getElementById('AutoLink').click();">
Save the page and test it. On load of the page it should click the link and the lightbox should appear.

Kind regards, Patrick
Replied 23 Nov 2022 08:56:06
23 Nov 2022 08:56:06 nyt foodle replied:
I am really impressed with the topics you share, I will visit your posts more often. nytimes crossword

Reply to this topic