SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
-
Dec 7, 2006, 09:00 #1
accesskey & document.location.href
Is there any way to get 'accesskey' to work with document.location.href?
I'm using a set of functions as link generators and this is what I'm "stuck with" using.
-
Dec 7, 2006, 11:36 #2
- Join Date
- Apr 2006
- Posts
- 802
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
create a 'you are here <a> element' onload with the href= location.href
and accesskey= whatever. It will reload the page, if that is
what you are after.
-
Dec 7, 2006, 13:10 #3
I'm not sure that will work. When the link is clicked, the function is called. There are a number of links per page with these js functions (it's the site's navigation), so I don't think a 'you are here' breadcrumb will work. I want to have an accesskey link for each item in the navigation bar.
Thanks!
-
May 17, 2007, 16:08 #4
bump
Bookmarks