Thursday, July 29, 2004

Sneaky semanticness (?!)

Neat separation of style (clickable images) from content (text links) from SimpleBits ... useful to know about IE's flickering issues when <a> tags are involved!

Monday, July 26, 2004

Simplifying DHTML design with good CSS

Stuff and Nonsense has a nice article using the DOM to simplify forms ... cool, but his JavaScript loops over form elements to set their display property to show/hide them (which everyone does, is simple to code/understand but is a tad inelegant!) Serendipitously (!) Sitepoint has a companion article that subtly uses CSS's descendant selectors (also known as contextual selectors e.g. in the W3C CSS 1 spec)so that all the JavaScript needs to do is change one class ... the form takes a "hide the optional bits" class which does nothing to it ;-) but the optional elements disappear due to a rule with a descendant selector rooted in the form's "hide optional" class ... excellent synergy! Using classes is such a better idea than manipulating element's style properties directly as -- ta da! -- it can be soooo easily adapted for media stylesheets, starting with print and moving on to anything! Nice one...

Tuesday, July 20, 2004

Great revolutionary Scott!

I and my colleagues do live in interesting times ... The Vice Chancellor (read: leader of the University) has decided to restructure. At the same time has commissioned a review of computing teaching in the Uni. There are 4 'units' doing it: us "Scientific Computing" and "Media Technology" in the Faculty of Science, "CIS" in the Faculty of Technology and "Business I.T." in the Faculty of Business. So we hire a no-doubt expensive external consultant to consider the situation. In my group's meeting he mentions how difficult it is to find out where a particular IT-related course will be taught (e.g. not evident from our web site!) so we can see where the wind's blowing ... And then, lo! and behold!, after a period of FUD where all sorts of radical restructuring proposals are rumoured, we learn that the University executive group has settled on the not-so-radical merging of "Scientific Computing" and "CIS" into a new Faculty, leaving "Media Tech." behind and "BIT" as it is! Not so radical and still leaves the computing fragmented ... what a pointless waste of everybody's time! (Oh, there are some other proposed changes, but the gossip says they're waiting on agreements with other organisations) And in case you're wondering about the title: The V-C's name is Professor Scott... Changes to be in place by 1st July 2005?!