Search Form and Social Buttons

HotThemes Logo and Top Menu

To request a forum account, please login here and open support ticket. Only customers with active order(s) can open forum account!

× Discussion about Hot Lightbox Joomla module.

Topic-icon Link directly to Lightbox

More
5 years 1 week ago #15021 by Variado
Hi,

I just bought HOT Lightbox and i like to know if it is possible to go right to the lightbox. So is it possible to make a button > and when you press on it the lightbox will popup, without clicking on a thumbnail?

Thanks

Albert

Please Log in to join the conversation.

More
5 years 1 week ago #15027 by ivan.milic
You can simulate click on image when you do button click


jQuery('<button jquery selector>').click(function(){
jQuery('<thumb jquery selector>').click();
});

Please Log in to join the conversation.

More
5 years 1 week ago #15044 by Variado
Hi Ivan,

Thanks for the quick answer.

Where do i place the code you send me?

My wish is: When i place a text in an article like *Click here* the

lightbox should pop-up instead of the page with thumbnails.

Thanks,

Please Log in to join the conversation.

More
5 years 1 week ago #15056 by ivan.milic
That is example code you need to modify it . <button jquery selector> and <thumb jquery selector> should be replaced with real selectors.

You can put it in <body> of index.php of template before </body> in script block, also you need to call it when document is ready:

...
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('<button jquery selector>').click(function(){
jQuery('<thumb jquery selector>').click();
});
});
</script>
</body>
....

Please Log in to join the conversation.

More
4 years 10 months ago #16890 by salih
hello

I need use auction factory compoment
directory img from store auction show up or from catgorey if can fix please contact me yahoo masseger panbr"yahooo.co.uk
HOT Lightbox - Joomla Lightbox Module

Please Log in to join the conversation.

More
4 years 10 months ago #16914 by ivan.milic
Send link so we can see

Please Log in to join the conversation.

Time to create page: 0.123 seconds

Links, Partners and Social Media