VHost Support

Make your scene a clickable object

Available for Studio & SitePal

The Link attribute of a Scene can be modified by these API functions. These functions can be useful for changing the associated link according to dynamic information. For example: modify the URL to a language-specific web site depending on the origin of the user.

Note - Default link settings should be set in the Sitepal Admin tool: Event Trigger, URL, Target.
Note - In order to override an Auto-Link, the API functions must be called before the link is scheduled to open.


Change Link href:
SetLink('URL') - sets the link URL. 


Change Link Target:
SetTarget('TragetName') - sets the link target to any of the options available in the VHSS Editor link window. 

Restart
Set URL:
SetLink('http://www.cnn.com')

SetLink('http://www.sitepal.com')
Set Target:
SetTarget('bottomframe')


Back to Previous Page      

© Oddcast Inc. All rights reserved.   |   Terms of Use   |   Terms of Service   |   Privacy Policy