...

View Full Version : mouseover & rollover conflict



toucandesign
06-02-2006, 07:54 PM
Hi everyone

New to the forum. I have been having issues with 2 functions which I am trying to incorporate into a design for a client. This isnít the first time I have run into this issue and now am seeking help.

I am attempting to use a nice mouse over piece of java I found at

http://dynamicdrive.com/dynamicindex4/imagetooltip.htm

I am having an issue while using this code and using the built in rollover function in GoLive CS.

I have 2 examples. This one has both functions (the cropped images below the large chair should have a mouse over larger image, please see the following example):
http://www.medcaremfg.com/example_with_problem.php

Example 2, with rollovers removed and mouse over now working:
http://www.medcaremfg.com/example_with_function.php

If anyone out there with coding knowledge can give a beginner some help, I would greatly appreciate it. I am not an advanced developer, mostly a designer.

Thanks

Mike

vwphillips
06-03-2006, 02:11 AM
try removing

onload="preloadImages();"

toucandesign
06-05-2006, 01:39 PM
Thanks for your post vwphillips

I removed the code you suggested but unfortunately now the rollovers don't roll over now although the mouse over does work. I put an example here:

http://medcaremfg.com/example_with_preloadremoved.php

Any ideas?

vwphillips
06-05-2006, 11:25 PM
busy but back tomorrow maybe

Arty Effem
06-06-2006, 06:06 PM
Thanks for your post vwphillips

I removed the code you suggested but unfortunately now the rollovers don't roll over now although the mouse over does work. I put an example here:

http://medcaremfg.com/example_with_preloadremoved.php

Any ideas?

you have
window.onload = initTip; plus

<body onload="preloadImages();" ......
One will override the other.

Delete or comment-out: window.onload = initTip;

And in the body tag, have:

onload="preloadImages(); initTip()"

That should get it going for now, but that third-part code does not impress.

toucandesign
06-06-2006, 10:22 PM
Awsome Arty :thumbsup: . Thanks. All fixed. Problem solved.


http://www.medcaremfg.com/pg_12CPA.php



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum