Blog Wiidesign!
Instead of going for a complete overhaul, I tweaked my blog a bit. It’s similar, yet a little cleaner with the sidebar stuff down at the bottom.
The BIG news is, though, that I added Wii support to my blog. It’s quite useless, as I doubt tons of people will be surfing over to my website using their Wiis, but I figured, “Why not?”
If you want to make your website a little more Wii friendly, just drop the following in your document’s <head></head> area:
<script type="text/javascript">
window.onload = function() {
// Wii detection (for CSS tweaking)
if (navigator.platform == 'Nintendo Wii') {
document.body.className += ' ' + 'os-wii';
}
}
</script>
Then, you can go crazy in your stylesheets by adding body.os-wii {} and derivates, like body.os-wii #content { font-size: 18pt; width: 100%; } or body.os-wii #footer { font-size: 16pt; }
This is just my little belated Christmas gift to all you fellow webmonkeying Nintendo nerds. *smile*
(Oh, and feel free to use the above however you want…)
[...] Today I saw how document.body.className can be used to have browser-specific style definitions. I’m pretty sure there are other ways to arriving at the same result that I’m not familiar of. I do find the approach above to be a clean and simple one. [...]
im using my wii right now to surf your site!
am using my wii so thanks mate can u add my wii number i added urs mines is 5847 1263 7951 3468
you doubt people will surf. ha! well, it works. thank you for that.
Add me. Look at other forum. Can I plug iPod into Wii? Right now it’s in USB and nothing is happening.
Well done on making your site WII friendly.us I’m also using my WII to view and make this post!! Great work!
Has visited your site and has understood that to me up to such still far!!! It is beautifully issued, the convenient navigation, an interesting content!!! Good fellows!!! More often on you I shall look.Including by means of WII!
Just a short note to say I like your blog.
Good job and keep up the great work!
Kenneth