Hi John,
The menus in the sample work because their X and Y coordinates are specified. Unfortunately for me, the locations of the HTML links on my page are dynamic, and therefore unpredictable. That's why I was encouraged to read that the command
onmouseover("mainmenu",1)
would cause the menu to ...
Search found 6 matches
- Mon Jul 26, 2004 4:14 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: "MouseY is undefined" error
- Replies: 2
- Views: 2561
- Sun Jul 25, 2004 2:22 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: "MouseY is undefined" error
- Replies: 2
- Views: 2561
"MouseY is undefined" error
Hi,
I'm trying to get a menu to display when I move the mouse over an HTML link. I'm using this code:
onmouseover=popup("mainmenu",1) onmouseout=popdown()
When I move the mouse over the link, I get a JavaScript error that says "'MouseY' is undefined." How do I "define" MouseY?
Thanks.
Gary
I'm trying to get a menu to display when I move the mouse over an HTML link. I'm using this code:
onmouseover=popup("mainmenu",1) onmouseout=popdown()
When I move the mouse over the link, I get a JavaScript error that says "'MouseY' is undefined." How do I "define" MouseY?
Thanks.
Gary
- Mon Nov 17, 2003 7:07 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Problem with url and relative paths
- Replies: 5
- Views: 8225
- Sat Nov 15, 2003 4:16 pm
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Problem with url and relative paths
- Replies: 5
- Views: 8225
Could I use an environment variable?
Set up a variable in your data file that defines your ROOT directory.
That's a great idea! Thanks. That solves the problem, but I still have to hard-code the root address in the "menu_data.js" file. I'd like to set the root variable automatically by accessing an environment variable. That way ...
That's a great idea! Thanks. That solves the problem, but I still have to hard-code the root address in the "menu_data.js" file. I'd like to set the root variable automatically by accessing an environment variable. That way ...
- Fri Nov 14, 2003 3:45 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: Problem with url and relative paths
- Replies: 5
- Views: 8225
Problem with url and relative paths
I'm using asp to generate dynamic pages. Each page has the same header at the top, and the milonic menu is included in that header. This works well as long as the .asp file is located in the root directory. But some of my files are not in the root directory, and that causes a problem. An example ...
- Fri Nov 14, 2003 3:36 am
- Forum: Help & Support for DHTML Menu Version 5+
- Topic: onbgcolor frozen
- Replies: 0
- Views: 1749
onbgcolor frozen
Strange problem: I've noticed that when I move my mouse cursor rapidly up and down a drop-down menu on this website, the background color changes as quickly as I can move the cursor. But on my own website (currently being hosted only on my laptop with Windows XP Professional and IIS), the background ...