[Xerte] Controlling Nav buttons

Dave Burnett d_b_burnett at hotmail.com
Fri Nov 20 16:24:44 GMT 2009


Yes, that's what I was wondering.
If I give all Next buttons the same rs and then just code for if FW_page= 0 then set visible off.
They should not appear on the stage simultaneously.

I'm building up (hopefully) toward the dynamic button set.
:)


Subject: RE: [Xerte] Controlling Nav buttons
Date: Fri, 20 Nov 2009 16:17:08 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk



















You can use duplicates as longa s they aren’t on the stage
together, so in different apges, yes you can.

 

Here’s what I like to do:

 

Add the back and next buttons in the main entry frame. In the
scripts do

 

currentFW.nextPage() and currentFW.prevPage()

 

As you pass into various sub FWs, in their entry frames do
currentFW = whatever this FW is;

 

Then you have one set of controls that can navigate lots of FWs.

 

 





From:
xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett

Sent: Friday, November 20, 2009 4:10 PM

To: Xerte list

Subject: RE: [Xerte] Controlling Nav buttons





 

Thanks
Julian, I'll check out that handler for the implications.

If I give multiple RES items the same rs, does that set up a conflict, or will
they all be affected the same? 











Subject:
RE: [Xerte] Controlling Nav buttons

Date: Fri, 20 Nov 2009 15:40:25 +0000

From: Julian.Tenney at nottingham.ac.uk

To: xerte at lists.nottingham.ac.uk



In an onOpenPage event
handler?

 

Or even in the button
scripts…

 





From:
xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk]
On Behalf Of Dave Burnett

Sent: Friday, November 20, 2009 3:26 PM

To: Xerte list

Subject: [Xerte] Controlling Nav buttons





 



Now I have a handle on global navigation, on to local navigation.



I can see a few ways to do this, but is there a best practice for
hiding/showing Next and Previous buttons in a classic page turner setup?



Giving the buttons in question an rs value and using the Visible property looks
like the way to go, but where's the best place for the controlling code?



Cheers,



Dave 











Windows 7: It works the way you want. Learn
more.



 







Hotmail: Trusted email with powerful SPAM
protection. Sign up now.

 		 	   		  
_________________________________________________________________
Windows 7: I wanted simpler, now it's simpler. I'm a rock star.
http://www.microsoft.com/Windows/windows-7/default.aspx?h=myidea?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_myidea:112009
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091120/596ab56e/attachment.html


More information about the Xerte mailing list