Avatar

Expand-Image without JavaScript (Technics)

by Alex ⌂ @, Friday, March 23, 2007, 10:33 (4560 days ago) @ Alfie

Another point: the code does not validate yet.

For the W3C Validator it seems to be OK.

<meta http-equiv="Content-Script-Type" content="text/javascript" />


should be inserted in the <head> of template.html

OK, didn't know that.

(2) Use an anchor for an element which exists on every page, e.g.,

Hm, this is IMHO no help for users that have deactivated JavaScript. More appropriate would be linking to the entry. But actually in this case there's no alternative if JavaScript isn't available so we should consider displaying the preview link with document.write.

Alex


Complete thread:

 RSS Feed of thread

powered by my little forum