This is a discussion on IE is not recognising my onMouseOver within the HTML, DHTML and CSS forums, part of the Programming / Scripting / Coding category; If You go to: http://www.nanothree.net/layout/csstest.php in FF all the mouseovers work fine but if you view it in IE all ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| | #1 (permalink) |
| Active Member | If You go to: http://www.nanothree.net/layout/csstest.php in FF all the mouseovers work fine but if you view it in IE all of them work fine except for portfolio. The portfolio image tag runs over two lines in the source, but i cannot move it down because it brewaks my layout. I thought whitespace inside an HTML document didnt matter? |
| | |
| | #2 (permalink) |
| Super Moderator | 404 ![]() Please confirm the URL
__________________ Alex Monaghan - Monaghan Consultants Ltd Web hosting, ADSL, IT & Database consultancy Custom Web hosting on UK or USA servers using Linux (cPanel) or Windows (DotNetPanel) Mobile Phone Ringtones, Logos, Java Games & more |
| | |
| | #3 (permalink) |
| Active Member | oops i recently updated it, the new url can be found at http://www.nanothree.net/layout/index.php |
| | |
| | #5 (permalink) |
| Senior Member | Whitespace is ignored when the page renders, your right. But for the reasons of trying to fix problems, whitespace is much appreciated. So this is the offending code. Code: <a href="index.php?request=services"> <img src="images/nav/services.gif" alt="Services" name="services" width="60" height="9" border="0" id="portfolio" onMouseOver="imageOver(this.name)" onMouseOut="imageNormal(this.name)"> // why is this id set to portfolio? </a> <img src="images/nav/nav04.gif" alt=" " width="35" height="9"> // spacer <a href="index.php?request=portfolio"> <img src="images/nav/portfolio.gif" alt="Portfolio" name="portfolio" width="62" height="9" border="0" id="portfolio" onMouseOver="imageOver(this.name)" onMouseOut="imageNormal(this.name)"> </a> |
| | |
| | #7 (permalink) |
| Senior Member | Thats in reguards to services, it doesn't touch portfolio. Besides, the id is used for the css not the javascript rollovers. The name is what is important, and frankly I am completely stumped. I pulled up your javascript file and went through the process as if I was a browser and saw no problems in reguard to the portfolio rollover. |
| | |
| Tags |
| onmouseover, recognising |
| Thread Tools | |
| Display Modes | |
| |