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)...
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...
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...
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...
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...
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...
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 ...
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 ...
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...
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...
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">
...
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...
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.
...
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?
...
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 can I get the version IE installed in my computer?
...
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...
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...
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...
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...