Taisch's Ark of Fools Blog

In which I randomly babble, mostly about things I've watched or read. If I feel like it. Which means mostly Chinese movies/series (mostly in the wuxia genre) or Doctor Who related things.

Thursday, April 5, 2007

JavaScript, huh?

So, my web site is still pretty basic. Then, I realized I wanted to be able to show/hide a block of text. Say, quotes, or spoilers, or whatever. You'd think it would be something one could do with just a simple HTML tag, but nooo... it has to change what's shown on the page, and that requires some kind of scripting. Argh. Guess that means I'm going to try to learn some JavaScript.

Being too cheap and lazy to buy a book, I spent the day searching the web for some help.

This site, W3Schools Online Web Tutorials, was pretty good.

And after I read enough of that to guess how JavaScript worked, I found what I was originally looking for here. A nice simple way to toggle between showing and hiding a div, AND a helpful discussion afterwards about how to tweak it.

Whee.

Labels:

0 Comments:

Post a Comment

<< Home