- Posts: 3
- Thank you received: 0
How to add lightbox effect?
-
vilion
Inactive member - New Member
Less
More
12 years 7 months ago - 12 years 7 months ago #18660
by vilion
Replied by vilion on topic Re: How to add lightbox effect?
[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
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
Last edit: 12 years 7 months ago by vilion. Reason: add my default.php file
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #18682
by ivan.milic
Replied by ivan.milic on topic Re: How to add lightbox effect?
did you do:
You first need to have lighgbox reference added.
Please Log in to join the conversation.
-
vilion
Inactive member - New Member
Less
More
- Posts: 3
- Thank you received: 0
12 years 7 months ago #18683
by vilion
Replied by vilion on topic Re: How to add lightbox effect?
Could you please tell me where exactly I have to add that?
Thank you for your help.
d
Thank you for your help.
d
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
12 years 7 months ago #18688
by ivan.milic
Replied by ivan.milic on topic Re: How to add lightbox effect?
You can add it in head section of index.php of template, someware after jQuery reference
Please Log in to join the conversation.
Time to create page: 0.097 seconds