internet-explorer-7

Need a workaround for cross domain ajax post in IE7

荒凉一梦 提交于 2019-12-10 17:33:32
问题 So IE7 does not support CORS (cross origin resource sharing). However, due to nature of my app, I have to make a cross domain ajax post. Is there some way to get this to work in IE7? Unfortunately, I cannot use a server side proxy for security reasons. Perhaps using an iFrame? I forgot to mention, but I control the other server also. 回答1: The Easy XDM library was developed to solve the cross origin problem : easyXDM is a Javascript library that enables you as a developer to easily work around

Center footer fixed at the bottom IE

我是研究僧i 提交于 2019-12-10 17:17:19
问题 I am coding a web interface for a University project and I have been dealing with this issue: I want my footer fixed at the bottom so it is in place no matter which screen I am using or if I toggle the full screen mode It works in all the other browsers except IE7 (I do not have to support previous versions) HTML <div id="menu"> <a href="information.html" rel="shadowbox;height=500;width=650" title="INFORMATION" > <img src="images/info.png" alt="information icon" /> </a> <a href="images/bricks

Strange IE7 Printing Bug

喜你入骨 提交于 2019-12-10 16:48:34
问题 I have a page that renders fine in IE6/7 and Firefox 3.5. Both IE6 and Firefox 3.5 have no problems printing the page, but IE7 does. When the page is printed, the first half of my content div is not visible, with the exception of two tables that do show up. The content begins to reappear mid-sentence, where there is no tag or break of any kind. It's almost like there's something hiding the first half of the div but letting the tables be shown. However, I have no out-of-place tags, no magic

IFrame causing back button issues

♀尐吖头ヾ 提交于 2019-12-10 15:56:24
问题 I am currently having an issue with IE8/7 (I do not have a choice, I have to add support for these before anyone moans) where IFrames with youtube videos are causing an issue with adding extra URLs into the history so when hitting back I am having to do it 2-3 times before actually getting to go back, my current solution seems to work in newer browsers but not the two I am having an issue with, current solution is: <script type="text/javascript"> $(document).ready(function () { $("iframe")

JavaScript: Implement 'element.hasAttribute' if undefined [for IE7]

孤者浪人 提交于 2019-12-10 15:55:31
问题 I need to make an exisitng web application compatible with IE7. The code uses element.hasAttribute extensively and IE7 has issues with this method. Object doesn't support property or method 'hasattribute' I am trying to check in the code if an input element has the hasAttribute method defined and if not, I am trying to add it to all input elements. //create an input element variable << works fine var myInput = document.createElement("input"); //see if it has the 'hasAttribute' method <<

How to center an absolutely positioned div within IE7?

陌路散爱 提交于 2019-12-10 14:40:20
问题 UPDATED PROVIDING CONTEXT FOR THE LAYOUT I have a relatively simple structure for my page. The page is composed of two div's both absolutely positioned. One is centered within the other. <div id="protocol_index_body_wrapper"> <div id="protocol_index_body"> </div> </div> Which has the corresponding CSS: #protocol_index_body_wrapper { background: url("/images/stripe.png") repeat scroll 0 0 transparent; position: absolute; top: 120px; left: 0px; right: 0px; bottom: 10px; } #protocol_index_body {

IE8 expected identifier error

时光毁灭记忆、已成空白 提交于 2019-12-10 14:31:45
问题 IE 7 & 8 throws an error (through jQuery): expected identifier jQuery(document).ready(function() { jQuery.i18n.properties({ 'name': "messages", 'path': "/myproject/js/i18n/", 'mode': "both", 'language': "en", 'callback': function() { } }) }); If I comment out line 'path': "/myproject/js/i18n/", error disappears, but of course, i18n plugin stops working as expected. Thanks for your help! 回答1: In messages.properties file there were lines like something.delete.something=something . These lines

Horizontal scrollbar appears only in IE7 even with overflow:hidden being set

感情迁移 提交于 2019-12-10 13:58:32
问题 I'm banging my head on this one. I have a disturbing horizontal scrollbar that appears only when browsing my site in IE7: http://www.regia.it I have tried and tried to stop this from happening by using overflow:hidden on my div s but for some reason I just can't seem to find what is causing the problem. Any help is greatly appreciated. 回答1: This does seem odd. I am assuming you don't mind if the page is not horizontally scrollable even on small screens, since you have tried to use: body

ordered list does not work on IE7 (<ol><li)

陌路散爱 提交于 2019-12-10 13:53:44
问题 I am trying to create an ordered list on IE7 but for some reason does not work. Does anybody knows why this can be? Update The issue is that I cant see the numbers, thanks. Thanks. eg. <ol> <li></li> <li><li> </ol> Update As an example I saw this page where if you look at it on IE7 you wont see de numbers, but if you look at it on any other (but not ie) you will see the numbers. http://www.arraystudio.com/as-workshop/make-ol-list-start-from-number-different-than-1-using-css.html Thanks 回答1:

How to get the screen coordinate of web-page elements in BHO

吃可爱长大的小学妹 提交于 2019-12-10 12:07:57
问题 I am writing a BHO object for IE. I want the screen position of the top-left of the web-page. How can i get this position? The topleft of the first element in DOM returns (0,0). The webBrowser.Left or Top returns the position of the browser but not the top-left of the page. I am using IWebBrowser2. Thanks a million, -anony. 回答1: You may have already figured this out, but using ClientToScreen function might help you. 回答2: I solved the problem myself. The IHTMLElement2.getBoundingClientRect()