PDA

View Full Version : Using Chained select Menu for Multiple Pages



gazza58
09-19-2015, 10:16 AM
Hello

Can anyone advise is it possible to use Xins Chained Menu on multiple pages but containing a different first selection Option.

The Menu In Question is as per the link below

http://www.dynamicdrive.com/dynamicindex1/chainedmenu/

The website is www.stroudskittles.co.uk

On one page I would like the Link to contain the League sections

On a Second Page I would Like to start with Team Selections

In addition will the Menu still work if I don't use all the options (i.e. have 5 selections but only use 4)

I would like to do this to reduce the number of options I have as I need to edit the scripts every season as teams are promoted or relegated

Any advice appreciated

Beverleyh
09-19-2015, 12:41 PM
is it possible to use Xins Chained Menu on multiple pages but containing a different first selection Option.

On one page I would like the Link to contain the League sections

On a Second Page I would Like to start with Team Selections

I might be missing something but wouldn't you just reference two different config.js files; one on each page.
And use a different body onload init() in each page?



will the Menu still work if I don't use all the options (i.e. have 5 selections but only use 4)
You can have as many options (list selections) as you want - it depends how you set it up in the markup and config.js.

Case in point - the example page shows 3 http://www.dynamicdrive.com/dynamicindex16/chainedselects/chainedselects.html