...

View Full Version : iframe javascript



Taro
02-27-2012, 11:42 PM
Hello,:D

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.



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

Lerura
02-28-2012, 05:39 AM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum