onmouseover and popup function - tearing my hair out!

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
Post Reply
sirhendo
Beginner
Beginner
Posts: 3
Joined: Fri Nov 14, 2003 10:36 am

onmouseover and popup function - tearing my hair out!

Post by sirhendo »

Hi All,

I'm a new member to the Milonic crowd and am a big fan and I'm running RC 24. Trouble is, I've read the docs, searched the forum and I still can't get my menus to show. I am literally tearing my hair out (and I don't have much left).

Can someone help? Here's the link:

http://www.venturemarketing.com/default ... icle&ID=87

The menus seem to be rendering OK because if I set allwaysvisible=1 they show in the top cornew but they don't show when I mouse over the images.

Everything seems to be in order but I just can't seem to figure it out. Please help!

Thanks heaps!

SirHendo
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Hi,

Looks to me like your onmouseover syntax is wrong in your <a> tags

Code: Select all

onmouseover=popup("About_Us", "About_Usmenu")
should be:

Code: Select all

onmouseover="popup('About_Us', 'About_Usmenu')"
Also, instead of using the <a> tag, you could use onmouseover and onmouseout right in the <img> tag, although if memory serves, NS4 might have issues with that. Then again, I can't get the popup() function with an image id to work in NS4 anyway. Here's another thought: instead of using separate images as your main menu, you could build the same look with standard horizontal menus using only images and no text. That way, the menu system would do the work of opening the first-level submenus and you could also take advantage of the menu's built in rollover effects. Just a thought...

Hope that helps,

Kevin
sirhendo
Beginner
Beginner
Posts: 3
Joined: Fri Nov 14, 2003 10:36 am

Post by sirhendo »

well fancy that!

Thanks heaps for the help there - the alignment isn't quite right but at least I can tweak it from there.

I am going for a pint!

Cheers!

SirHendo

PS - Kev...this post is redeemable for 1 pint.
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

Alright, drinks as payment for helpful posts...hmm...imagine the possibilities! And you think this forum is hoppin right now! :lol:
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

We are talkin' drinks at Andy's pub, of course... :D
John
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

sirhendo wrote:PS - Kev...this post is redeemable for 1 pint.
Name the place! I travel a bit... you never know... I might just show up!

Anyway... just glad to help save someone else's hair. Now if only I could figure out how to put some of my own back in... ;)

Kevin
sirhendo
Beginner
Beginner
Posts: 3
Joined: Fri Nov 14, 2003 10:36 am

Post by sirhendo »

Well - I'm in Perth, Australia but no, we don't drink Fosters, so you'll have to select another type of beer - your call!

:D
User avatar
kevin3442
Milonic God
Milonic God
Posts: 2460
Joined: Sat Sep 07, 2002 12:09 am
Location: Lincoln, NE
Contact:

Post by kevin3442 »

Next time I'm headed to Perth, I'll give you a holler!

Kevin
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Jeez - Perth, UK, Nebraska, New York, Arizona, and who knows where else...

Got it. The only way to get this bunch together is to hop a cruise, maybe in the Carib - The Milonic DHTML Stable Bums Bash... :roll:
John
Post Reply