Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
03-04-2013, 08:25 PM #1
- Join Date
- Mar 2013
- Thanked 0 Times in 0 Posts
Jquery lightbox2 recognising text in a new div as link to open up lightbox image?
If you go to my new website matthewtitley.com (its just one long page), and scroll down to the 'About' box, you will see that the text is clickable and when clicked it opens up the lightbox image from the gallery above it. As i'm, ahem, not great at coding, could one of you great guys or gals help me out. What causes this? And how can i stop it?
I apologize if you cannot see js or css files as most are linked to the html page...let me know if u cannot see them and i can add them to this question. Thx.
03-05-2013, 12:01 AM #2
- Join Date
- Jun 2009
- Thanked 19 Times in 19 Posts
Your hierarchy indicates that you have a linkabove the div which contains the text, naturally that turns the entire div into a link. You need to remove it..PHP Code:
<a href="images/lightboximages/toolshop-978px.jpg" rel="lightbox" title="Personal project to create a unique one colour flyer for a London toolshop">