🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.multimedia.toolbook
1 messages
1 total messages Started by Trevor Wood Sun, 26 Oct 1997 00:00
Q. using variables to navigate pages
#6
Author: Trevor Wood
Date: Sun, 26 Oct 1997 00:00
33 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads