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 2 of 2
  1. #1
    Regular Coder Taro's Avatar
    Join Date
    Oct 2011
    Location
    Geraldton, Ontario
    Posts
    155
    Thanks
    1
    Thanked 1 Time in 1 Post

    Post iframe javascript

    Hello,

    If JavaScript is disabled, does the content in an iframe become un-viewable/ blocked? This is in general, regardless of how safe or trusted the website/ content is.

    Code:
    <html>
    <head>
    <noscript>Javascript is disabled.  Having it enabled provides the greatest functionality.</noscript>
    </head>
    <body>
    <noscript>Javascript is disabled.  Having it enabled provides the greatest functionality.</noscript>
    <iframe src="first.html" width="300" height="300"  />
    </body>
    </html>
    Last edited by Taro; 02-28-2012 at 12:00 AM. Reason: forgot something
    Element ID

    Webs Support Helper

    Your friendly neighborhood Taroman.

  • #2
    Regular Coder Lerura's Avatar
    Join Date
    Aug 2005
    Location
    Denmark
    Posts
    947
    Thanks
    0
    Thanked 130 Times in 129 Posts
    There will be no problem as long as the document contained in the iframe can be rendered without the use of javascript.

    Javascript can read from or modify the content of the iframe document, but cannot prevent the document from being rendered.


  •  

    Tags for this Thread

    Posting Permissions

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