Hover/Text Decoration Weirdness
Hi there,
Im relatively new to CSS, so these questions may have really simple answers.
1. I have written a javascript to unhide a div and float it into view when the user clicks a text link, however when I set the active link font weight attribute to bold it stops the javascript from firing the first time the link is clicked, yet once it has gone bold from the first click and you click again, the javascript fires and lo and behold my menu floats into view!
Edited 05/08/05 15:37 GMT
- Further testing has shown that when you set the font weight attribute to bold, if the font has to flow to the next line to fit in order to fully display, any javascript functions called by the link will not fire until the second click-
2. Not sure if this is a javascript or CSS issue, but I have written a script that renders an animated menu that slides into view and then unhides and slides submenus into view. This menu relies on CSS for its look and feel. The script uses timers to increment and decrement sizes and shapes of the various submenus. What I have noticed though is if you run your mouse over the links that fire the submenus into view too quickly, some of them will get 'stuck' and go all strobey and flickery. Bearing in mind the bad behaviour of CSS as mentioned above, is this something to do with CSS or Javascript, or could it be an IE bug? I don't think its my timers conflicting as each timer is cleared after each use. Any suggestions would be helpful and most appreciated.
Thanks all!
__________________
\'sync\' <cr>
The name specified is not recognized as an internal or external command, operable program or batch file.
|