mirror of
https://github.com/trebonian/visual6502.git
synced 2024-06-04 00:29:31 +00:00
allow IE9 (not tested on IE9, OK on firefox and chrome, IE8)
This commit is contained in:
parent
7ef9dc4c43
commit
9477ea64b4
|
@ -13,12 +13,12 @@
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function handleOnload() {
|
function handleOnload() {
|
||||||
if(navigator.appName != 'Microsoft Internet Explorer'){
|
if((navigator.appName == 'Microsoft Internet Explorer') && (parseInt(navigator.appVersion,10)<9)){
|
||||||
setTimeout(setup,200);
|
|
||||||
}else{
|
|
||||||
document.getElementById('browsertrouble').innerHTML=
|
document.getElementById('browsertrouble').innerHTML=
|
||||||
'<p>Sorry, '+navigator.appName+' not supported - showing you a picture instead!</p>';
|
'<p>Sorry, '+navigator.appName+' not supported - showing you a picture instead!</p>';
|
||||||
document.getElementById('frame').innerHTML='<a href="browsertrouble.html"><img src="images/jssim2.png" style="border:10px"></a>';
|
document.getElementById('frame').innerHTML='<a href="browsertrouble.html"><img src="images/jssim2.png" style="border:10px"></a>';
|
||||||
|
}else{
|
||||||
|
setTimeout(setup,200);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user