Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
I\'m trying to create a new theme with \"tabs\" at the top, and i want the tabs to be automagically updated depending on what the user clicks and what page they are on. ie: [ home ] [ forums ] [ links ] if the user is in the forums, that tab would be set to \"selected\" and have a coloured background while home and links would not. Is there anything i can use to build a theme like this?
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
As you probably know, you can embed PHP in the site\'s header. So you could check what the current URL is ($PHP_SELF etc. may help) and emit different class names (or different pieces of HTML) for your links / tabs, depending on what the current URL is. If you need longer pieces of PHP code, you should put them in the theme\'s functions.php file. bye, Dirk

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
Thanks Dirk... I am using embeded PHP in the header for the menu, so that when a user logs in they will see preferences, and logout options... I\'m not all that familiar with PHP, so i guess i will be doing some research on $PHP_SELF and how to impliment it... Geek
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
Here\'s a screener of the new theme. Screener ~ 91KB (92,837 bytes)
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams

Status: offline

os

Forum User
Junior
Registered: 04/11/02
Posts: 27
Cool Big Grin

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
I need a name for it... my creativity is lacking... go to www.destr0yr.com(its only 60KBps upstream so be patient)
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams

Status: offline

samstone

Forum User
Full Member
Registered: 09/29/02
Posts: 820
angelic
How about Tabby? Sam

Status: offline

destr0yr

Forum User
Full Member
Registered: 07/06/02
Posts: 324
Quote by samstone: How about Tabby?
why \"Tabby\"?
-- destr0yr
"I love deadlines. I like the whooshing sound they make as they fly by." -- Douglas Adams