Dipping my toe into the water of progressive enhancement...
Wow. I have been a bit too tied up with other things to look at this thread properly earlier. I am very seriously impressed. So far, my main use for javascript has been for alerts for form input errors. I'm going to have to look again.
Thanks. I just updated it to support HTML notes, rather than just plain text.
I've also been playing around with using DOM methods to turn nested <ul>s into a collapsible tree view that's usable with both the mouse and the keyboard. You can see an example on this page: http://www.nmm.ac.uk/collections/explore/index.cfm/category/oilpaintings
I've also been playing around with using DOM methods to turn nested <ul>s into a collapsible tree view that's usable with both the mouse and the keyboard. You can see an example on this page: http://www.nmm.ac.uk/collections/explore/index.cfm/category/oilpaintings
| Quote: |
| I just updated it to support HTML notes |
hense the innerHTML thread?
| Phil Teare wrote: | ||
hense the innerHTML thread? |
Yep.
Here's a test with a button that lets you see the notes on an annotated picture. You should be able to tab through the notes with the tab key, too.
http://www.nmm.ac.uk/collections/exhibitions/exhibit.cfm/category/90465/exhibit/1/?ID=BHC1899¬eMarkers=1


