[Xerte] Controlling Nav buttons

Julian Tenney Julian.Tenney at nottingham.ac.uk
Fri Nov 20 16:29:47 GMT 2009


A penny drops...

 

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

 

The fog is slowly lifting.
So no code effect if it is not on the stage.
But if I mess with the underlying nodes I could pre-set it.   

________________________________

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

You'd be back to page one of the FW, with the interaction rebuilt, so it
would behave as it did the first time.

 

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

 

The script approach was the first I considered, but then I wondered what
happened if the user activated that script, then navigated away from
that FW.
Would the button be visible on return to the FW (because the interaction
would be rebuilt)?

________________________________

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

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> 

 

________________________________

Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign
up now.
<http://clk.atdmt.com/GBL/go/177141664/direct/01/%0D%0Ahttp:/clk.atdmt.c
om/GBL/go/177141664/direct/01/> 

 

________________________________

Hotmail: Trusted email with powerful SPAM protection. Sign up now.
<http://clk.atdmt.com/GBL/go/177141665/direct/01/> 

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


More information about the Xerte mailing list