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 3 of 3

Thread: Noscript

  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Location
    Texas
    Posts
    472
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Noscript

    Is there any way I can not show something if a user doesn't have javascript enabled?

  • #2
    New Coder
    Join Date
    Dec 2004
    Location
    Crown Point, IN
    Posts
    67
    Thanks
    0
    Thanked 0 Times in 0 Posts
    there are no script tags

    PHP Code:
    <noscript>You dont have JavaScript enabled</noscript

  • #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,310
    Thanks
    203
    Thanked 2,563 Times in 2,541 Posts
    <noscript> is a meta tag.

    The best way is to make another (alternative) page and link to it with the <noscript>

    <noscript><meta http-equiv="refresh" content="0;url=index2.html;" /></noscript>

    If javaScript is not enabled then the user is immediately transferred to
    index2.html


  •  

    Posting Permissions

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