SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Wizard tgavin's Avatar
    Join Date
    Feb 2003
    Location
    FL
    Posts
    1,051
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    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.

  2. #2
    SitePoint Guru
    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.

  3. #3
    SitePoint Wizard tgavin's Avatar
    Join Date
    Feb 2003
    Location
    FL
    Posts
    1,051
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mrhoo View Post
    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.
    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!

  4. #4
    SitePoint Wizard tgavin's Avatar
    Join Date
    Feb 2003
    Location
    FL
    Posts
    1,051
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bump


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •