subeffect — 2011-05-16T18:34:58-04:00 — #1
I usually layout my sites with divs for title, menu, content (all in a wrapper div) so I can have site-wide structure, css menus, style, graphics etc.
Standard css stuff basically.
I'm just re-jigging things and something occurred to me, and this may be obvious to some of you but I'd never thought about it before.
That way the only thing that's in the html are declarations to scripts and the actual content text and image tags. I realise this is one step away from scripting the whole thing including content (but I don't want to have content brought in from a database just yet) and I was wondering how widespread this practice is.
paul_wilkins — 2011-05-16T19:58:39-04:00 — #2
A number of reasons not to are:
- people who have deliberately disabled scripting for security reasons
- people who work where scripting is disabled due to work-place policy
- people who are disabled and are using technology that doesn't support scripting
- low-tech cell phones with internet support but no scripting
- search engines also ignore scripting too
In all of those cases, you end up finding that scripted content might as well not exist.
subeffect — 2011-05-17T16:59:34-04:00 — #3
paul_wilkins — 2011-05-17T17:33:21-04:00 — #4
uglyeoin — 2011-05-31T16:59:22-04:00 — #5
Like air con. You need to make a car first, air con is an added extra, but some people like it.