internet-explorer-8

IE8 and jQuery null pointers

半世苍凉 提交于 2019-12-19 09:23:45
问题 hey guys: I've been building a website with some animated rollovers, where I animate the background image to give a colour fade effect. It works fine in FF3, Safari, chrome, but IE8 throws the "undefined is null or not an object" error. Full text: Message: 'undefined' is null or not an object Line: 22 Char: 16 Code: 0 URI: http://www.philipdukes.co.uk/jquery.bgpos.js Message: 'undefined' is null or not an object Line: 22 Char: 16 Code: 0 URI: http://www.philipdukes.co.uk/jquery.bgpos.js In my

Posting from IE8 to PHP gives blank $_POST

雨燕双飞 提交于 2019-12-19 07:35:06
问题 I have a simple HTML form, sending a post request to a php script. In IE8, the form only works intermittently - most of the time the PHP script sees an empty $_POST variable. Here's my code: <html> <head> <title>Post test</title> </head> <body style="text-align: center;"> <?php echo "<pre>".print_r($_POST, TRUE)."</pre>"; ?> <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> <input type="text" name="name"> <input type="hidden" name="hidden" value="moo" > <input type="submit"

Posting from IE8 to PHP gives blank $_POST

我是研究僧i 提交于 2019-12-19 07:34:26
问题 I have a simple HTML form, sending a post request to a php script. In IE8, the form only works intermittently - most of the time the PHP script sees an empty $_POST variable. Here's my code: <html> <head> <title>Post test</title> </head> <body style="text-align: center;"> <?php echo "<pre>".print_r($_POST, TRUE)."</pre>"; ?> <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> <input type="text" name="name"> <input type="hidden" name="hidden" value="moo" > <input type="submit"

IE8 loses cookies when opening a new window after a redirect

有些话、适合烂在心里 提交于 2019-12-19 07:28:05
问题 I'm using Internet Explorer 8 beta 2. Client performs POST on http://alpha/foo Server responds with redirect to http://beta/bar Client performs GET on http://beta/bar Server responds with redirect to http://beta/baz and sets cookie Client performs GET on http://beta/baz including cookie Server provides response User selects "Open in new window" on a link in the page Client performs GET on http://beta/link, without cookie! If in step 7 the user just clicks the link, the cookie is passed

why am I triggering quirks mode in IE8?

纵饮孤独 提交于 2019-12-19 05:42:29
问题 I'm working on a page that, when I load into IE8 and view the developers tools it tells me that page default is quirks mode. I've got a strict DTD: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> I even went ahead and put in the explicit standards switch, though I didn't think I'd need to: <meta http-equiv="X-UA-Compatible" content="IE=8" /> I can't understand why page default isn't IE8 standards? Only thing I can think of is that to get to this page

IE8 Renders font weights randomly

筅森魡賤 提交于 2019-12-19 04:37:04
问题 On a webpage in IE8 I have 4 custom fonts in CSS using font-face, two of each font go to the same family for bold and normal weights. I have found that IE8 randomly renders the non bold as bold and sometimes vice-versa. If I sit at the page pressing refresh each time it loads the text changes, seemingly randomly. I even tried having javascript set the fonts for elements only after everything is loaded - and it still occurs. Any one know whats going on? 回答1: I've had the same issue when using

IE8 - how to run jquery code after content loads?

蹲街弑〆低调 提交于 2019-12-19 04:19:11
问题 I have a situation where I load a parent web page (happens to be Java JSP) which has content I am loading using ajax (asynch) inside of a document ready function expecting the page to render whatever it can quickly then run the jquery code to perform asynch work after the page is displayed. It works just as expected in firefox - page renders quickly and then the jquery code runs ajax calls loading other elements. In IE8 it waits until everything is done, then renders the completed results. It

WebBrowser Control IE8 Compatibility Mode On/Off Switch

余生长醉 提交于 2019-12-19 03:23:26
问题 I am having a IE8 compatibility issue while using the WebBrowser control to navigate to a website. The strange thing is sometimes the website works, but more than likely it wont. I can refresh the page sometimes and it works as well. Just going to the page in IE8 I experienced the same CSS rendering problems so I switched to compatibility mode and it refreshed and rendered correctly. Is there a way to simulate this effect for the WebBrowser control. I want to be able to click a button and

Missing stylesheets/scripts/images when using BASE element for a local html file rendered in IE8 in IE8 standards mode

时光总嘲笑我的痴心妄想 提交于 2019-12-19 03:23:20
问题 We have some HTML pages (local, not on a web server) that use the BASE element to identify a specific base directory that contains a bunch of common stylesheets and images. Here is an example (page is stored in c:\temp\html\test.html, resources directory is c:\temp\resources): <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <base href="file:///c:/temp/resources/"></base> </head> <body> <p><img src="image

ASP MVC3 FileResult with accents + IE8 - bugged?

丶灬走出姿态 提交于 2019-12-19 03:13:29
问题 If the file name contains accents, it works as expected in Opera, FF, Chrome and IE9. But in IE8 file type is "unknown file type", and shows "file" as the file name (actually the last part of the URL). Does anyone know a workaround? Other than replacing the "special" characters in the file name? The test code: (file | new project | add controller) public class FileController : Controller { public ActionResult Index(bool? Accents) { byte[] content = new byte[] { 1, 2, 3, 4 }; return File