Log in   Register a New Account

Accessify Forum - Discuss Website Accessibility

New to the forum?

Only an email address is required.

Register Here

Already registered? Log In

Currently Online

No registered users are online.

Alternative Image rollover to the Javascript method?

Reply with quote Is there an alternative method to creating a rollover with images, without using Javascript? I see that it doesn't work one bit in Text only browsers, and I didn't know of that... however, I have a customer who is adament on keeping the image rollovers. Are there other options for me to code this or shall I just force him to live without it? Question
Reply with quote The following article explains it well: http://exp.hicksdesign.co.uk/articles/archive/000055.php
Reply with quote The extremely crude method I used in early 2000 is as below obviously there are now a more cleaner methods around today, that don't rely upon a transparent image.

<style type="text/css">
<!--
div a { background-image: url("http://www.w3.org/Icons/valid-xhtml10.gif "); width: auto;}
div a:hover { background-image: url("http://www.w3.org/Icons/valid-css.gif"); width: auto;}
-->
<style>


<div>
<a href="#"><img src="clear.gif" width="88" height="31"
border="1" alt="" /></a>
</div>

};-) http://www.xhtmlcoder.com/

WVYFC chose the Yorkshire Air Ambulance as the main charity to fund raise for in 2006
Reply with quote As a continuation to gez's method, check out Fast rollovers, no preload needed
Reply with quote Fantastic!! Thank you guys for the responses, these are great methods, and I am happy to stear away from the Javascript rollover Surprised

That last one was so simple, it may be genius Shocked

Display posts from previous:   

All times are GMT

  • Reply to topic
  • Post new topic