[Xerte] Controlling Nav buttons

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Nov 20 16:05:50 GMT 2009


So in your button script do this

//next button

 

If (fw.currentPage < fw.pageCount - 1){

  //navigate

} else {

  btnNext._visible = false;//or whatever

}

 

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:03 PM
To: Xerte list
Subject: RE: [Xerte] Controlling Nav buttons

 

Thanks Paul.  I may need to structure some of the stuff that way.

In this case I have regular pages of content hanging off an FW.
Trying to figure out the analogous way to set up an:
Active If: "PageCount(ID)>CurrentPage"
So if on page 1, the "Previous" button is not available, and same thing
on the last page attached to the FW.

I took a peek at the default interface, but the buttons seem to stay
active, they just don't navigate anywhere at the end of "travel".





________________________________

Subject: RE: [Xerte] Controlling Nav buttons
Date: Fri, 20 Nov 2009 07:46:11 -0800
From: Paul.Swanson at harlandfs.com
To: xerte at lists.nottingham.ac.uk

I use a Decision icon to hold content while on a page. I navigate
through the Decision icon pages until all of the content has been
displayed, then exit the Decision icon. I have my Next button
interaction following the Decision icon, so it isn't displayed until you
exit.

 

Paul

 

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 7:26 AM
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.
<http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::
T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2> 

 

________________________________

Bing brings you maps, menus, and reviews organized in one place. Try it
now.
<http://www.bing.com/search?q=restaurants&form=MFESRP&publ=WLHMTAG&crea=
TEXT_MFESRP_Local_MapsMenu_Resturants_1x1> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091120/054a276f/attachment.html


More information about the Xerte mailing list