internet-explorer

Adding @import statement in a dynamic stylesheet for IE7+

I have a problem with adding a dynamic style element with @import statements for IE. Try this: var string = '@import url(test.css)'; var style = document.createElement('style'); if (style.styleSheet) { // IE style.styleSheet.cssText = string; } else { var cssText = document.createTextNode(string); style.appendChild(cssText)...

How can I determine when BeforeNavigate2 will be generated by a mouse click and wait for the event?

As I've said in other questions, I'm contributing to an open-source browser automation framework (Selenium WebDriver), and having difficulty with IE. The framework uses an external process written in C++, not a Browser Helper Object (BHO). Clicks on elements are generated using Windows messages (WM_LBUTTONDOWN and WM_LBUTTONUP) rather th...

In Internet Explorer, input fields are a few pixels longer than select boxes; how can I make them the same length?

Given the following code: <form> <input type="text"> <select> <option>Foobar</option> </select> </form> With the following CSS: input, select { width: 200px; } Internet Explorer displays the text input slightly larger than the select box. Is there a way (that hopefully doesn't break compatibility with other browsers) t...

Silverlight 4 MediaElement Source Uri problems

I am having issues with setting the Silverlight 4 MediaElement Source property in my ASP.NET MVC 2 application. I have a Windows 7 development machine and a Windows Server 2008 staging server. Locally I have been using a MediaElement source like: <MediaElement x:Name="VideoMediaElement" Source="Assets/126.mp4"> ... </MediaElement> Th...

window.opener null after redirect?

So I'm adding a "sign in with Twitter" button onto my web site. I display the twitter sign in in a popup window. When the user signs into to twitter they are redirected back to a page on my site which calls a javascript function on the window.opener to notify the page that sign in has completed and to refresh. The problem is after twi...

default selected option for html select using javascript in IE

Hello I have a select element and I am trying to set a default option for that select element. But my code isn't working in IE. Is there any way around for this?? if(objOption.value == selectedoption) { alert(objOption.value); objOption.defaultSelected = true; } I am able to retreive the option, and its value, but am unable to set the...

Sticky footer issues in IE - using wordpress

I've modified a wordpress template so that, among other things, it has a sticky footer that gets pushed down when the screen fills with content. Everything is working beautifully in non-IE browsers, but something's horribly wrong in IE. The footer's sticky, alright, but doesn't push down. Bonus points: The header, In IE, also appears ...

jQuery and JavaScript in Firefox 3 and IE7+

Hi, I'm learning developing in javascript and jQuery. I'm puzzled on why the firefox and IE are soo different in handling javascript and jquery functions. Firefox seems to be doing exactly what I want it to do, when the IE is all over the place and quite often I can't find a reasonable explanation why certain event didn't fire off or ...

Disable keyboard-shortcuts in Internet Explorer

Does anybody know how can I programmatically disable the keyboard-shortcuts in IE? For example, i have a textbox in my web page, with its value taken from a barcode reader. But the barcode contains the sequence Shift-Ctrl-J + Enter. Shift+Ctrl+J opens the IE feeds and Enter opens the selected feed in the browser, so this is a serious p...

jQuery FadeIn text in IE7/IE8 : text aliased during animation

Hi, I have trouble to make a good use of jQuery fadeIn() or fadeOut() for text divs in IE(both 7 and 8), as you can see in this example : http://jsbin.com/etatu3/5 (see the code here : http://jsbin.com/etatu3/5/edit ) I did some research and it seems it's because of filter opacity. I tried using animate({filter: (opacity = 50)},10...

IE6 form / div float issues

Having some nasty issues with IE6 and reading my div form layout, the html: <form id="brochureForm" name="brochureForm" action="/how-it-works/request-a-brochure/" method="post"> <div class="row"> <div class="label"> <label for="szName">Name</label> </div> <div class="field"> ...

magento bundle.js error

I just discovered on my site using magento 1.3.2.2 that on a bundled product, when adding different options the price does not change in internet explorer. It works fine in all other browsers however. In internet explorer I get the error message. Message: Object doesn't support this property or method Line: 34 Char: 9 Code: 0 URI: /ski...

What's the performance impact of using bicubic interpolation in IE?

Everybody knows that IE7 sucks at scaling images. I just recently discovered the trick of using img { -ms-interpolation-mode: bicubic; } to force IE to use bicubic sampling when scaling images so that they look better. However, I was wondering if anyone knows the performance impact of using ms-interpolation-mode. ...

Will a page taking 2-3 mins to render cause a javascript 'taking too long' warning

I'm using the jQuery document ready method - $(function() If the page takes too long to render (say 2mins+), will this be the reason for the page throwing a javascript taking too long to execute error/warning? ...

Fusion Charts Server side upload

Trying Server-side exporting using fusion charts.. works well with FF. however internet explorer says Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later. " Help appreciated in advance... thanks ...

How do you get the currently installed version of IE with Delphi?

How can I get the version IE installed in my computer? ...

Running an ASP app in IE with OpenLayers - tile requests getting redirected to ASP web server?

I'm currently developing an ASP application, which is running on an ASP.NET Development Server. When I bring up a particular page in IE (it has an OpenLayers map on it), sometimes the tiles won't load. When this happens, I've noticed that opening another tab and going to the address of the tile (or even, say, Google) results in a standa...

what does (gs.left != (t = left + "px") && (gs.left = t);) do?

IE appears to be choking on the following line 2207 from the uncompressed raphaeljs 1.4.7 (in the context of my code, of course): gs.left != (t = left + "px") && (gs.left = t); I'm unfamiliar with the != syntax in this context so I'm finding difficult to figure out what is going on or why IE might be unhappy about it. I've tested in I...

jquery chaining in IE

I have a jquery plugin that i call as such : $(function() { $('.link_class').jquery_plugin() }) with many anchor tags in the body <a href="http:...." class="link_class">link 1 </a> <a href="http:...." class="link_class">link 2 </a> <a href="http:...." class="link_class">link 3 </a> the jquery plugin is setup this way : $.fn...

Javascript Internet Explorer regex problem

Hi, i have this js code : var str = "javascript:__doPostBack('ctl00$M$List$_rli2$ctl06','')"; alert (str); var str = str.replace(/\$_rli\d+/, "$_rli" + 7); alert (str); And in IE it produces me result as follows: javascript:__doPostBack('ctl00$M$Listjavascript:__doPostBack('ctl00$M$List$_rli2$ctl06','')rli7$ctl06','') while it s...