MarineCorps
Explosion!
ok. That didn't work. I still get a full screen thing that says this page can not be displayed. COuld it by any chance have something to do with the JavaScript alert I have in the file I want opened?
<script type="text/javascript">
<!--
var closetime=0;
function Start(URL){
var windowprops="fullscreen=yes";
var preview=window.open(URL,"popWin",windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}
function popupWin(){
var url="JavaScript/file.html"
var delay=0;
timer = setTimeout("Start('"+url+"')", delay*1000);
window.status="";
}
//-->
</script>
stormbind said:What does it say in the address bar of the popup?
stormbind said:Note, I haven't tested it. I'm not 100% sure what it is you're doing.
stormbind said:Ok, can you temporarily disable the fullscreen to read the address of the page it failed to load (to make sure the value for URL being passed properly between the functions)?
hbdragon88 said:1. You shouldn't use all capitals in HTML. If you're using it to make it look different from the actual text, download an HTML editor that has syntax highlighting (that will highlight the HTML tags)
2. Insert a DOCTYPE! Without a doctype, the browser goes into "quirks mode" and has to guess to render the HTML. Because different browsers' quirk modes render things differently, the pages won't look the same on all browsers
3. Add character encoding to your <head>: <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">