internet-explorer-7

Prevent text selection when dragging from outside target in IE7/8

回眸只為那壹抹淺笑 提交于 2019-12-24 03:35:12
问题 It has been discussed how to disable text from being selected: How to disable text selection highlighting using CSS? However, I have yet to find a solution that blocks the user from selecting text when dragging from outside the intended target. I'm looking for a solution that works in IE 7/8. Any ideas? 回答1: The IE8- onselectstart event and unselectable attribute solutions have already been discussed. The CSS solution has been published as well. Here is the gist: <!-- save this file as

JQuery .show not working in IE7

淺唱寂寞╮ 提交于 2019-12-24 02:39:16
问题 This .show and .hide works great in Firefox 3 but not in IE 7. When I click < in the list in IE the span hides but does not show again when I select Between again. Am I doing something wrong? <select id="lst" onchange="onselectchange();"> <option>Between</option> <option><</option> </select>    <span id="spanAnd">And</span> <script type="text/javascript"> function onselectchange() { var lst = document.getElementById('lst'); var sp = document.getElementById('spanAnd'); if (lst.value ==

XMLHttpRequest in IE-7

柔情痞子 提交于 2019-12-24 01:54:51
问题 I'm creating XMLHttpRequest as follows: function checkDependencyFormFilledStatus(appName,formName){ var xmlhttp; xmlhttp=new XMLHttpRequest(); xmlhttp.open("GET","checkFormDependency.action formName="+formName+"&applicationName="+appName,false); xmlhttp.send(); var dependentFormEmptyStatus = Ext.JSON.decode(xmlhttp.responseText); alert(xmlhttp.responseText); return dependentFormEmptyStatus; } The response returned by the object is dependent on the database which the action class is using.

Why is ie7 ignoring the left-margin on my first list item (only)?

蓝咒 提交于 2019-12-24 00:43:14
问题 http://blog.helpcurenow.org/test/mockups/mar2010/lp.html In the above landing page, I have an offers box that has four donation buttons. The first three are targeted with individual id's and given a left margin of 13px. All is well in every browser I'm viewing in except ie7. For some reason ie7 is ignoring the left-margin of 13px on the first list item, and only on that one. The strange part is when I open ie's developer tools (not actually viewing in ie7, but using ie8 in ie7 mode) and

IE7 hover on div being lost when you touch a child element of that div

懵懂的女人 提交于 2019-12-23 23:15:35
问题 In Theory I have a div (container) that when hovered over one of its child divs appear (drop-down). Drop-down contains links images etc. and when I leave it and container then drop-down disappears. <div id="container"> <div>Hover over me to see extra stuff</div> <div id="drop-down"> <div> <img /> </div> <div> <a /> <p><span>Info</span><span>More</span></p> </div> <img /> </div> </div> Heres the jQuery $('#container').hover( function(){ $(this).find('#drop-down').addClass('hover'); }, function

Internet Explorer IE7 + IE8 ignoring CSS rule with nth-child in comma separated selector list

若如初见. 提交于 2019-12-23 20:27:56
问题 I just spent an hour debugging a strange CSS bug that was occuring in IE7 and IE8 and wanted to share my findings: Question: Why is IE7/IE8 not picking up the later rule and overwriting the previous one? Example markup looks as follows: <table> <caption>Things on planet Earth</caption> <tbody> <tr class="odd"><td>Monkeys</td></tr> <tr><td>Tennis</td></tr> <tr class="odd"><td>Fridge Magnets</td></tr> <tr><td>Humous</td></tr> </tbody> </table> Boiled-down example CSS looks like this: tr.odd{

transparent background issue IE8, IE7

淺唱寂寞╮ 提交于 2019-12-23 19:22:56
问题 use an icon (.png transparent background) for my menu. There isn't any problem for IE9, Chrome,Firefox,safari,opera.But if I open page with IE7 or IE8 there is a broken black border around image. CSS codes; .menu-item1{ background:url(img/spriteimage.png) no-repeat 0 0; height:20px; width:20px; opacity:0.5; } How can I fix this? 回答1: IE7 and IE8 have native PNG support for alpha-transparencies, but it falls to pieces as soon as opacity comes into the picture Try faking a background image or

How to enforce internet explorer to use encoding given in meta tag?

♀尐吖头ヾ 提交于 2019-12-23 17:26:07
问题 I'm trying to prepare a demo html page with mixed english and arabic content. Basically it contains a small table with english phrases on the left, and the arabic translation on the right side. Because I don't understand arabic, I took the first three characters of the arabic alphabet from the Unicode reference. First attempt, using the character entities (ا ب ت): it works (display: ا ب ت). The I tried to enter the arabic characters directly in the document. To enable this, I saved the

Design a login form so IE will remember login data

风流意气都作罢 提交于 2019-12-23 16:47:40
问题 My company website, which I develop, requires a login using a form. Firefox correctly asks for and remembers login details, but test instances of IE6, IE7 do not remember either the username or password, and IE8 will give a dropdown of usernames previously used, but will not remember the password. What is it about the design of my password form that allows or prevents IE from prompting? Can I alter the design of my page so IE will remember username/password form data (assuming the user has

:hover pseudo-class of CSS does not work in IE7

喜欢而已 提交于 2019-12-23 11:50:14
问题 I have problem with the :hover pseudo-class of CSS. I am using it like tr.lightRow:hover { color:red } It works in Safari and Firefox but it does not work in IE7. Please help me. 回答1: IE7 supports :hover, at least in standards mode. It may not in quirks mode. 回答2: IE has a history of bad CSS support. Originally only a tags supported :hover . And also you couldn't have something like a:hover span to indicate that only the span tag should change when hovering the parent a . If you want correct