![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
CSS Attribute Selectors
Hi,
I think I have identified a bug in the way IE7 handles CSS Attribute Selectors, when the attribute is manipulated after the page has loaded. CSS span[foo="bar"] { color: #00ffff; } HTML <span id="test">Foo Bar</span> JavaScript var test = document.getElementByID("test"); test.setAttribute("foo", "bar"); IE7 will not change the colour of the text until you move the mouse. The only way to make the change happen automatically, is to attach the code to a mouse event. Rich ---------------- This post is a suggestion for Microsoft, and Microsoft responds to the suggestions with the most votes. To vote for this suggestion, click the "I Agree" button in the message pane. If you do not see the button, follow this link to open the suggestion in the Microsoft Web-based Newsreader and then click "I Agree" in the message pane. http://www.microsoft.com/communities...orer. general |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|