Ozzu: A whiter shade of pale

  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 07, 2004
  • Posts: 2390
  • Loc: Edinburgh, Scotland
  • Status: Offline

Post March 30th, 2005, 12:24 am

I got bored last week and came up with this. I'm guessing General Forum is the right place for it, but if a mod thinks that it would be better placed elsewhere feel free to move it :D

Firefox users:
Copy the code in the box below exactly as it is. Open up your "Bookmarks" menu, and click on "Manage Bookmarks". Now add a new bookmark, pasting the copied text into the "Location" field of the "New Bookmark" dialog. Give it a name of your choice and then click on "OK". Now, browse to the Ozzu main page, open up your bookmarks and then click on the new bookmark you just added. You should now see the "whiter" side of Ozzu :D

Here's the code:
Code: [ Select ]
javascript:(function(){ var tds = document.getElementsByTagName('td'); for(i=0; i<document.links.length; i++) { var lx = document.links[i]; lx.onmouseover = function(){return;}; lx.onmouseout = function(){return;}; if(lx.className=='forumlink') { lx.style.color='#666'; lx.onmouseover=function(){this.style.color='#000';}; lx.onmouseout=function(){this.style.color='#666';}; } else { lx.style.color='#666'; lx.onmouseover=function(){this.style.color='#000';}; lx.onmouseout=function(){this.style.color='#666';}; } } var span = document.getElementsByTagName('span'); for(i=0; i<span.length; i++) { if(span[i].className=='gensmall' || span[i].className=='genmed' || span[i].className=='postdetails' || span[i].className=='cattitle' || span[i].className=='postbody') { span[i].style.color='#666'; } if(span[i].className=='nav' || span[i].className=='topictitle' || span[i].className=='name'){ span[i].style.color='#000'; } } for(i=0; i<tds.length; i++) { if(tds[i].className=='bodyline'){ tds[i].style.backgroundColor='#eee'; } if(tds[i].className=='row1' || tds[i].className=='row2' || tds[i].className=='row3' || tds[i].className=='row3Right'){ tds[i].style.backgroundColor='#fff'; tds[i].onmouseover = function(){return;}; tds[i].onmouseout = function(){return;}; } if(tds[i].className=='catLeft' || tds[i].className=='catHead' || tds[i].className=='catBottom'){ tds[i].style.backgroundColor='#ccc'; tds[i].style.color='#666'; } if(tds[i].className=='bgframe') { tds[i].style.backgroundColor='#ccc'; tds[i].style.backgroundImage=''; } if(tds[i].className=='gensmall' || tds[i].className=='postbody'){ tds[i].style.color='#000'; } if(tds[i].className=='spaceRow') { tds[i].style.color='#eee'; tds[i].style.backgroundImage=''; } if(tds[i].className=='quote' || tds[i].className=='code') { tds[i].style.backgroundColor='#999'; tds[i].style.color='#000'; tds[i].style.border='1px solid #000'; } } var textareas = document.getElementsByTagName('textarea'); for(i=0; i<textareas.length; i++) { if(textareas[i].className=='post') { textareas[i].style.backgroundColor='#999'; textareas[i].style.color='#000'; textareas[i].style.border='1px solid #000'; } } var inputs = document.getElementsByTagName('input'); for(i=0; i<inputs.length; i++) { if(inputs[i].className=='liteoption'){ inputs[i].style.backgroundColor='#999'; inputs[i].style.color='#000'; inputs[i].style.border='1px solid #000'; } } var sel = document.getElementsByTagName('select'); for(i=0; i<sel.length; i++) { sel[i].style.backgroundColor='#999'; sel[i].style.color='#000'; sel[i].style.border='1px solid #000'; } })()
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post March 30th, 2005, 12:24 am

  • Anonymous_coward
  • Student
  • Student
  • No Avatar
  • Joined: Aug 05, 2004
  • Posts: 68
  • Loc: A Cold Wet England
  • Status: Offline

