So, I took the resume update one step farther, and borrowed/mangled/rewrote
a few bits of JavaScript for my resume that make it possible to switch to
"printable" mode with a link and an updated stylesheet, and for certain
chunks of details to be expandable/collapsable. I eneded up settling on using
everywhere for it, because while using an
unoredered list would have been more semantically correct, I just couldn't
get it working the way I wanted to across multiple browsers, while this
solution both
validates and loads in
both
Firefox and
Internet Explorer.
(For the curious: what I was trying to do with unordered lists was have the
actual HTML itself be exceedingly simple: just a bit of
| <ul ...><li>...</li></ul>
|
with some
markup here and there as necessary. The idea was to
have a bit of JavaScript tweak
to change out the
URL for the expand/collapse graphic, and change the
attribute on an associated child list. Then I realized that, semantically,
using an unordered list wasn't quite right; what I wanted to really use was a
definition list (since what I'm displaying is really a title, and an associated
bit of text that I want to toggle the visibility of). A definition list doesn't
support bullets, which meant I'd need to add additional markup that didn't
really need to be there; so much for separation of style and content. At the
end of the day, I decided to just fall back to my original, working version,
rather than keep fighting with something that really didn't give me much more
over the original. Thus endeth Ed's foray, again, into stylesheets and markup.)
need to stick another