- Posts: 8
- Thank you received: 0
Lightbox not working......
-
xyamire
Inactive member - Topic Author
- New Member
Less
More
14 years 2 weeks ago - 14 years 1 week ago #4468
by xyamire
Lightbox not working...... was created by xyamire
Light box not working at all.....it just acts as image link...
I am just testing the template.....
I have one more question....After above problem is fixed......
can I use lightbox for images on the articles.......or can I use moo tools with that.....
That was after I upgraded to 1.5.22 default was 1.5.20 on hotstart and activated SEF URLs.
I am just testing the template.....
I have one more question....After above problem is fixed......
can I use lightbox for images on the articles.......or can I use moo tools with that.....
That was after I upgraded to 1.5.22 default was 1.5.20 on hotstart and activated SEF URLs.
Last edit: 14 years 1 week ago by xyamire.
Please Log in to join the conversation.
-
xyamire
Inactive member - Topic Author
- New Member
Less
More
- Posts: 8
- Thank you received: 0
14 years 2 weeks ago #4476
by xyamire
Replied by xyamire on topic Re: Lightbox not working......
I found the culprit plugin...that was share shop plugin which uses Jquery library....I supposed no conflict j query should have solved it.....I would really appriciate if you help me on that......
Please Log in to join the conversation.
-
ivan.milic
Support Staff - Moderator
Less
More
- Posts: 14116
- Thank you received: 1639
14 years 2 weeks ago #4489
by ivan.milic
Replied by ivan.milic on topic Re: Lightbox not working......
Regarding problem of litebox images act like simple links.
open file:
modules\mod_hot_lightbox\tmpl\Default.php
Arounl line 33 you will see something like this:
<script type="text/javascript">
jQuery(function() {
jQuery('#gallery a').lightBox();
jQuery('#gallery img').last().css('margin-right','0px');
});
</script>
chage that so it look like this:
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#gallery a').lightBox();
jQuery('#gallery img').last().css('margin-right','0px');
});
</script>
open file:
modules\mod_hot_lightbox\tmpl\Default.php
Arounl line 33 you will see something like this:
<script type="text/javascript">
jQuery(function() {
jQuery('#gallery a').lightBox();
jQuery('#gallery img').last().css('margin-right','0px');
});
</script>
chage that so it look like this:
<script type="text/javascript">
jQuery(document).ready(function(){
jQuery('#gallery a').lightBox();
jQuery('#gallery img').last().css('margin-right','0px');
});
</script>
Please Log in to join the conversation.
Time to create page: 0.149 seconds