Enhancement
Linking to statements
Issue description
Identify the statements on subject pages and allow linking to it. Make sure the user recognized which statement is meant when opening the link, best without JavaScript. The user must be able to learn about the link to the statement.
Developer comments
Any statement has now an id: the first letter (always lower case) identifies the type of statement (a = assoication, o = occurrence). The rest of the id is the actual system id of the statement (a number).
It is possible to link to pages and on access of such a link the statement is highlighted. I was not able to do it without JavaScript. And it does not work on repeated access. Because the page onload event is not triggered when clicking on a link within the document.
With the help of an onclick handler the mark is moved when clicking on a statement link.
|
Work sessions3
Start |
2009-07-28T09:30:28
|
End |
2009-07-28T10:23:02
|
Participant |
Robert Cerny
|
Summary |
I implemented that all statements receive an id in the HTML page.
|
Start |
2009-07-28T13:05:03
|
End |
2009-07-28T14:50:33
|
Participant |
Robert Cerny
|
Summary |
Some painfull hacking involing DOM, Browser, and JavaScript.
|
Start |
2009-07-30T21:29:48
|
End |
2009-07-30T21:51:39
|
Participant |
Robert Cerny
|
Summary |
It was easy.
|
|
We are sorry
This page cannot be displayed in your browser. Use Firefox, Opera, Safari, or Chrome instead.