Visit SlideShowPro.net  Community Forums
SlideShowPro Support Wiki
  
Using without Director

Creating hyperlinks

The SlideShowPro Player allows you to attach hyperlinks to your slideshow content so that when the "action" area of the Content Area is clicked, any URL, a mailto link, Javascript, or whatever you'd like to assign is requested. Here's how to assign hyperlinks.

Step one: Edit the XML document

Open your XML document and add link attributes to each img element containing the URLs you wish to assign, like so:

<img src="tree.jpg" link="http://slideshowpro.net" />

When content is clicked, link will be loaded in a new browser window. If you’d like to load your links in the current browser window, or in specific frame, add a target attribute:

<img src="tree.jpg" link="http://slideshowpro.net" target="_self" />

You can also use JavaScript for hyperlinks. For example, this creates a pop-up window:

<img src="tree.jpg" 
 link="javascript:NewWindow=window.open('
      http://www.trees.com/',
      'myWindow',
      'width=300,height=300'
 );
 NewWindow.focus(); void(0);" />

Step two: Enable hyperlinks

The "action" zone in the Content Area is what is clicked to spawn the hyperlink. You can either keep the default setting of Content Area Interactivity which renders the action zone in the middle, or switch it to "Action Area Only" to make the entire surface area of your slideshow content clickable.

Once you decide how large your action area will be, check to make sure that Content Area Action is set to "Hyperlink". This will instruct the player to look for hyperlinks.

Step three: Publish or Load

Publish a new slideshow or refresh your browser, then click on your slideshow content. Your links should now work!

Page last modified by tdominey on December 01, 2010, at 01:43 AM
© 2011 SlideShowPro. All Rights Reserved.