• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 256
  • Last Modified:

why can't I add anchor tags to this slideshow?

I have a slideshow that works well for my purposes, but if I try to make the pictures links, it shows the first picture over and over.

I will show you both instances, as this is a test site.

correct:
http://www [dot ]mostly desserts [dot ]com [slash ] new3

with link on first picture
http://www [dot ]mostly desserts [dot ]com [slash ] new3[ slash ] link.html
0
mel200
Asked:
mel200
  • 5
  • 3
1 Solution
 
nmarunCommented:
What is setting the link on the first picture? Check why it appends the /link.html to the correct link.

Arun
0
 
leakim971PluritechnicianCommented:
you want an answer or a hack?
0
 
mel200Author Commented:
@nmaarun- I don't understand the question, sorry! I see <a href="cakes.html"><img src="image1.jpg" border="0" alt="Slideshow Image 1" class="active" /></a>

@leakim971- Um, an answer I think. :)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
mel200Author Commented:
@leakim971 - I want something that will work crossbrowser, at least on the most popular 3 or 4.
0
 
leakim971PluritechnicianCommented:
because it play with a container

the script check how many images it can found in the container
in your first page, the container is the div class="slideshow", all the images can be found inside this div.
in the second page, the container is the anchor tag, there's only one image.
 
0
 
mel200Author Commented:
How can I make it work? Thanks.
0
 
leakim971PluritechnicianCommented:
replace :
<a href="cakes.html"><img src="image1.jpg" border="0" alt="Slideshow Image 1" class="" style="opacity: 1; "></a>
by :
<img src="image1.jpg" border="0" alt="Slideshow Image 1" class="" style="opacity: 1; " onclick="location.href='cakes.html';">
0
 
mel200Author Commented:
I like it!! Will try it tomorrow, I'm working for another client now. Thanks!!
0
 
mel200Author Commented:
that works, thanks!
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now