Go to URL on slide click

Nov 27, 2008 at 7:29 PM
Hello,

Has anyone extended the Slide.Show 2 control to launch a new window to a URL when a slide is clicked? Ideally with the URL specified in the data.xml for each slide?

If so, are you feeling generous? :)

Thanks!
Nov 27, 2008 at 7:35 PM
Solution: Hmm, this appears to have been added in Slide.Show 2! :)

Data.cs:

 

 

/// <summary>

 

 

/// Gets or sets the link.

 

 

/// </summary>

 

 

/// <value>The link.</value>

 

 

public Uri Link { get; set; }

 

Nov 30, 2008 at 5:08 PM
Edited Nov 30, 2008 at 5:09 PM
Yes, this is already included using the link attribute.  You can also set the transition (but not transition timing) for each slide using the transition attribute.
This changes the cursor to a hand when the user is over the slide and when you click, it opens up a new window going to the link address.
 
<slide title="Monterey Aquarium Exhibit — Jellies: Living Art"
    
description="Photo taken by Alan Le"
    
source="../Assets/Vertigo/s_07.jpg"   
    
thumbnail="../Assets/Vertigo/t_07.jpg"
    
link=http://vertigo.com/
    transition
="SlideUpTransition"/>
Feb 27, 2009 at 11:09 PM
Edited Feb 28, 2009 at 12:11 AM
Is there anyway to open the link in the same window?

edit:
Nevermind, figured it out.
Changed to "_self"
Apr 2, 2009 at 6:47 PM
rainmanjam ... how did you set "_self" in the data.xml file?