Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Not sure how to say this but I'll try.

2»

Comments

  • Yeah. That'l teach me to half read discussions :) In that case, assuming its in the same file, you can use: Unless its in a different file or above where query is set, in which case you can use: <?php $query = $_SERVER['QUERY_STRING']; $query = explode(':',$query); ?> <body id="<?php echo $query[0]; ?>"> And then remove the definition of query lower down.
  • Didn't work... I tried $query[1] as well, didn't work. I tried $query... and that made it body id="Array"... which is wrong too...
  • Don't mean to be a pest, but does anyone got any ideas?
  • Was bored so I fiddled for a little bit with this. This is what I got http://hatethis.org/temp/tabs.txt Its nothing fancy, but it worked with the way you are calling pages.
  • Thank you kindly, that worked....
  • sorry Mr F. i read this with the intention of replying then had to shoot out to work and forgot about it. We really need that 'mark as unread' thing goin on.
  • It's ok. Thanks for your help. You guys are awesome.
  • I must be a right prick, but... Is there a way I can have Home to be TabOn when you first enter the page... the page loads as http://onemanshortproductions.com but it's the same as http://onemanshortproductions.com/?news I tried adding or "index.php" to the php statement for home but that keeps it on forever. I want it Home to be tabbed on when there is no ? and when it's on ?news. If this is not possible, just let me know
  • Just a guess, but give this a go...change: if($_SERVER['QUERY_STRING'] == 'news') to: if($_SERVER['QUERY_STRING'] == 'news' || !$_SERVER['QUERY_STRING'])
  • Yup, just tested that mini, worked for me.
  • works like a charm. Once again, thanks a lot guys!
  • Suggestion if I may, I noticed when you mouseover the text shifts slightly because the border is added. To keep it from doing that, add the same borders you have on mouseover just with the background color.
  • Yeah... suggestion taken. I was going to get to that but never did, lol. Any comments on the website, both design and coding? More suggestions? I'm probably going to remove the width restriction so it will scale better to content rather than content scaling to it.
This discussion has been closed.