diff options
Diffstat (limited to 'HTML/testonline.html')
-rw-r--r-- | HTML/testonline.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/HTML/testonline.html b/HTML/testonline.html new file mode 100644 index 0000000..4555621 --- /dev/null +++ b/HTML/testonline.html @@ -0,0 +1,13 @@ +<html><body onload="bodyLoad();"><script type="text/javascript"><!-- + var isRemoteAvail = false; + function bodyLoad() { + var url = 'http://www.mandrakesoft.com/'; + var lang = /index-(.*)\.html/.exec(parent.location); + if( lang != null ) lang = lang[1]; + if( lang != null ) url += '?wslang='+lang; + if( isRemoteAvail ) parent.location=url; + } + function imgLoad() { isRemoteAvail = true; } + function imgError() { isRemoteAvail = false; } + window.alert = function() {} +--></script><img src="http://images.mandrakesoft.com/mdkv2/logo2.png" onerror="imgError();" onload="imgLoad();" /></body></html> |