internet-explorer-8

ie8 var w= window.open() - “Message: Invalid argument.”

雨燕双飞 提交于 2019-12-27 10:33:12
问题 I have a site that has an IE8-only problem: The code is: var w = window.open(urlstring, wname, wfeatures, 'false'); The error is: Message: Invalid argument. Line: 419 Char: 5 Code: 0 URI: http://HOSTNAME/js_context.js I have confirmed the line number of the code (the "Line" and "URI" are correct), and I understand in later versions of IE8, this is considered accurate. I have checked all the incoming parameters in the call by dumping alerts, and they all look valid. This problem does not

ie8 var w= window.open() - “Message: Invalid argument.”

六眼飞鱼酱① 提交于 2019-12-27 10:32:09
问题 I have a site that has an IE8-only problem: The code is: var w = window.open(urlstring, wname, wfeatures, 'false'); The error is: Message: Invalid argument. Line: 419 Char: 5 Code: 0 URI: http://HOSTNAME/js_context.js I have confirmed the line number of the code (the "Line" and "URI" are correct), and I understand in later versions of IE8, this is considered accurate. I have checked all the incoming parameters in the call by dumping alerts, and they all look valid. This problem does not

Not able to add Cookies for IE8 browser (Java, Selenium Grid, WebDriver 2.41.0)

北城余情 提交于 2019-12-25 12:48:43
问题 I create remote webdriver as: URL hubUrl = new URL("http://172.30.234.216:4444/wd/hub"); DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer(); capabilities.setCapability(CapabilityType.ForSeleniumServer.ENSURING_CLEAN_SESSION, true); webDriver = new RemoteWebDriver(hubUrl, capabilities); In each test scenario I have a step which sets some value into Browser cookies. //.... webDriver.navigate().to("192.168.0.3:8060"); webDriver.manage().addCookie(new Cookie("parameter_name

Mouse over effect is not working in IE

走远了吗. 提交于 2019-12-25 08:14:52
问题 My code: <td width="70" height="60"> <a href="images/Gallery1/6.jpg" rel="lightbox" title="my title" > <img src="images/Gallery1/thumbs/6.jpg" width="65" height="40" border="0" class="gallery-img"> </a> </td> And CSS: .gallery-img{ border:4px solid #FFFFFF; } .gallery-img:hover{ border:4px solid #D4D5D8; } The above code runs fine using Firefox, but not when using IE 8. How can I fix this? 回答1: That will work in IE8 if you are in Standards Mode . It won't work if you're in Quirks Mode: :hover

Remote debug a site? JSON issue with IE8

僤鯓⒐⒋嵵緔 提交于 2019-12-25 07:24:43
问题 The scenario is that the website works wonderfully on all machines except the ones where the client works. It's in Africa and I've no hope of getting access to it. He has limited IT knowledge and we don't know a great deal about the companies net policies. I know that he is using IE8 with the doc mode being 8 as well, I suspected it was running in 7 because of some CSS issues but apparently not. I use a JSON file and Ajax query to populate an important part of the site. It works well in all

View contents of cart inside Fancybox, blank page only in IE8

徘徊边缘 提交于 2019-12-25 05:57:12
问题 I'm using Mal's Cart and I want the View Cart link to show the cart contents inside a Fancybox window. This works in Windows Firefox 18, Chrome 24, Opera 12, and Safari but in IE8 the fancybox will pop up blank, refreshing the box will show the content. Turn Compatibility View on and it works fine. http://www.riptest.info Using IE8, click the "Buy A License" button on the first post and it works, then click the "View Cart" button in left sidebar and it pops up a blank page, refresh the white

Textarea background image scrolling when entering more text in ie8

橙三吉。 提交于 2019-12-25 05:08:14
问题 Textarea background image scrolling when entering more text in ie8, i have used sprite concept in css so when entered text more its showing another image as background textarea{ border:0 none; background:url(../images/sprite.png) no-repeat -272px -63px; max-height:80px; max-width:191px; overflow-y: auto; } 回答1: Since Microsoft “corrected” the background attachment issues with IE7 and now is no way of having an overflow of text in a input or textarea element and not having the background

Pushing updates from event log to webpage not working in IE8

岁酱吖の 提交于 2019-12-25 04:42:51
问题 In my MVC4 application I have some code to push a new entry in the eventlog to a webpage with SignalR. This code works in FireFox, but in IE8 when a new event is added to the event log the debugger pops up with Error: Object doesn't support this property or method and stops at the following code: this.notifyListeners = function (queryName, evt) { registeredListeners.forEach(function (item) { if (item.queryName === queryName) { item.listener.newEvent(evt); } }); }; When I step over this method

Knockout js for attribute binding in IE8

☆樱花仙子☆ 提交于 2019-12-25 04:22:10
问题 Can't bind for attribute in IE8 http://jsfiddle.net/k2Mq7/ - ko 2.1: SCRIPT5022: Unable to parse bindings. Message: SyntaxError: Expected identifier, string or number; Bindings value: attr: { id: 'that-works', for: 'but-than-not' } http://jsfiddle.net/k2Mq7/3/ - ko 2.1 quoted for ('for'): jsfiddle fails but on my local machine no any errors but this label displayed without for attribute. Is it Knockoutjs bug or that I am doing something wrong? 回答1: Use quotation marks for attributes names

Knockout js for attribute binding in IE8

孤人 提交于 2019-12-25 04:22:01
问题 Can't bind for attribute in IE8 http://jsfiddle.net/k2Mq7/ - ko 2.1: SCRIPT5022: Unable to parse bindings. Message: SyntaxError: Expected identifier, string or number; Bindings value: attr: { id: 'that-works', for: 'but-than-not' } http://jsfiddle.net/k2Mq7/3/ - ko 2.1 quoted for ('for'): jsfiddle fails but on my local machine no any errors but this label displayed without for attribute. Is it Knockoutjs bug or that I am doing something wrong? 回答1: Use quotation marks for attributes names