27
02
2006
One of the web projects I’m working on uses a tabbed interface element which saves a lot of screen real estate. HTML-wise this is done by simply hiding all but one in a stack of divs depending on which “tab” you click. On the source side, you end up with a long file of nested divs. Since this project is a web app, the interface is composed of a number of other components like screen, titlebar, navigation, content, footer, etc. all created with specially styled and id’d divs. Much like working with the heavily nested tables in the old days, if you miss closing a div tag, the layout falls apart and tracking done the offending open div can be tricky.
Of course you could use an html comment to denote which div you’re closing, but I came up with something easier, very clear, and it appears to validate in Tidy with no ill effects in FireFox 1.5. I’m sure some “I only write valid XHTML” purists will correct me, but since I work for a captive audience behind the corporate firewall, I’m going to use it for now. The solution? Repeat the id attribute in the closing div tag so you know later which div it is actually closing.
For example….
<div id=”first”>
…some content…
…some more divs…
…some content…
</div id=”first”>
Guess you could jam attributes in any closing tag if you wanted to, like tables if you’re still nesting them.
Comments : 4 Comments »
Categories : Maximize!
24
02
2006
Here’s what I want next, a Sony Reader! Now people will just think I’m playing with my computer gadget, not reading a book. Maybe I’ll get a digital highlighter while I’m at it.
Sony Electronics Learning Center
You can sign up to be notified via email when it is shipping, later this year in the US.
Comments : 2 Comments »
Categories : Hotness
20
02
2006
I think everything should be painted like this:
3D Painted Rooms - 2Loop.com
Comments : 1 Comment »
Categories : Eye Candy
6
02
2006
My favorite interpretive set of best practices for IT is in the process of a refresh to Version 3 this year.
What’s really cool is they have released PDF versions of most of the “back catalog”. So in case you lost your copy of the Blue Book (Service Support), you can buy a new hardcopy and get the PDF version instantly. You have to activate your copy of Acrobat Reader, can only print once, and can’t copy/paste the content, but PDFs are searchable and fit nicely on my laptop.
OGC - IT Infrastructure Library (ITIL)
Buy ITIL Here
They have also published a slimmed down version for using ITIL pratices for Small-Scale Implementation and an official ITIL Introduction.
Comments : No Comments »
Categories : Books
4
02
2006
So I’ve been offline for a few days except quick checking of the email while my back heals from heavy lifting. Hi Bloglines, I missed you! With 212 feeds and 11,398 articles you must have missed me too. I know you have so much to tell me about, so much has been going on. But, I don’t really care today. I’m not sitting here for hours trying to catch up! Please shut up. I just want some quiet. You are so yappity yap with the talkity talk.
[Mark All Read]. Bloglines has a mute button!
FYI: If you’ve written the wittiest, funniest, coolest, sexiest, or first post since last Thursday I’m not ignoring you I just didn’t see it.
Comments : No Comments »
Categories : Spare Time