I'm presuming I've completed this, because the code is working on all the current browsers...
James C. on the TEI list suggested that clicking again on a note anchor should hide the note that was shown; look at implementing that. Also, the code uses offsetTop to position the note; that's probably a bit too loose, so we need to implement the solution from the Devonshire project, using the findPos() function at the end of this file.
I've gradually evolved a policy for handling XHTML and its mime type. We've determined that there's no reliable way to get good results if you serve XHTML as application/xml+xhtml, so unfortunately the policy for the moment is to serve them as text/html using the xhtml11_compat serializer. See the following posts for more background:
I need to check that EMLS is doing that for all pages, and check that the search works OK on all supported browsers.
The link to the blog was pointing at the old location instead of the current blog URL.
The search page was failing to show results in Safari. Running a search would result in "DOM exception 7", which is "NO_MODIFICATION_ALLOWED_ERR", whenever I the JavaScript tried to set the innerHTML of an element.
This flummoxed me for ages, until I finally figured out that it's caused by the response header of the page. If the page is server as application/xhtml+xml then Safari presumably considers innerHTML inappropriate, since the page is not HTML. If the page is served as text/html, then it works. This is logical, if rather infuriating. For now, I've set the search page to serve as text/html using the xhtml11_compat serializer. I'll now go and investigate ways to use proper DOM methods rather than innerHTML, which is a non-standard hack in any case (although it's supported by all browsers).
Just posting minutes spent looking at what is completed, and discussing what should be done.
Karin's old stylesheet is still on the site, and is now available as an option in the browser View menu.
Implemented these changes requested by Ray:
:: Next Page >>
This is the blog for the project to create an online repository for the first four volumes of the online journal Early Modern Literary Studies.
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| << < | > >> | |||||
| 1 | 2 | 3 | 4 | |||
| 5 | 6 | 7 | 8 | 9 | 10 | 11 |
| 12 | 13 | 14 | 15 | 16 | 17 | 18 |
| 19 | 20 | 21 | 22 | 23 | 24 | 25 |
| 26 | 27 | 28 | 29 | 30 | 31 | |