Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Inc_header.asp Menu swapping
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 23 March 2004 :  09:48:57  Show Profile  Visit PeeWee.Inc's Homepage
In my inc_header.asp (inc_header2.asp also) i have added my own HTML menu. That was easy, no real trouble.

Now, what i want to do is, swap said menu depending on the page thats loaded.

I could hard-code the menu's into each page, but i need them to be shown in the inc_header.asp (inc_header2.asp) part of the page.

I didnt have a clue what to search for, so i didnt. I thought it would be safer to ask first.

De Priofundus Calmo Ad Te Damine

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 23 March 2004 :  12:02:16  Show Profile
Have a look at the sForumNavigation function in inc_header.asp; you could just wrap a conditional around each item (or the whole thing, if you want).

Pseudo code
select case [page name]
 case "default.asp"
  [show default menu]
 case "forum.asp"
  [show forum menu]
.
.
.
end select


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.57 seconds. Powered By: Snitz Forums 2000 Version 3.4.07