HighDots Forums  

Re: Layers and Behaviors

Website Design comp.infosystems.www.authoring.site-design


Discuss Re: Layers and Behaviors in the Website Design forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
David Dorward
 
Posts: n/a

Default Re: Layers and Behaviors - 06-09-2005 , 06:29 PM






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';"
Quote:
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


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.