Archive

Posts Tagged ‘Documentation’

Magically managing menus

January 14th, 2009

Hey, so, I’m going to detail my method for making menus. I’ll try as well to explain the reasons behind the choices I make. If you have any questions, let me know and I’ll try to fabricate a plausible answer.

Two popular menu types are drop down menus, and your basic expanding lists. But good news, the HTML we use for both is the same! Why? Because they’re both menus! They may look different, but in essence they’re nothing but a nested list of links. And in my opinion, we should do our best to use HTML to describe the data we’re presenting.

One big bonus is that if we take out the CSS, the website still usable. We can also easily provide alternate stylesheets for things like mobile phones, and pages are easy to navigate from text-based browsers. Most importantly, the HTML is short, clear, and easily readable.

Which is why I’m going to use nested lists. The styling will be done with CSS, and some event handling with Javascript (I’ll use JQuery because it’s nice, but don’t feel tied to it).

I’ve prepared a page complete with code quotes and comments:

I was too lazy to style it. Also, the magic was a trick. There was no magic. I’m sorry.

Your friend,
Brad

Dev, Opinions, being helpful to people less experienced than myself in the ways of the world; mostly in the ways of the web actually , , , , , ,

Prawnager’s Nightmare

January 5th, 2009

I wrote the design document while ‘at sea’. So, ferries don’t sport scanners anymore. Guess I missed the newsletter.
E-mail from a cell phone eventually got the images ‘into’ the computer, which might be the reason the quality is low. Oh well, Shaun didn’t even submit a demo or design doc!
What a guy, he didn’t even complete the contest. Thoughts?(Either JavaScript is not active or you are using an old version of Adobe Flash Player. Please install the newest Flash Player.)

Dev , , , , ,