Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other Using Javascript to link to pages instead of href

  • This topic is empty.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #150905
    georgearnall
    Participant

    Hi there!

    Someone I know is using the following code:

    <nav>
      <a>projects</a>
      <a>home</a>
      <a>contact</a>
    </nav>
    

    and then using javascript to direct the page.

    To me this seems really weird and not at all right.

    Thoughts ?

    #150906
    Paulie_D
    Member

    Agreed….and, I think, it won’t pass validation.

    #150915
    Senff
    Participant

    Great for SEO!

    #150920
    Paulie_D
    Member

    Even better if javascript is turned off!

    #150952
    TheDoc
    Member

    @Melindrea – I think he was being sarcastic ;)

    #151026
    Senff
    Participant

    Of course I was being sarcastic…. :)

Viewing 6 posts - 1 through 6 (of 6 total)
  • The forum ‘Other’ is closed to new topics and replies.