Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: hyperlinks

  1. #1
    New to the CF scene
    Join Date
    Jun 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    hyperlinks

    hey guys,

    How do i set a up hyperlinks in javascript, not just to a page but to a specific point within a page.

    Thanks folks..

    G

  • #2
    New Coder
    Join Date
    Jun 2002
    Posts
    47
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi

    the safer way is still to put an anchor just at the point you want to intercept, by html:

    <body bla bla...>

    here is my point <a name="foo"> bla bla</a> that's an anchor: a with a name, no source property

    then the javaScript instruction might be:

    location="#foo";

    note the #

    ciao
    Alberto http://www.unitedscripters.com/


  •  

    Posting Permissions

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