3 ms·
For starters, instead of using integers all over the place, I would use a cleaned up version of the browser name (i.e. _description_1 becomes internet_explorer_
by jerhinesmith 17y ago
For starters, instead of using integers all over the place, I would use a cleaned up version of the browser name (i.e. _description_1 becomes internet_explorer_description, _installLink_1 becomes internet_explorer_download, etc.).
If they're using the IDs to do the randomization, that could be moved to class names that could easily be picked up by the javascript (instead of looking for _item_id_1 through _item_id_5, just pick up any div with a class of "first-tier" and randomize those).
Perhaps I'm being pedantic, but it seems like it would be easier to maintain (which for a single page site, might not really be an issue).
- altano 17y agoThat's it? That's your idea of the difference between "really ugly" HTML and good HTML? Kids these days... makes me feel so old.