internet-explorer-7

jQuery 1.4.2 Using .delegate() on a change event for a doropdown list

社会主义新天地 提交于 2019-12-08 03:46:57
问题 My problem is that I am not sure how to use .delegate for the following scenario: our application has a voting system to which several rounds or steps can be added. every time a new step is added there is a list of options that defines how the round/step is to be won. <select class="listOfOptions"> <option value="U">Unanimous</option> <option value="M">Majority</option> <option value="C" class="customOption"># of votes…</option> </select> now when an option is selected the following code runs

@fontface in IE7 (IETEster) not working properly

女生的网名这么多〃 提交于 2019-12-08 03:43:41
问题 I am using the Sansumi @fontface kit by Fontsquirrel.com. It works properly in IE6 and IE8 in the program IETester, but in IE7, it doesnt. My CSS Code looks like this: @font-face { font-family: 'SansumiExtraBoldRegular'; src: url('../fonts/Sansumi-ExtraBold-webfont.eot'); src: url('../fonts/Sansumi-ExtraBold-webfont.eot?#iefix') format('embedded-opentype'), url('../fonts/Sansumi-ExtraBold-webfont.woff') format('woff'), url('../fonts/Sansumi-ExtraBold-webfont.ttf') format('truetype'), url('..

Can CSS Content Property work in IE7?

蓝咒 提交于 2019-12-08 00:51:46
问题 I came across with CSS content property, which it is able to add text into element. for example: .class:after{ content: "testing"; } Unfortunately this CSS property only working in IE8 only with !DOCTYPE is defined. Is there anyway or workaround that we can make this to be working in IE7 too? without using JavaScript or jQuery. 回答1: Nope, IE7 does not support it Only chance is to use Javascript/Jquery. 回答2: I'm using this solution, which doesn't require js. .whatever { *zoom: expression( this

Why doesn't content wrap around floated image in IE7?

心不动则不痛 提交于 2019-12-07 23:59:28
See: http://hostingcouponsclub.com/codero-coupons . When I click the more<< (above the red poll part) why under IE7 the content doesn't wrap around the image? Under Firefox and Chrome, it's ok. How do I make the content wrap around the image when click the red more<< text in IE7? It's because when jQuery animates (your show/hide function uses "slow") it causes the animated elements to "gain layout" this is turn causes the text not to wrap : Reference e.g. your pr_content div lands up something like this with inline styles (in IE7, it's different in IE8) <div style="filter: ; zoom: 1; display:

IE7 z-index problem with Flash content

▼魔方 西西 提交于 2019-12-07 17:32:04
问题 I have a problem with flash content in IE7 being always over the menu items I have a structure like the following: <div id='skyscraper_flash'> <!--this id skyscraper_flash is position absolute--> <object> <!--this is wmode transparent--> </object> </div> <div id='menu'> <!--this id menu is also position absolute--> <ul> <li>foo</li> <li>bar</li> </ul> </div> Now then the last item of the menu opens it shows behind the flash content. The skyscraper is on the right of the page content. What

CSS :first-child selector IE7

混江龙づ霸主 提交于 2019-12-07 17:12:23
问题 I've got little IE7 issue. I've got following CSS code and it does not work in IE7. However, .row [class*="span"] and :first-child both work if they are not combined. Is there a way to do something similar or make it work somehow? .row [class*="span"]:first-child { margin-left: 0; } 回答1: If the first child is [class*="span"] , check to see if there's an HTML comment before it. If there is, IE7 will mistakenly think the comment is the first child, so it won't match the element you're looking

JQuery Event.target problem in ie7

二次信任 提交于 2019-12-07 14:44:18
问题 Trying to accses the class name from the event.target object. Works in FF, Safari, and Chrome. InternetExplorer 7 alerts "undefined". Any suggestions? <script type="text/javascript"> $("document").ready(function(){ $(".page").hide(); $(".page:first").show(); $("#navBar a").bind("click", linkClicked); }); function linkClicked(event){ $("div.page:visible").fadeOut(250, function(){ var $target = $(event.target); alert($target.attr("class")); //$("#" + $(event.target).attr("class")).fadeIn(250);

CSS line-height issue across browsers

自古美人都是妖i 提交于 2019-12-07 14:21:15
问题 I have some button controls with CSS line-height: 18px. Some are input controls type="button", and others are anchors stylized to appear as buttons like the input controls. In FF3.6.12/IE8 they are displaying the same height, but in IE7, the anchors are shorter in height. How do I get them to display correctly in IE7? 回答1: I took your demo: http://jsfiddle.net/DnGvF/ and added just this CSS at the end: http://jsfiddle.net/gRF9g/ /* ie7 fixes */ .Footer input[type=button], .Footer input[type

Writing Conditional Code for Internet Explorer WITHIN a Javascript file

青春壹個敷衍的年華 提交于 2019-12-07 11:50:13
问题 I'd like to know if it's possible to write conditional javascript within a javascript file for Internet Explorer. i.e. something like this... if (is IE7) { do this } else { do this instead }); I know I can load a completely different script for IE using conditional comments in the head, but I only want to change a small piece of code and so loading a completely different sheet would be an 'expensive' way to do that. 回答1: If you are using jquery you code do this if ($.browser.msie && $.browser

Mysterious number appears above Drupal-generated HTML when visiting page for first time

雨燕双飞 提交于 2019-12-07 09:10:11
问题 On a number of pages on my Drupal site a mysterious number appears above (EDIT: and below) the HTML the first time the page is visited in (EDIT) any browser. In IE7 and IE8 the problem pages are rendering incorrectly, but in the other browsers the rest of the page renders without problems. After a refresh the number usually disappears. My users tell me that the error occurs again each morning, although I've seen one case where a user refreshes and the strange number does NOT go away. I've had