Lightbox not working......

  • xyamire
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago - 13 years 2 months ago #4468 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.
Last edit: 13 years 2 months ago by xyamire.

Please Log in to join the conversation.

  • xyamire
    Inactive member
  • Topic Author
  • New Member
  • New Member
More
13 years 2 months ago #4476 by xyamire
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.

More
13 years 2 months ago #4489 by ivan.milic
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>

Please Log in to join the conversation.

Time to create page: 0.133 seconds
Powered by Kunena Forum