Hi,
Would it be possible to improve the "user clicks on footnote"
workflow by using JavaScript? Currently it goes something like this:
1) User clicks on a footnote in some text, like the [1] in "Wikipedia
is great.[1]"
2) The view suddenly jumps down to the bottom of the page.
3) User attempts to remember the number of the footnote they clicked
on, and locate the corresponding number in the list. In some cases,
this footnote will be at the very top of the current viewing window.
Text looks like "1. ^
http://www.someurl.com"
4) User clicks on a web link, if applicable.
How about:
1) User clicks on a footnote in some text, like [1]
2) The footnote expands in place to contain the full text of the
footnote: [1 -
http://www.someurl.com]
3) User can click on the web link, if applicable
4) Clicking on the [1 -, or the trailing ] (hopefully in a different
colour from the contents of the footnote) collapses it again.
Is this desirable and possible?
Steve
The Vietnamese Wikipedia currently uses the following CSS code to make
it a little easier:
/* Highlight focused footnotes and references */
sup.reference:target, ol.references li:target {
background-color: #ffffcc;
}
sup.reference:target {
font-weight: bold;
}
I don't think it works in IE (including IE7), but it works just fine in
Mozilla-based browsers and Safari, and it's incredibly simple.
--
Minh Nguyen <mxn(a)zoomtown.com>
[[en:User:Mxn]] [[vi:User:Mxn]] [[m:User:Mxn]]
AIM: trycom2000; Jabber: mxn(a)myjabber.net; Blog: