internet-explorer-7

Eternal reloading page with Internet Explorer

瘦欲@ 提交于 2019-12-01 12:05:53
I've got a problem with my FB apps with Internet Explorer 7. I'm using this piece of code, provided by FB some time ago : $auth_url = "http://www.facebook.com/dialog/oauth?client_id=" . FACEBOOK_APP_ID . "&redirect_uri=" . urlencode(CANVAS_PAGE . 'index.php') . "&scope=user_likes,publish_stream"; $signed_request = $_REQUEST["signed_request"]; list($encoded_sig, $payload) = explode('.', $signed_request, 2); $data = json_decode(base64_decode(strtr($payload, '-_', '+/')), true); // If first time we use the application -> ask for permissions if (empty($data["user_id"])) { echo("<script> top

IE CSS Bug - How do I maintain a position:absolute when dynamic javascript content on the page changes

◇◆丶佛笑我妖孽 提交于 2019-12-01 11:44:04
I have a page where there is a column and a content div, somewhat like this: <div id="container"> <div id="content">blahblahblah</div> <div id="column"> </div> </div> With some styling I have an image that is split between the column and the content but needs to maintain the same vertical positioning so that it lines up. Styling is similar to this: #column { width:150px; height:450px; left:-150px; bottom:-140px; background:url(../images/image.png) no-repeat; position:absolute; z-index:1; } #container { background:transparent url(../images/container.png) no-repeat scroll left bottom; position

window.innerWidth can't work on IE7. How to fix via JS and jQuery?

孤人 提交于 2019-12-01 11:41:12
I wanna get the width of browser window. It should contain the width of scroll bar if exists. How to fix this issue via JS? How to fix this issue via jQuery? Thank you! There are many examples of this scattered around the web. It's a common problem. Here's what I found in a quick search var winW = 630, winH = 460; if (document.body && document.body.offsetWidth) { winW = document.body.offsetWidth; winH = document.body.offsetHeight; } if (document.compatMode=='CSS1Compat' && document.documentElement && document.documentElement.offsetWidth ) { winW = document.documentElement.offsetWidth; winH =

Checkboxes will not check in IE7 using Javascript, and yet no errors

老子叫甜甜 提交于 2019-12-01 11:18:41
问题 Okay I'm totally confused on this one. I have a script that receives a bunch of values from a JSON object and creates a bunch of checkboxes and either checks or unchecks a these checkboxes based on their values. The script works correctly in IE8, Firefox3, etc... etc... However... In IE7 the script fails to check off the checkboxes. It displays no errors and from what I can tell, the script runs just fine. I just doesn't check any of the checkboxes, and I don't know why... shoppingCart[

How do I make Standards mode work as well as quirks mode?

落花浮王杯 提交于 2019-12-01 11:02:51
The following Html works great for me in FireFox or IE7/8 (with or without the Style Tag) <!-- Deliberately no DocType to induce Quirks Mode --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> Input.quirks { margin: 1px 0px 1px 0px; border: solid black 1px; } </style> </head> <body> Should work in Quirks Mode <br /> <input class="quirks" type="text" style="width: 300px;" /><br /> <input class="quirks" type="text" style="width: 147px;" /><img src="./Graphics/SpacerPixel.gif" border="0" /><input class="quirks" type="text" maxlength="25" style="width: 150px;" /><br />

How do I set X-UA-Compatible header to IE=EmulateIE7 for IE 8 browsers using Apache 2.0?

微笑、不失礼 提交于 2019-12-01 09:24:28
问题 I am able to set this header X-UA-Compatible "IE=EmulateIE7" using the following directive in my Apache 2.0 httpd.conf file: <Location /mypath> Header set X-UA-Compatible "IE=EmulateIE7" </Location> How can I configure Apache to only set this header for IE 8 browsers? 回答1: This is the best I could come up with so far. It seems to work. If anyone has a better way, please let me know. BrowserMatch "^.*MSIE 8.*$" emulate_ie7 <Location /mypath> Header set X-UA-Compatible "IE=EmulateIE7" env

IE 7 CTRL + click opens a new window - how to suppress it?

那年仲夏 提交于 2019-12-01 08:51:45
Is it possible to suppress the default IE 7 functionality when CTRL +click on link opens a new window? if so, how? Thanks! Andy E There is no way to suppress a Ctrl + Click on a link with no child elements in Internet Explorer -- the onclick event doesn't fire at all for link clicks if the Ctrl key is held down. It seems that Microsoft don't want you to change this functionality out of fear that you might confuse the user. I searched for some sort of official confirmation/explanation before posting this answer, but unfortunately this limitation is not listed in the documentation on MSDN and

$_POST variables coming through empty in IE7 for one subfolder

假装没事ソ 提交于 2019-12-01 08:13:02
问题 I've having trouble with $_POST variables not being received from forms within a PHP website. To clarify the problem, I created this simple PHP script "POST_test.php": <? print "POST:<pre>"; print_r($_POST); print "</pre>"; ?> <form method="POST" action="POST_test.php"> <input type="submit" value="Save Changes"> <input type="hidden" name="blah" value="1"> </form> Let's say my Apache web root is folder "web_root", and my website folder is "websiteA". Putting the above script in "web_root

How do I make Standards mode work as well as quirks mode?

血红的双手。 提交于 2019-12-01 08:02:32
问题 The following Html works great for me in FireFox or IE7/8 (with or without the Style Tag) <!-- Deliberately no DocType to induce Quirks Mode --> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> Input.quirks { margin: 1px 0px 1px 0px; border: solid black 1px; } </style> </head> <body> Should work in Quirks Mode <br /> <input class="quirks" type="text" style="width: 300px;" /><br /> <input class="quirks" type="text" style="width: 147px;" /><img src="./Graphics

Word wrapping for button with specified width in ie7?

最后都变了- 提交于 2019-12-01 07:36:50
So I have a submit button with a specified width and the containing text is pulled in from elsewhere, it's dynamic. The problem is that in ie7, the text does not overflow properly and wrap onto a second line, it just runs off into oblivion! Here is the html. <input type="submit" value="<?php echo $dynamic_data ?>" class="custom-submit"> And the css. .custom-submit { height: 76px; white-space: normal; width: 140px; } I have seen people suggest elsewhere to put line breaks into the button's text but this will not work for me as the texts length is dynamic. Any ideas? I have a similar problem