[Xerte] Internal hyperlinks in Xerte Online Toolkit
Peter Snowball
southman at internode.on.net
Thu Apr 8 22:17:04 BST 2010
Hi Johnathan and Ron
Thanks for all your help
Just tried the following function with success in the simple two page
rlo - a mod of the button nav to page script i am using. Will now try on
page wizards etc.
Hyper link in text as advised
href="asfunction:_level0.engine.navToPage,yourpagetitle">Click here or some
other wording</a>
Function attached to an entry frame
isFunc = 1
name = navToPage
**********************
myPageName = args[0];
myPageXML = rootIcon.XMLElement.getChildByName(myPageName);
myPageIndex = myPageXML.index();
rootIcon.gotoPage(myPageIndex-1);
Regards
Peter
--
Peter Snowball
Dept Of Economic Development
Tasmania
More information about the Xerte
mailing list