diff options
Diffstat (limited to 'HTML/testonline.html')
-rw-r--r-- | HTML/testonline.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/HTML/testonline.html b/HTML/testonline.html index c447398..36deab8 100644 --- a/HTML/testonline.html +++ b/HTML/testonline.html @@ -1,12 +1,12 @@ -<html><body onload="bodyLoad();"><script type="text/javascript"><!-- - var isRemoteAvail = false; - function bodyLoad() { - var url = 'http://www.mandriva.com/'; - var lang = parent.window.document.documentElement.attributes.getNamedItem('lang').value; - if( lang != null ) url += '?wslang='+lang; - if( isRemoteAvail ) parent.location=url; - } - function imgLoad() { isRemoteAvail = false; } - function imgError() { isRemoteAvail = false; } - window.alert = function() {} ---></script><img src="http://images.mandriva.com/images/donotremove.png" onerror="imgError();" onload="imgLoad();" /></body></html> +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" + "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html> + <head> + <title>Mandriva</title> + <script type="text/javascript" src="./script.js"></script> + </head> + <body onload="bodyLoad();"> + <img id="i" src="http://images.mandriva.com/images/donotremove.png" onload="imgLoad();" onerror="imgError();" /> + </body> +</html> |