clive73
05-04-2005, 10:14 AM
Hello all,
Hopefully I'll explain this properly (and put in the correct forum)!
I have a series of drop down boxes (not the <select> type) that can drill down 3 levels. As they all use the last level I've included them in a seperate file and used SSI on the main page to include this file.
All works ok and the lists are displayed correctly, however I'm unable to get the options passed into the file so the correct page is called.
An example is below. The main headings are in bold, then the options below would be selected, and then below them are the options (showing different years) contained in the other file.
Sport
football
hockey
Cars
ford
renault
Beer
bud
fosters
So should the user go through the route of sports-football-2000, then it would redirect to:
mypage.php?option1=sports&option2=football&option3=2000
If only the options contained in the same file are used then I can get it to work by hardcoding, however by including the other file it means the url would have to be put in dynamically. I have tried using a onMouseOver and altering the menu file to php and attempting to extract the info but it didn't pick it up.
Please help!
thanks,
Clive.
Hopefully I'll explain this properly (and put in the correct forum)!
I have a series of drop down boxes (not the <select> type) that can drill down 3 levels. As they all use the last level I've included them in a seperate file and used SSI on the main page to include this file.
All works ok and the lists are displayed correctly, however I'm unable to get the options passed into the file so the correct page is called.
An example is below. The main headings are in bold, then the options below would be selected, and then below them are the options (showing different years) contained in the other file.
Sport
football
hockey
Cars
ford
renault
Beer
bud
fosters
So should the user go through the route of sports-football-2000, then it would redirect to:
mypage.php?option1=sports&option2=football&option3=2000
If only the options contained in the same file are used then I can get it to work by hardcoding, however by including the other file it means the url would have to be put in dynamically. I have tried using a onMouseOver and altering the menu file to php and attempting to extract the info but it didn't pick it up.
Please help!
thanks,
Clive.