Menu
  • HOME
  • TAGS

jQuery code wont work in IE7

javascript,jquery,internet-explorer,internet-explorer-7

I found that an internal/in-page href attribute on IE7 looks like this: http://localhost:8080/MyProject/mypage#openModal instead of #openModal So,instead of using this if($(this).attr("href")==="#openModal") I used: if($(this).attr("href")==="#openModal" || $(this).attr("href") ===(window.location.href+"#openModal")) ...

Alternative to background-size using IE7

css,internet-explorer-7

You can use : filter: progid:DXImageTransform.Microsoft.AlphaImageLoader( src='images/logo.gif', sizingMethod='scale'); -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader( src='images/logo.gif', sizingMethod='scale')"; But if you use sprites you can have some issues... Sources : AlphaImageLoader Filter @microsoft...

IE7 and float:right

html,css,internet-explorer-7

The first div takes up the whole width of the parent element. You can float the first element to the left, and the second to the right, then use overflow on the parent element to make it contain the children: #Item { overflow: hidden; border: 1px solid #ccc; } #label...

Enter keydown and click event update image in ie 7

javascript,jquery,html,image,internet-explorer-7

Change <a id="nextBtn" class="doc_right" onclick="openDocNextPage()" href="javascript:;" ></a> to <a id="nextBtn" class="doc_right" onclick="openDocNextPage(); return false;" href="#" ></a> ...

How to use a capture group with String.split in old IE versions?

javascript,regex,split,internet-explorer-7

If you're OK with a feature test and function to replace a non–capturing split, try the following. It tests for support when the script is loaded and assigns an appropriate function to nonCaptureSplit, so the test is only done once. The pattern will need to be escaped if you are...

Using Angular 2 with older browsers thanks to TypeScript?

javascript,internet-explorer-8,internet-explorer-7,typescript,angular2

Angular 2 will only support modern browsers: Modern browsers means the set of browsers known as ‘evergreen’ or always automatically updated to the latest version. Building for these browsers let us drop many hacks and workarounds that make AngularJS harder to use and develop on than it needs to be....

through html and css resizing background image for ie8

javascript,html,css,internet-explorer-8,internet-explorer-7

There are various methods. One, you could use CSS 'hacks' to achieve different results. For example. .myElement { background-image: url('myimage-600px.png'); /* Modern browsers */ background-image: url('myimage-400px.png')\9; /* Internet explorer 8 and lower */ *background-image: url('myimage-200px.png'); /* Internet explorer 7 and lower */ } Alternatively, you could use media queries, and...

Possible to reload the page when a cross domain child popup window is closed? IE7+

javascript,internet-explorer,popup,internet-explorer-7,cross-domain

If you can add code to the popup, add this in the parent window window.name="mainwindow"; and add this in the popup window.onbeforeunload=function() { window.open("http://openersite.com/whatever","mainwindow"); } ...

input[checked] CSS selector on radio input is not matching in IE7

css,internet-explorer-7

This is weird. IE7 supports attribute selectors (at least basic ones). It must be something specific to the checked attribute. If you change the checked attribute to ANY other attribute name (valid or not) the selector works. Just try deleting the 'ed' to make it 'check' and both the existence...

ie7 with bootstrap CSS issue with div and positioning

html,css,twitter-bootstrap,internet-explorer-7

As knitevision stated in his comment; IE 7 is not supported by Bootstrap. IE 8 and 9 are partially supported. (IE 8 needs responsive.js for responsive features to work) But, there are some tricks to make it work if you absolutely need it, see this page: Bootstrap 3 for IE7...

IE7 jquery selector returns “Failed”

javascript,jquery,jquery-selectors,internet-explorer-7

Apparently, this fixes your issue, setting attribute selector before class one: $('textarea.classname, input[type=text].classname').first().focus(); I cannot find any relevant link regarding this behaviour, only that DOCTYPE must be specified for IE7 to handle attribute selector, which seems unrelevant to your issue....

IE7: Extra space caused by Clearfix container with element `float: right;` and margin

html,css,html5,internet-explorer,internet-explorer-7

I have not found an explanation or someone else encountering this same issue. But I have found a solution that works great and unfortunately is a little bit hacky. Add this zoom declaration side by side the zoom: 1; on the .block parent element. The expression(dynamic property) value works IE7-...

How to avoid wrap in IE7 when I have two ul in a navigation?

html,css,css3,internet-explorer,internet-explorer-7

When using floats, floating elements should come first in DOM tree. <div id='navigation'> <ul style='float:right;'> <li><span> leftspan </span></li> <li><a href="http://www.google.com" target="_blank">google</a></li> <li><a href="http://www.apple.com" target="_blank">apple</a></li> </ul> <ul> <li><span> leftspan </span></li> </ul> </div> This should work in IE7 (It works on emulator)...

Make IE7 compatible using CSS conditional comment

javascript,jquery,internet-explorer-7,x-ua-compatible

Your second one does it! So load it first! <!--[if lt IE 9]> <script src="../../common/js/jquery-2.1.1.min.js"></script> <![endif]--> <!--[if IE 7]> <script src="../../common/js/jquery-1.7.1.min.js" type="text/javascript"></script> <![endif]--> Or make the 2.1.1, greater than IE 7! <!--[if gt IE 7]> <script src="../../common/js/jquery-2.1.1.min.js"></script> <![endif]--> ...

Weird L shaped character appearing in IE7 and IE6

html,internet-explorer-7,compatibility

There are two parts to the solution I found for this. Just to be clear, I was using the text (HTML) editor, not the WYSIWYG editor. Firstly, in one of the other instances where there was this L shaped character, there was a single space after the and before the...