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 "Mobility" Joomla template.

Topic-icon LIghtbox Not Working

  • antares
  • antares's Avatar Topic Author
  • Visitor
  • Visitor
7 years 5 months ago #493 by antares
antares created the topic: LIghtbox Not Working
Hi,

I have turned on the Lightbox script option under the "Hot mobility" template. Looking at the generated source code it is including the following code;

<script type="text/javascript" src="/joomla/templates/hot_mobility/js/jquery.lightbox-0.5.min.js"></script>

The following code is for the image;

<span style="font-size: x-small;"><a href="/joomla/images/stories/i2g screencap.gif">
<p style="text-align: center;"><img src="/joomla/images/stories/i2g screencap.gif" width="500" alt="I2G Screenshot" style="vertical-align: middle;" /></p>
</a>

However, the link just opens to a normal image page; no Lightbox!

Here is page link...
www.antares.com.au/joomla/index.php/soft...-gis-camera-software

Any ideas?

peter King

Please Log in to join the conversation.

  • antares
  • antares's Avatar Topic Author
  • Visitor
  • Visitor
7 years 5 months ago #494 by antares
antares replied the topic: Re: LIghtbox Not Working
Hi,

Further to the above it is now working...i needed the id "gallery".

However, the path to the "close button" is wrong! The Jscript is creating a path that includes the entire path where the lightbox link image is located as follows;

"/joomla/index.php/software-products/templates/hot_mobility/images/lightbox-btn-close.gif"

the path should be "joomla/templates..." not "joomla/index.php/software-products/"
This stopes the Close button from displaying.

i don't want to change the js script in case I break it :)

Any ideas?

Please Log in to join the conversation.

More
7 years 5 months ago - 7 years 5 months ago #495 by milos
milos replied the topic: Re: LIghtbox Not Working
Hi,

Why don't you enable mod_rewrite for SEF urls? I think it will work after that. Anyway, you can open file /js/jquery.lightbox-0.5.min.js and there you will find 5 links to the icon images. One of them is:
templates/hot_mobility/images/lightbox-btn-close.gif

Change it to:
http://www.yoursite.com/templates/hot_mobility/images/lightbox-btn-close.gif
Last Edit: 7 years 5 months ago by milos.

Please Log in to join the conversation.

Time to create page: 0.126 seconds

Links, Partners and Social Media