Post March 30th, 2005, 1:08 am

Excellent it works on my machine under Firefox version 1.0 and it makes a nice change from Ozzu's gothic theme.

10 bonus points if you can make the theme stick when you change the page ;-) (I'm not sure if its possible though)...
  • jupiter
  • Proficient
  • Proficient
  • User avatar
  • Joined: May 21, 2004
  • Posts: 449
  • Loc: is my favourite word after subterfuge
  • Status: Offline

Post March 30th, 2005, 2:37 am

Like it.

A colour option in Ozzu would be good.
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 07, 2004
  • Posts: 2390
  • Loc: Edinburgh, Scotland
  • Status: Offline

Post March 30th, 2005, 2:49 am

I like the black theme. I just thought it would be interesting to see Ozzu in a lighter shade :)
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post March 30th, 2005, 2:51 am

Nice job on that one Katana. I can think of several dozen phpBB forums I'd like to apply variations of that to *lol
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • SB
  • Moderator
  • Genius
  • User avatar
  • Joined: Nov 16, 2004
  • Posts: 8677
  • Loc: Aberdeen, Scotland
  • Status: Offline

Post March 30th, 2005, 3:35 am

Darn, i dont have Firefox at the moment as i have a techincal problem. Should be sorted tomorrow or friday, so i am looking forward to see it Katana!

Best make that a pre-well done then! :wink:
  • Rabid Dog
  • Web Master
  • Web Master
  • User avatar
  • Joined: May 21, 2004
  • Posts: 3229
  • Loc: South Africa
  • Status: Offline

Post March 30th, 2005, 7:54 am

I enjoyed that one! Brilliant
Watch me grow
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 07, 2004
  • Posts: 2390
  • Loc: Edinburgh, Scotland
  • Status: Offline

Post March 30th, 2005, 8:19 am

Thanks guys :D
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk
  • musik
  • Legend
  • Super Moderator
  • User avatar
  • Joined: Aug 06, 2003
  • Posts: 6892
  • Loc: up a tree
  • Status: Offline

Post March 30th, 2005, 10:20 am

katana, you have a lot of time on your hands|!! :lol:
Opportunity To Do - Changing the lives of children around the world.
Rose.id.au - Doing Life.
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Joined: Dec 22, 2003
  • Posts: 1215
  • Status: Offline

Post March 30th, 2005, 1:53 pm

screen shot??

my comps going to be screw up for a while. and i would like to see it
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 07, 2004
  • Posts: 2390
  • Loc: Edinburgh, Scotland
  • Status: Offline

Post March 30th, 2005, 2:06 pm

http://www.darren-king.co.uk/ozzu/ozzu_white.jpg
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Joined: Dec 22, 2003
  • Posts: 1215
  • Status: Offline

Post March 30th, 2005, 2:28 pm

hehe thanks

hopefully im going to get my computer fixed soon
  • davidfunk
  • Novice
  • Novice
  • User avatar
  • Joined: Apr 04, 2005
  • Posts: 20
  • Loc: USA
  • Status: Offline

Post April 6th, 2005, 5:25 pm

hey thats pretty cool. Does it work with any other browsers? or is that a stupid question... :oops: ?
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Joined: Dec 22, 2003
  • Posts: 1215
  • Status: Offline

Post April 6th, 2005, 8:10 pm

2 things

got my comp fixed :-D

second is it supposed to stay or does it get removed
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Joined: Sep 07, 2004
  • Posts: 2390
  • Loc: Edinburgh, Scotland
  • Status: Offline

Post April 6th, 2005, 11:49 pm

It'll only work once, as you're basically just running a bit of javascript on the loaded page. Once you navigate to a different page, you'll have to run the script again.
Why do geeks get Halloween and Christmas confused?
Because 31 Oct == 25 Dec
www.darren-king.co.uk
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 6th, 2005, 11:49 pm

Post Information

  • Total Posts in this topic: 15 posts
  • Users browsing this forum: No registered users and 170 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.