dcsimg
www.webdeveloper.com
Results 1 to 3 of 3

Thread: Disable link when javascript is off.

  1. #1
    Join Date
    Dec 2008
    Posts
    155

    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
    Posts
    1,554

  3. #3
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    21,424
    The other option would be to have JavaScript actually add the link, perhaps as an onload event?
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

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

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

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