internet-explorer-7

jQuery bug? .appendTo() not working in IE7

百般思念 提交于 2019-12-05 05:40:17
I am trying to create an option transfer plugin for jQuery. I have the basic functionality working in opera, firefox, chrome & safari but IE7 is failing to co-operate. The transfer functions in IE7 appear to operate very sporadically and incomprehensibly. I have created an example page to illustrate my problem . Can anyone see where I am going wrong? Thanks, This doesn't look like an .appendTo()-error-in-jQuery as much as an IE7-has-superfunky-select-box-behavior problem. This workaround seems to make it behave: .parent() .click(function () { $selectBox1.find('option:selected') .appendTo(

IE7: How to make TD float?

一曲冷凌霜 提交于 2019-12-05 02:24:17
问题 I want a set of <td> s to float left in IE7. They should break onto the next line if the window is too small. CSS table { width: 100%; } td { border: 1px solid red; } tr.f td { width: 500px; float: left; } HTML: <table> <tr class="f"> <td>1</td> <td>2</td> <td>3</td> </tr> </table> This works in IE8 and Firefox, but not in IE7. What am I doing wrong? Page rendering mode is "IE7 (Quirks)" or "IE7 (Standards)". I'm trying with IE8, though, trusting that IE7 rendering mode is what it says. "IE8

Negative margin causes border to disappear in IE7

北城以北 提交于 2019-12-05 02:11:37
问题 Example: http://jsfiddle.net/xUrDc/ I'm trying to surround each li with a border exactly one pixel wide. In order that the lines meet properly, I'm setting margin-top:-1px on each li (Otherwise the border is too thick between each). When I set my browser to IE7 in debug mode, the border at the top disappears. Can anybody tell me why this might be the case or suggest a better way to achieve the look I want? 回答1: Ignoring the possibility of doing it a different way, you can fix IE7 by adding

Is it true that IE7 doesnt support indexOf javascript? [duplicate]

南笙酒味 提交于 2019-12-05 01:33:50
This question already has answers here : Closed 7 years ago . Possible Duplicate: .indexOf function on an array not working in IE7/8 using JavaScript Im developing for IE7 and have some troubles with the javascript function indexOf. After browsing some sites I read that IE7 doesnt support indexOf. Is this correct, and if so, whats the easiest way to check if a string contains a given string? var test = window.location.toString(); test = test.toLowerCase(); var idString = "28A3CASDGAGHTSDASF34134"; idString = idString.toLowerCase(); if(test.indexOf(idString) > 0){ alert('worked'); } Edit: Most

IE7 contentEditable word wrapping

假如想象 提交于 2019-12-05 01:09:46
I have the following code: <html> <style type="text/css"> DIV { display:inline; border: solid red 1px; } .editable { background:yellow; } </style> <div class="editable" contentEditable="true"> This is test text. This is test text.This is test text.This is test text.This is test text.Thihis is test text.This is test text.</div> <div class="editable" contentEditable="true"> short </div> <div class="editable" contentEditable="true"> This is test text.This is test text.This is test text.his is test text.Thihis is test text.Thihis is test text.Thihis is test text.Thi </div> And I need IE7 (IE6 not

Element doesn't appear in IE7 until I edit it through Developer Toolbar

可紊 提交于 2019-12-04 23:59:57
问题 This one has me stumped - I have an element on my page with an absolute position, inside of a container with a relative position. In all browsers except IE7, it appears in the correct spot with no issues at all. In IE7, the element doesn't appear until I add or edit any of its CSS properties in the Attributes tab of the Developer Toolbar (even properties that have nothing to do with its visibility or position, like color ). Once I do so, it then appears correctly - and even remains visible if

How to prevent scrollbars from overlapping the content?

拈花ヽ惹草 提交于 2019-12-04 23:54:24
I have a block of preformatted code (<pre>) which overflows horizontally so there is an horizontal scrollbar to allow the user to view the content. overflow: auto; However, in IE7 (maybe other IE versions), the scrollbar overlaps the last line of my content (which is especially irritating when there is just one line of content). I've tried the solution listed here , but it didn't work. The only solution that works is to use overflow: scroll; which adds a scrollbar to all my preformatted sections which is just awful. Note: It works fine in Firefox 3 and Google Chrome. Update I've found a

Using Angular 2 with older browsers thanks to TypeScript?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 22:59:09
Since the Angular 2 team is using Typescript for it's build, would it be a feasible assumption that they could compile a version of Angular 2 that would work on older browsers? Edit 2: It appears the Angular team has decided to support some non evergreen browsers. Per Brad Green (of the Angular team): What browsers versions will Angular 2 support? There's a new build widget with some hints on https://github.com/angular/angular Currently, the Readme shows IE9 and up. Angular 2 will only support modern browsers: Modern browsers means the set of browsers known as ‘evergreen’ or always

jquery lightbox plugin: Bug on IE7 and IE8!

前提是你 提交于 2019-12-04 21:31:20
I wonder if anyone has used this lightbox plugin and encountered a bug on IE < 9 ? It keeps crashing my IE8, and IE7, but it is ok on IE9. Any idea how to fix it? or any other alternatives? I would like to use this lightbox plugin because it allows me to embed videos from youtube and vimeo. Other lightbox plugins which allow me to run videos will be perfect! Thanks. EDIT: Found the bug - jquery-1.6.min.js !!! It works fine now with - https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js I always encounter buggy things with jquery-1.6.min.js! Hating it! Regarding lightboxing I always

Scroll bug in ie7 and ie9 when using css3pie gradient

故事扮演 提交于 2019-12-04 16:56:32
i use css3pie for my page to use css3 effects in the ie browsers. Everything works fine. But now i have a field on my page that has a horizintal scrollbar. In ie8 everything works finde. But in ie7 i cant scroll dragging the scrollbar. I can only use the arrows on the left and right. and in ie9 i cant scroll.. i also cant drag the scrollbar. but if i click on the arrows on the left and right the scrolling element directly jumps to the left back.. i use pie v1.0beta5 i found that issue on many sites but there was no solution that works for me.. i have a wrapper arount my page that has a linear