Article View: alt.multimedia.toolbook
Article #6Q. using variables to navigate pages
From: Trevor Wood
Date: Sun, 26 Oct 1997 00:00
Date: Sun, 26 Oct 1997 00:00
33 lines
1558 bytes
1558 bytes
I want to be able to use variables to navigate around pages within Toolbook. Basically, on each page I need 3 hotspots, one to move forward, one to move left and one to move right - obviously each going to new pages. I'd like to be able to put the hotspots on the background and attach scripts to each one and use the enterPage function to set up variables to indicate where to go from each hotspot so that I only need 3 scripts (1 on each hotspot) and an enterPage script for each page. I've got the navigation working by putting the hotspots on the page, but this means that I have to put the scripts on all the pages. I want the enterPge to look something like this to handle enterPage forward = "page2" left = "page3" right = "page4" end enterPage and the scripts on the hotspots to look something like this on buttonClick go to page forward (or left or right) end buttonClick Can I do what I want to do, and if so how? I hope I've made myself clear. Trevor Wood trevor@rds-ltd.co.uk http://www.rds-ltd.co.uk
Technical Details
Message-ID:
<34522d6a.6607430@news.webleicester.co.uk>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f92b3,1dffa7dfb57c3625,start X-Google-Attributes: gidf92b3,public X-Google-Thread: 10c760,1dffa7dfb57c3625,start X-Google-Attributes: gid10c760,public From: trevor@webleicester.co.uk (Trevor Wood) Subject: Q. using variables to navigate pages Date: 1997/10/26 Message-ID: <34522d6a.6607430@news.webleicester.co.uk> X-Deja-AN: 285030400 Reply-To: trevor@webleicester.co.uk Newsgroups: alt.multimedia.toolbook,bit.listserv.toolb-l