Doing a rollover just using a CSS class is considerably less weight on a page than the equivalent javascript. I've used this approach with several different projects, for instance: http://www.lyonsmorris.com/lyons/Portfolio.htm - that page uses css styling to handle the rollover effect for the top navigation bar, and swapping images using lists and background image elements on the navigation bar to the left. Its still workable (ie degrades nicely) with all styling and javascript turned off.
larry On 2/25/06, Tony <[EMAIL PROTECTED]> wrote: > what same thing? onClick? > i just used that for shits and giggles, no real reason, i get tired of > <a's all the time, i like to spice it up with some onClicks :) > > tw > > > On 2/25/06, Larry C. Lyons <[EMAIL PROTECTED]> wrote: > > Tony, you can do the same thing with some CSS and a list. No javascript > > needed. > > > > larry > > > > On 2/25/06, Tony <[EMAIL PROTECTED]> wrote: > > > On 2/25/06, Jochem van Dieten <[EMAIL PROTECTED]> wrote: > > > > Why are you asking for a site check while there are several validators > > > > available that can > tell you there are still problems to be solved? > > > > The issue with all the onXXX event handlers is right there in the > > > > accessibility checklist: > > > > > > because i didnt know about these :) > > > > > > > http://www.contentquality.com/mynewtester/cynthia.exe?rptmode=2&url1=http%3A%2F%2Fwww.drawbridgevillas.com%2F > > > > And there are also problems in your CSS: > > > > http://jigsaw.w3.org/css-validator/validator?profile=css2&warning=2&uri=http%3A%2F%2Fwww.drawbridgevillas.com%2F > > > > > > > > Isn't validating your code build into your development process? > > > > > > in my world everyone uses ie or ff. so, no it isnt. if it works in > > > my two browsers > > > then im good. however, im trying to get better at this process, so > > > soon it will be! > > > t'was why i asked the list. > > > > > > tw > > > > > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:5:198100 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/5 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:5 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.5 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54
