mgrice
04-19-2003, 09:47 PM
Scenario:
User enters a Zip Code on the first screen. Based on that entry, the Navigation Menu they see/use throughout the site is different.
I have the Menuing routine worked out with separate Javascript/CSS values in 30 different menu data file.
I *thought* the syntax would look something like this:
If (String(Request.QueryString("sid")) = 12345){
<script language="JavaScript1.2" src="navmenu_alpha.js"></script>
}
If (String(Request.QueryString("sid")) = 23456){
<script language="JavaScript1.2" src="navmenu_baker.js"></script>
}
If (String(Request.QueryString("sid")) = 34567){
<script language="JavaScript1.2" src="navmenu_charlie.js"></script>
}
But I cannot get it to go. I have tried putting quotes around the zip code, but that was not it.
Is such a function possible? Am I close with this? Or do I need to look at another way?
Any help, hand-holding, tutorials, etc. would be greatly appreciated. I hope I have sufficiently described everything.
Thanks.
User enters a Zip Code on the first screen. Based on that entry, the Navigation Menu they see/use throughout the site is different.
I have the Menuing routine worked out with separate Javascript/CSS values in 30 different menu data file.
I *thought* the syntax would look something like this:
If (String(Request.QueryString("sid")) = 12345){
<script language="JavaScript1.2" src="navmenu_alpha.js"></script>
}
If (String(Request.QueryString("sid")) = 23456){
<script language="JavaScript1.2" src="navmenu_baker.js"></script>
}
If (String(Request.QueryString("sid")) = 34567){
<script language="JavaScript1.2" src="navmenu_charlie.js"></script>
}
But I cannot get it to go. I have tried putting quotes around the zip code, but that was not it.
Is such a function possible? Am I close with this? Or do I need to look at another way?
Any help, hand-holding, tutorials, etc. would be greatly appreciated. I hope I have sufficiently described everything.
Thanks.