Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorvarland
    • CommentTimeJun 27th 2007
     permalink

    I'm working on a new site, and I'm hoping to use some javascript to enhance the site. Like a good developer, though, everything is degradable. Knowing that, how would you all feel about using a <noscript> block to give the user a positive message like, "By the way, there are numerous benefits to browsing this site with javascript enabled."?

    I've seen the negative messages like, "You must enable javascript to use this site.", and I'm not thinking about doing anything like that. I'm just thinking about a simple message letting them know that they'll have a better experience with javascript enabled.

    • CommentAuthorL3ggy
    • CommentTimeJun 27th 2007
     permalink
    Isn't it not xHtml valid? When i used it it wasn't. I think its ok to use it but you should make your site javascript & non-javascript.
    • CommentAuthorvarland
    • CommentTimeJun 27th 2007
     permalink

    The site works fine without javascript. Better than fine if you ask me... But, I'm using a few things like smooth scrolling and enhanced titles that add to the site if javascript is enabled. There's no inline javascript and nothing that's required. I don't know if the <noscript> tag is valid under XHTML, and I don't know that I really care that much because I can achieve a similar effect with or without that tag (if it's not valid, I'll create a div that's removed from the DOM by javascript as soon as the page is loaded).

    •  
      CommentAuthormringlein
    • CommentTimeJun 28th 2007
     permalink
    I think the
  1.  permalink
    Nice and Subtle mringlein
    • CommentAuthorvarland
    • CommentTimeJun 29th 2007 edited
     permalink

    Nevermind. I removed the original.

    •  
      CommentAuthormringlein
    • CommentTimeJun 30th 2007
     permalink
    HA HA ... sorry ... somehow my comment didn't make it through and now I am too lazy to retype it all.

    However, my point was that I don't have a problem with
    • CommentAuthorvarland
    • CommentTimeJun 30th 2007
     permalink

    Nice… twice in a row! I agree with what you're saying, though. I've decided to put a message in a <div> that's visible by default. The <div> is then removed from the DOM by javascript if javascript is working.

    •  
      CommentAuthormringlein
    • CommentTimeJul 2nd 2007
     permalink
    WTF!!!! Where are my comments????
    • CommentAuthorvarland
    • CommentTimeJul 2nd 2007 edited
     permalink
    They're not shown because they're inside a <noscript> tag. You must have typed a literal <noscript> rather than &lt;noscript&gt;.
    •  
      CommentAuthormringlein
    • CommentTimeJul 2nd 2007
     permalink
    varland --- great catch!!! I touht i had "text" selected at the bottom prior to posting!
  2.  permalink
    LMAO there is me thinking it was hidden by design!!!!!
Add your comments
    Username Password
  • Format comments as (Help)