Search found 13 matches

by JMM
Mon Jan 12, 2004 3:47 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: JavaScript error in gpos() from call to popup()
Replies: 6
Views: 5088

. . . I recommend editting the image slightly.
That's far from an ideal way to accomplish the alignment. It turns out the imageposition property worked when itemheight was also used.

I'm still getting errors from the menu code though.
by JMM
Mon Jan 05, 2004 4:57 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: JavaScript error in gpos() from call to popup()
Replies: 6
Views: 5088

Actually thats not entirely correct. In javascript you MUST escape double quotes if they are contained in a string. you cannot say someString = "Hello "my" friend"; You need to escape them. You must escape double quotes if they are in a double quoted string, or single quotes if ...
by JMM
Fri Jan 02, 2004 10:43 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Still stuck on border and parse error
Replies: 4
Views: 3223

The parse error is because the // that you're using in your stlyesheet is not right. CSS comments use the /* comment */ syntax. Other than that, in an internal stylesheet like yours, syntactically you're allowed to use HTML comments around the entire stylsheet, e.g. <style> <!-- .whatever { text-ali...
by JMM
Wed Dec 31, 2003 7:16 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Vertical alignment of images in menu items
Replies: 2
Views: 2601

Thanks, Kevin, I missed that, but it too has no effect. What's the deal? I tried it in my style definition and in my menu items -- no effect.

Thanks for the suggestion, but I'm really going to need the menu system to do what it's supposed to.
by JMM
Wed Dec 31, 2003 4:47 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Vertical alignment of images in menu items
Replies: 2
Views: 2601

Vertical alignment of images in menu items

How do you vertically images in menu items? My menu items are declared like so: aI('image=/inside/images/layout/top_navbar/divider.gif; . . . '); I've tried the 'align', 'imagealign', and 'valign' properties (in this case with the value of "top") in my style definition, my menu definition,...
by JMM
Tue Dec 30, 2003 4:34 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: imagewidth / imageheight backwards
Replies: 2
Views: 2617

That's how I had it before. Apparently they recommend that you not do that: http://forum.milonic.com/viewtopic.php?t=3352 Re: the stylesheets: I setup most of my sites with two stylesheets that are used throughout the site -- one that contains everything related to the layout and design of the site,...
by JMM
Tue Dec 30, 2003 4:17 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: JavaScript error in gpos() from call to popup()
Replies: 6
Views: 5088

There are 2 major problems with your menu_data.js file. The first problem is that you are using double quotes inside a single quoted string. Although this may work, it isn't supported and hasn't been tested yet so we can't say for sure that it works on all browsers. What do you mean, that it isn't ...
by JMM
Mon Dec 29, 2003 11:44 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: JavaScript error in gpos() from call to popup()
Replies: 6
Views: 5088

JavaScript error in gpos() from call to popup()

I had my site setup and working fine with the menu, whatever version I downloaded in early to mid November. Yesterday I downloaded the latest version of the menu to see if it would correct a problem that I ran into (which it didn't -- http://forum.milonic.com/viewtopic.php?t=3339) and today I notice...
by JMM
Mon Dec 29, 2003 3:59 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Programatically / dynamically set properties
Replies: 5
Views: 3587

Thanks for the replies, sorry I let this lapse. The reason I asked originally is because I wanted to use the same menu as part of two different designs. Everything about the menu would be the same except for the positioning, as controlled by the top and left properties, so I was hoping I could load ...
by JMM
Fri Dec 26, 2003 8:55 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: imagewidth / imageheight backwards
Replies: 2
Views: 2617

imagewidth / imageheight backwards

When I set the imagewidth and imageheight menu item properties, the values are applied backwards -- the image is displayed in the browser with the value entered for imagewidth as the height and the value entered for imageheight as the width. I just downloaded the latest version of the menu code and ...
by JMM
Thu Dec 18, 2003 8:40 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Programatically / dynamically set properties
Replies: 5
Views: 3587

Programatically / dynamically set properties

Is there a way to programatically set individual menu and style properties and menu items? E.g. after setting up a menu using the normal syntax with(milonic=new menuname("facility")){ style=VHRC_sub_menu_style; top="offset=+4"; aI('text=Directions;url=/inside/facility/directions....
by JMM
Wed Nov 12, 2003 7:18 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Submenus remain fixed relative to browser window in Netscape
Replies: 6
Views: 4632

Thanks to everyone for your input.
Andy
The following snippet should solve it for now
Yes, that solved that particular problem. Thanks!
by JMM
Tue Nov 11, 2003 11:04 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Submenus remain fixed relative to browser window in Netscape
Replies: 6
Views: 4632

Submenus remain fixed relative to browser window in Netscape

I apologize if this issue has been addressed previously. I did do a search, but it is difficult to tell whether people are describing the same problem I am experiencing. I am using menu Version 5.0 Release Candidate 22.0 Built: Tuesday November 11 2003 - 11:38. I have a horizontal primary menu that ...