real_illusions Posted April 26, 2006 Share Posted April 26, 2006 i got this one website, very small, only the index page at the moment, on the computer as i'm building it from scratch.its a .htm file, so i can view it on the computer. it works fine in firefox.however, the problem comes with opera and explorer, the window automatically closes when it loads. it doesn't do this with any other file, as i've tested with other .htm files i have.its only done it today, not yesterday. last night, i ran system mechanic on the computer to help speed it up etc... has system mechanic done something that prevents opera and explorer from loading this single file? files in the same folder work.i cant work it out... Link to comment Share on other sites More sharing options...
aspnetguy Posted April 26, 2006 Share Posted April 26, 2006 Opera can 'imitate' Internet Explorer in an attempt to be more compatible. Chances are that is why it is happening in Opera as well as IE.As for the cause I am stumped.Does it only happen with this 1 file????Does it happen when you try and view any webpages in IE (on the internet or local)???Can you provide some more details. Thanks Link to comment Share on other sites More sharing options...
real_illusions Posted April 26, 2006 Author Share Posted April 26, 2006 just that one file in explorer and opera that causes it to close.the internet and other local files work on both those browsers.tried the code in another file of another name, both same folder and different folder, and it still closes.must be to do the code...but if it is, then how come firefox reads it?theres nothing in the code to do with redirect, or closing windows. Link to comment Share on other sites More sharing options...
johneva Posted April 26, 2006 Share Posted April 26, 2006 Seems very strage but carnt comment on the code if we have not seen it. Link to comment Share on other sites More sharing options...
real_illusions Posted April 26, 2006 Author Share Posted April 26, 2006 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><link rel="stylesheet" type="text/css" href="stylesheet.css"><script type="text/javascript" src="chromejs/chrome.js"></script></head><body><div class="outer"><div class="main"><object data="grain_tut2.swf" type="application/x-shockwave-flash" width="550" height="200"><param name="movie" value="grain_tut2.swf" /><param name="wmode" value="transparent" /></object><div id="chromemenu"><ul><li><a href="index.htm">Home</a></li><li><a href="#" onMouseover="cssdropdown.dropit(this,event,'dropmenu1')">Contact</a></li><li><a href="#" onMouseover="cssdropdown.dropit(this,event,'dropmenu2')">Gallery</a></li><li><a href="#">Search</a></li><li><a href="#">Site Map</a></li><li><a href="#">Links</a></li></ul></div><!--1st drop down menu --> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <div id="dropmenu1" class="dropmenudiv"><a href="">contact2</a><a href="">contact2</a><a href="">contact3</a><a href="">contact4</a><a href="">contact5</a></div><!--2nd drop down menu --> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <div id="dropmenu2" class="dropmenudiv" style="width: 120px;"><a href="">gallery</a><a href="">gallery2</a><a href="">gallery3</a><a href="">gallery4</a><a href="">gallery5</a></div><!--3rd anchor link and menu --> Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â <div id="dropmenu3" class="dropmenudiv" style="width: 100px;"><a href="http://www.google.com/">Google</a><a href="http://www.yahoo.com">Yahoo</a><a href="http://www.msn.com">MSN</a></div><div class="main2"><p>Some text</p></div><div class="footer">Â <br>Â </div></div></div></body></html> there we go:) Link to comment Share on other sites More sharing options...
johneva Posted April 26, 2006 Share Posted April 26, 2006 Have you tryed removing the javascript?Oh and maybe try removing the Flash object if removing the javascript makes no diffrence.There is nothing else in the coding that should cause any problems though.That is a bit strange. Link to comment Share on other sites More sharing options...
real_illusions Posted April 26, 2006 Author Share Posted April 26, 2006 got rid of all html, javascript and flash, left with this - <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd"><html><head><title>Untitled Document</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head><body></body></html> but still it closes.. Link to comment Share on other sites More sharing options...
johneva Posted April 26, 2006 Share Posted April 26, 2006 Well I dont know whats going on there mate as there is noway that should happen. Link to comment Share on other sites More sharing options...
real_illusions Posted April 26, 2006 Author Share Posted April 26, 2006 Well I dont know whats going on there mate as there is noway that should happen. <{POST_SNAPBACK}> yeah..only thing i can think of is something is corrupted...but as it only happens with this one file..and older files dont do that.saved an older file in another folder, and that worked in opera and explorer.so cant be that any newly saved html pages are corupted, or opera and explorer cant read any html pages after the system mechanic stuff i did last night... Link to comment Share on other sites More sharing options...
Little Goat Posted April 26, 2006 Share Posted April 26, 2006 well take what you have left, and save it in another file.if that works, take everything you had and save in another file.maybe you file got corrupted.LG Link to comment Share on other sites More sharing options...
real_illusions Posted April 26, 2006 Author Share Posted April 26, 2006 well take what you have left, and save it in another file.if that works, take everything you had and save in another file.maybe you file got corrupted.LG<{POST_SNAPBACK}> nope..still closes even with a newly created file Link to comment Share on other sites More sharing options...
johneva Posted April 26, 2006 Share Posted April 26, 2006 Thats well freaky cos there is nothing wrong with the code. :)They are just basic tags that should be in every page you ever make. Link to comment Share on other sites More sharing options...
Little Goat Posted April 26, 2006 Share Posted April 26, 2006 did you copy the text, or type it in?try typing it in from scratch.LG Link to comment Share on other sites More sharing options...
boen_robot Posted April 27, 2006 Share Posted April 27, 2006 did you copy the text, or type it in?try typing it in from scratch.LG I've had simmilar problems and it's not about copy&paste. It's about "Save As" and "New"+Copy&Paste.Instead of saving a new file from the old one(Save As) try to create a new file and copy&paste the source code from the old one in the new file. If it doesn't work... yeah... I guess you should try from scratch. If it doesn't work either, then your OS is starting to cry for reinstallation I think . Link to comment Share on other sites More sharing options...
real_illusions Posted April 27, 2006 Author Share Posted April 27, 2006 I've had simmilar problems and it's not about copy&paste. It's about "Save As" and "New"+Copy&Paste.Instead of saving a new file from the old one(Save As) try to create a new file and copy&paste the source code from the old one in the new file. If it doesn't work... yeah... I guess you should try from scratch. If it doesn't work either, then your OS is starting to cry for reinstallation I think .<{POST_SNAPBACK}> i did save as a new file as well copy/paste the code into a new file and save from there.i copied it by hand (mostly), just the design, and saved in another folder, and that worked.so that file is corrupted some how..or windows xp is on the brink of crashing Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now