Thus revealed, the creature buried its nose in the tire-tilled soil...
April 2, 2005
Scary-Crayon is back to normal!
Category: SC Updates … Technical Stuff

That it is, along with a new piece -- Dusty Plastic HELL: Hot Flash #36. Poor guy. 🙁

In other news, CSS and PHP are awesome! I've moved well past the "hey, this is useful!" phase and have entered the world of "holy shit, look what I can do!", in which one plays around with the code to achieve nifty results simply because one can. Take a look at the following mockups: print-css.php, dphell-css.php, and main3-css.php. Now I haven't replaced the articles to fit the appropriate pages or done anything with the bottom area yet -- that's the easy part -- but look at the header and the page titles. Pretty standard, right? But here's the kicker -- with the exception of one or two variables specified at the top of each document, these three files are exactly the same. They all call upon a header -- the same header -- that's filled with fun PHP that basically says, "If this variable equals 'Main' (thus marking it as the main page), print the 'What is... ???' text and don't hotlink the title graphic." And for each of the archive links, the PHP says, "If this variable equals 'Print' (and this is the Print link), don't output the link HTML." And since all of the linking and image rollover stuff is defined via the CSS, that results in the graphic text remaining highlighted. Even the document titles are controlled in this way! So I feel pretty accomplished right now -- PHP is pretty sweet stuff and though I'm doing relatively simple stuff (includes, if/else statements, etc.) I think I'm getting the hang of it. Expect me to be using more of it on SC in the near future. 😈

Hope you didn't find that to be too boring, minna-san! Ja!

-posted by Wes | 7:51 pm | Comments (1)
1 Comment »
  • Apocalypse Now says:

    Zz Z Z Z Z Z Z........Huh?? O, *&#$^%! Don't worry about it Wess , it has been a crazy week ,the people will be back as soon as thay wake up,

Leave a Reply...