Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

onmouseover --need onmouseout?

Status
Not open for further replies.

valday

Programmer
Feb 14, 2011
5
US
I had many problems getting the script on the home page of this site to work properly, but thanks to this forum, I was able to pull it off, I think. The JS I refer to is the onmouseover when you hover on the menu thumbnails in the right vertical column to show the larger img in the left column. Could someone do me a favor and suggest whether or not I should add an onmouseout-type event so that the larger image doesn't just "stick" when one moves away from the thumbnails?
I just launched this today and I am having second thoughts about how it works.

Any advice is greatly appreciated.

 
Generally, it's good practice to include the pair of functions together. However, what would you change it to? Likely nothing better than what's already displayed. A user would find it very distracting if the large image kept changing back to something else. Leave as is. Well done.
 
Concur.

-Geates



"Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live."
- Martin Golding

"There are seldom good technological solutions to behavioral problems."
- Ed Crowley, Exchange guru and technology curmudgeon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top