Archive Page 2 of 3



HTML, CSS, Javascript

I am currently attending ITT Tech and at the moment am enrolled in an HTML class. I’m about 5 weeks into the ten week course, and am learning a lot. Right now I know most of the basics and feel pretty confident that I could put together a small, fairly basic website. I know how to work with tables, apply fonts, add images, add styles, and work with CSS to a small extent.

CSS Challenge

We’re trying to get the style feature of K2 (Kubrick 2), a Wordpress theme, to work a certain way on the Healthy Bot blog. The tabs are behaving a little funky, and we’ll post the fix here - once we figure it out that is…

Javascript




I started messing around with some javascript today. Javascript is sort of like CSS in that they both customize the html skeleton to create different effects. Whereas, CSS largely deals with the visual portion of html (text color, font size, font style) Javascript makes actions in conjunction with html possible. For example, with Javascript you can create Popups, cause text to change with a click, or switch the url of a link by clicking a button.

A program called Canvascape is being developed that can design full rendered 3D environments written strictly with javascript. This could lead to detailed game engines being written with only javascript. The upside to using Javascript is its lightweight nature, with easy to write scripts and small files sizes.

URL Planning

In web design, URLs are often overlooked. I usually use virtual URLs, meaning that they don’t always correspond to a real file or path. I had been using forward slashes ( “/” ) in my virtual URLs, but I’m changing those to dashes ( “-” ). I think underscores are a bit extreme; the hyphen has a softer feel to it.

I do use underscores in actual resource file names though. It seems to be a trend I’m following to use hyphens in virtual urls, and underscores in real life, but that isn’t always true.

Oh and by the way, I do plan to continue using forward slashes, aka directory separators when necessary on real paths.

Lightbox Gone Wild




This is a great post:

http://particletree.com/features/lightbox-gone-wild/

I found it looking for a javascript form on the same page, aka modal window, aka lightbox form.

Thanks!

root, node, and tree

When using xpath you can direct the program to go to certain files with the back slash. A “//” means go to the root of the files and search one by one from there. It’s like sending someone the long way around because you don’t want them to get lost. A “/” a the beginning sends the program to the root node on the tree - kind of like a filesystem. This is a more specific means of routing the user where they want to be, and takes less time than the former option.