Ozzu: A whiter shade of pale

  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2391
  • Loc: Edinburgh, Scotland

Post 3+ Months Ago

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'; } })()
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • Anonymous_coward
  • Student
  • Student
  • Anonymous_coward
  • Posts: 68
  • Loc: A Cold Wet England

Post 3+ Months Ago

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
  • Posts: 449
  • Loc: is my favourite word after subterfuge

Post 3+ Months Ago

Like it.

A colour option in Ozzu would be good.
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2391
  • Loc: Edinburgh, Scotland

Post 3+ Months Ago

I like the black theme. I just thought it would be interesting to see Ozzu in a lighter shade :)
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Posts: 23456
  • Loc: Woodbridge VA

Post 3+ Months Ago

Nice job on that one Katana. I can think of several dozen phpBB forums I'd like to apply variations of that to *lol
  • SB
  • Moderator
  • Genius
  • User avatar
  • Posts: 8742
  • Loc: Aberdeen, Scotland

Post 3+ Months Ago

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
  • Posts: 3245
  • Loc: South Africa

Post 3+ Months Ago

I enjoyed that one! Brilliant
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2391
  • Loc: Edinburgh, Scotland

Post 3+ Months Ago

Thanks guys :D
  • musik
  • Legend
  • Super Moderator
  • User avatar
  • Posts: 6893
  • Loc: up a tree

Post 3+ Months Ago

katana, you have a lot of time on your hands|!! :lol:
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Posts: 1211

Post 3+ Months Ago

screen shot??

my comps going to be screw up for a while. and i would like to see it
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2391
  • Loc: Edinburgh, Scotland

Post 3+ Months Ago

http://www.darren-king.co.uk/ozzu/ozzu_white.jpg
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Posts: 1211

Post 3+ Months Ago

hehe thanks

hopefully im going to get my computer fixed soon
  • davidfunk
  • Novice
  • Novice
  • User avatar
  • Posts: 20
  • Loc: USA

Post 3+ Months Ago

hey thats pretty cool. Does it work with any other browsers? or is that a stupid question... :oops: ?
  • whatlikesit12345
  • Guru
  • Guru
  • User avatar
  • Posts: 1211

Post 3+ Months Ago

2 things

got my comp fixed :-D

second is it supposed to stay or does it get removed
  • katana
  • Mastermind
  • Mastermind
  • User avatar
  • Posts: 2391
  • Loc: Edinburgh, Scotland

Post 3+ Months Ago

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.

Post Information

  • Total Posts in this topic: 15 posts
  • Users browsing this forum: No registered users and 76 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
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.