Variation of the Keyboard shortcut display for web pages by JasonBarnabe.
This version tries not to affect layout, so the letters ale displayed in simple bubble of fixed dimensions[2)] next to its elements [1)] and disappears while hovered/focused.
Test it here:
http://eldar.cz/myf/pub/firefox/accesskeys-test-area.html
Notes:
1) I've found, that for now (in FF2.0) it is not possible to add CSS-generated content after any INPUT (of any type), TEXTAREA , and image-map AREA. Possibly a bug or some conflict between form elements binding and rendering engine(?). [4)]
2) Dimensions absolutely relies on used font. This versions expects "Courier new" (present on Windows platform). Other fallback fonts may cause few pixels difference. Then you must tweak last three lines of the first ruleset containing font-size and margin-left. Use the testing ground linked above.
3) Not using "*" selector for 'better performance'. Naming all four remaining accesskey-ready elements explicitly.
4) I wrote a simple workaround userscrip
This version tries not to affect layout, so the letters ale displayed in simple bubble of fixed dimensions[2)] next to its elements [1)] and disappears while hovered/focused.
Test it here:
http://eldar.cz/myf/pub/firefox/accesskeys-test-area.html
Notes:
1) I've found, that for now (in FF2.0) it is not possible to add CSS-generated content after any INPUT (of any type), TEXTAREA , and image-map AREA. Possibly a bug or some conflict between form elements binding and rendering engine(?). [4)]
2) Dimensions absolutely relies on used font. This versions expects "Courier new" (present on Windows platform). Other fallback fonts may cause few pixels difference. Then you must tweak last three lines of the first ruleset containing font-size and margin-left. Use the testing ground linked above.
3) Not using "*" selector for 'better performance'. Naming all four remaining accesskey-ready elements explicitly.
4) I wrote a simple workaround userscrip
More Info
| Author | myf |
|---|---|
| Created | Apr 6, 2007 |
| Updated | May 10, 2008 |
| Installs (this week) | 0 |
| Installs (total) | 449 |
Display accesskeys, mostly harmless by myf is licensed under a Creative Commons Attribution 3.0 Unported License.
Feedback
Discussions
No discussions posted yet. Be the first to ask a question or review this style.
