[pmwiki-users] Navigator vs Jump Box

christian.ridderstrom at gmail.com christian.ridderstrom at gmail.com
Wed Dec 20 08:11:08 CST 2006


On Wed, 20 Dec 2006, Kathryn Andersen wrote:

> On Tue, Dec 19, 2006 at 05:52:59PM -1000, Sivakatirswami wrote:
>> I got this working:
>>
>> [@
>> [[#navigator]]
>> (:if equal {=$FullName} {*$FullName}:)
>> (:input select name=n  selected=selected {=$FullName} "{=$Name}":)
>> (:if ! equal {=$FullName} {*$FullName}:)
>> (:input select name=n {=$FullName} "{=$Name}":)
>> [[#navigatorend]]
>> @]
>>
>> (:pagelist fmt=#navigator group={$Group}:)

> The jumpbox uses JavaScript, which is a disadvantage because not
> everyone has JavaScript turned on.  The advantage of the jumpbox is that
> all you do is change the selection and away it will go to the page.

I think it might be enough to do

 	(:input form ...:)
 	(:pagelist ...:)
 	(:input submit:)
 	(:input end:)

and it should without java script.   It should be possible to get the 
additional directives into the format #navigator with some if:s

cheers
/Christian

-- 
Christian Ridderström, +46-8-768 39 44               http://www.md.kth.se/~chr


More information about the pmwiki-users mailing list