tmccarthy wrote:
Quote:
Thanks for allowing me onto the list. |
This is not a list, this is Usenet.
http://www.faqs.org/faqs/usenet/what-is/part1/ Quote:
I would like to simulate a Palm Pilot program
I would like to show-hide layers when there is a mouseover a hotspot. The
layer to swap in would be the negative of the button on the first |
"Layer" is an ill-defined term and is usually best avoided in the context of
the web.
http://dorward.me.uk/www/layers/
In this case you don't need to use layers under any common definition of the
term. You want to swap the image for a similar image with a different set
of colours on it when the mouse is over the image.
<img
src="default_image.png"
width="150"
height="150"
onmouseover="this.src='negative_image.png';"
onmouseout="this.src='default_image.png';"
You can make this appear more responsive using something like:
http://www.dithered.com/javascript/image_preloader/ Quote:
I know that I can make a link that works just
fine but this sends the user to a new page. I want to stay on the same
page, so I don’t have to have an annoy refresh. |
Linking to a new page is easy and accessible... but failing that, take a
look at
http://dorward.me.uk/tmp/showHideTab.html
You should be able to adapt it easily enough. Each of the list items becomes
one of the icons, while the three blocks of text become different states of
the application.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is