Adding links to images

Apr 30, 2008 at 1:22 AM
I am working on a project using Slide.Show as a foundation and I am trying to integrate some additional functions. One idea is if each slideshow image were clickable and clicking an image would link to a website and open in a new browser window. Ideally each image would have its own url assigned.

Does anyone know how to do this? Any help would be greatly appreciated!

Thanks!
May 13, 2008 at 11:30 AM
Edited May 13, 2008 at 11:32 AM
Here's How: http://blog.gadodia.net/customizing-vertigos-slideshow/

hinthoe wrote:
I am working on a project using Slide.Show as a foundation and I am trying to integrate some additional functions. One idea is if each slideshow image were clickable and clicking an image would link to a website and open in a new browser window. Ideally each image would have its own url assigned.

Does anyone know how to do this? Any help would be greatly appreciated!

Thanks!



Jul 11, 2008 at 3:48 AM

Thank you for this useful link.

Now I have amended each slideshow image to be clickable and link to a new window with an URL.

I try to add one more thing, after popup new window, the slideshow will be paused.

I added code in the function:

onMouseLeftButton: function(sender, e)
{
if (this.titleTextBlock.Tag) window.open(this.titleTextBlock.Tag,"_blank");
slideshow.pause(); <----- new line I added
}

however, it is not working.

I've also tried:
 SlideShowNavigation.pause();
 SlideShow.SlideShowNavigation.pause();

All failed.

Does anyone know the correct way to do it?

Many Thanks!


whoisvaibhav wrote:
Here's How: http://blog.gadodia.net/customizing-vertigos-slideshow/

hinthoe wrote:
I am working on a project using Slide.Show as a foundation and I am trying to integrate some additional functions. One idea is if each slideshow image were clickable and clicking an image would link to a website and open in a new browser window. Ideally each image would have its own url assigned.

Does anyone know how to do this? Any help would be greatly appreciated!

Thanks!






Oct 12, 2008 at 1:02 AM
To pause try:

SlideShow.extend.pause();

May 12, 2009 at 6:17 PM

http://blog.gadodia.net/customizing-vertigos-slideshow/

 

I followed all the information provided on that site. However, he suggests editing the slideshow.js file and look for SlideShow.SlideDescription class.

 

That class is located in the SlideDescription.js file and not in the slideshow.js file. When following the steps regardles in the slidedescription.js file, it doesn't work at all.

 

I was wondering if anyone could help me figure out what to do...