Results 1 to 3 of 3

Thread: Disable link when javascript is off.

  1. #1
    Join Date
    Dec 2008

    Disable link when javascript is off.

    How do i disable hyperlink/button if javascript is turn off? I have some pictures that are using lightbox and I want to disable the link if javascript is not on. I have seem it done to hide email/phone number before but not sure if it will be the same thing. thx

  2. #2
    Join Date
    Oct 2013

  3. #3
    Join Date
    Aug 2004
    The other option would be to have JavaScript actually add the link, perhaps as an onload event?
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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

Recent Articles