CSS Style Switcher Using Javascript

posted May 1, 2008  

I won’t talk about this too much here because this tutorial already exists here.

I just thought I’d bring this way up first before I post the way that I would do it later on.

Basically, the method that the former mentions uses Javascript to create a dynamic page style changer by going through the HTML and finding the <link /> tag.

Initially, there needs to be more than one stylesheet mentioned in <link /> tags by using rel=”alternate” in the non-default stylesheets.Although I don’t like to rely on Javascript too much, this can add for a nice effect since this method doesn’t require the page to be refreshed.

The way that I will show you in a later post uses PHP instead of Javascript to change the stylesheet. My way, unfortunately requires a page refresh.

That’s all for today.

filed under: layouts

tags: , ,


How to create a digg.com like popup effect

posted April 22, 2008  

Today I’ll show you how to make that digg popup effect when you want to watch a video. If you don’t know what I’m talking about, you’ll find out soon enough.
more →



Creating drop down menus using Javascript and CSS

posted April 19, 2008  

If you want to have a drop down menu that animates as it is revealed, one of the best ways to do it is to use Javascript/AJAX or Flash, but we’ll only talk about the Javascript.
more →

filed under: menus

tags: , , ,


Turn cursor into hand over a div

posted April 9, 2008  

Have you ever wanted to have the pointer turn into a hand, like it does for links, when it goes over a certain div? I’ve had the need to do so a few times for Javascript dropdown menus. Of course you can include the Javascript function in <a></a> tags to get the same effect. But what if you want to execute the function during a onMouseOver event?

more →

filed under: general

tags: , , , , ,


tag cloud
Copyright © 2008-2009 csswoes.com • Bryan Duran • All Rights Reserved