BipadTaranMahato / slideshow

Automatically exported from code.google.com/p/slideshow
0 stars 0 forks source link

Linking Multiple Pages #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm an intermediate level programmer and I'm trying to figure out your code
in order to add some functionality. I was wondering if you could point me
in the right direction. Is there any way to have each image in the slide
show link to a specific page....even if it were the name of the image but
instead of .jpg it would be .html or .php? I apreciate your time and this
is an awesome script!

Original issue reported on code.google.com by brian.mc...@gmail.com on 16 May 2008 at 5:18

GoogleCodeExporter commented 9 years ago
The data object accepts an 'href' parameter for each image: 

{ 'image.jpg': { 'caption': 'Its a picture', 'href': 'somepage.html' }} 

I believe there's more info in the wiki.

Original comment by aeron.gl...@gmail.com on 16 May 2008 at 6:17

GoogleCodeExporter commented 9 years ago
Thanks Aeron, I wasn't sure I should have tried that....I added the 'href' to 
the
whole slide show....here I was looking through the .js files trying to pass a 
new
variable and it was right in front of me. Awesome I apreciate your help so much!

Original comment by brian.mc...@gmail.com on 16 May 2008 at 8:53