How to add lightbox effect?

More
12 years 7 months ago - 12 years 7 months ago #18660 by vilion
[attachment:1]default.php[/attachment]
Hi,

could you please help me. I've added the code you said that had to be changed and now I get images to open but not in lightbox.

I also added the script:

<script type="text/javascript">
jQuery(document).ready(function(){
jQuery(function() {
if(jQuery('.hotcarousel UL LI a')[0])
jQuery('.hotcarousel UL LI a').lightBox();
});
});
</script>

but it doesen't do anything. It is the same with or without it. Images open but not in lightbox.

Is there anything else i have to change or add so that the images open in lightbox?

I'm testing it on wamp, is it possible that that is the problem.

Thank you for your help and time.

Drazen
Attachments:
Last edit: 12 years 7 months ago by vilion. Reason: add my default.php file

Please Log in to join the conversation.

More
12 years 7 months ago #18682 by ivan.milic
did you do:

You first need to have lighgbox reference added.

Please Log in to join the conversation.

More
12 years 7 months ago #18683 by vilion
Could you please tell me where exactly I have to add that?

Thank you for your help.

d

Please Log in to join the conversation.

More
12 years 7 months ago #18688 by ivan.milic
You can add it in head section of index.php of template, someware after jQuery reference

Please Log in to join the conversation.

More
12 years 7 months ago #18693 by vilion
ok, thx.

d

Please Log in to join the conversation.

Time to create page: 0.097 seconds
Powered by Kunena Forum