Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.
|
|||||||
Download Now:
iframe
|
|
Thread Tools | Search this Thread |
|
#1
|
|||
|
|||
|
iframe
How do clear the iframe in netscape 7.0 and Internet explorer. The following code works in IE but not in netscape
<html> <head> <title>Simple Math Practice</title> <script language="javascript" type="text/javascript"> <!-- Hide Script function RandPosInt() { Rnum = Math.round(Math.random()*8+1); return Rnum; } function WriteHeader() { problem.document.write('<html><head><link href="math.css" rel="stylesheet" type="text/css"><\/head><body>'); } function WriteContent() { problem.document.write("this is content"); } function WriteFooter() { problem.document.write("<\/body><\/html>"); } function ClearFrame() { problem.document.open(); problem.document.clear(); } function CloseFrame() { problem.document.close(); } // End Hiding Script --> </script> <link href="math.css" rel="stylesheet" type="text/css"> </head> <body> <div align="center"> <h1>Simple Math Practice</h1> <iframe src="defaultframe.html" id="problem" name="problem" frameborder="1" marginwidth="10" marginheight="10" scrolling="no" align="top" height="200" width="500"> </iframe> <script language="javascript" type="text/javascript"> <!-- Hide Script //FirstNum = RandPosInt(); //problem.document.write("Test1"); ClearFrame(); WriteHeader(); WriteContent(); WriteFooter(); CloseFrame(); // End Hiding Script --> </script> </div> </body> </html> |
|
#2
|
|||
|
|||
|
That function is no longer supported. See here:
http://www.web-developer-india.com/w...t/refp_77.html |
![]() |
| Similar Topics | ||||
| Topic | Replies | Forum | ||
Iframe virus wininit.exe suspected
|
2 | Virus and Malware Removal | ||
Iframe virus attack
|
1 | Virus and Malware Removal | ||
Web Design Question - iframe or alternative
|
6 | Virus and Malware Removal | ||
Hackers launch massive IFrame attack
|
1 | Virus and Malware Removal | ||
| Thread Tools | Search this Thread |
|
|
All times are GMT -4. The time now is 08:27 PM.



Iframe virus wininit.exe suspected