Results 1 to 8 of 8

Thread: What does it do?

  1. #1
    Join Date
    Apr 2008
    Posts
    38
    Thanks
    9
    Thanked 1 Time in 1 Post

    Default What does it do?

    What does <noscript></noscript> do? Is it like <noframes> and displays a message if you don't have JavaScript? If so, what section (
    Code:
    <body>
    or
    Code:
    <head>
    )?

  2. #2
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    You put it in the body section, and yes. Exactly what you think it does.
    Jeremy | jfein.net

  3. The Following User Says Thank You to Nile For This Useful Post:

    matthewbluewars (04-10-2008)

  4. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    In the body of the HTML document, if you have <noscript> tags, it will display what you have between them. Example:

    Code:
    <body>
     <script type="text/javascript">
       alert('This is a test');
     </script>
    <noscript>Your browser does not support JavaScript!</noscript>
    </body>
    Hope this helps.

    Edit:
    Sorry Nile, posted at same time.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  5. #4
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Actually you posted 2 minutes after me.
    Jeremy | jfein.net

  6. #5
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    Yea, but I used the quick reply so it was as if I posted at the same time (with the ajax posting feature of the board). Either way, the question has been answered.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  7. #6
    Join Date
    Jan 2008
    Posts
    4,168
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Actaully...
    Lol, I used the quick reply too.
    Jeremy | jfein.net

  8. #7
    Join Date
    Apr 2008
    Posts
    38
    Thanks
    9
    Thanked 1 Time in 1 Post

    Default

    Ok, what does that have to do with anything?

  9. #8
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Off topic, yes, but since the question was answered anyway, wasn't hurting much. But you're right-- question answered. So I'll go ahead and close this.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

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