Search found 24 matches

by Ginolard
Mon Feb 06, 2006 4:49 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: MeunEditAPI not working with latest version?
Replies: 2
Views: 2486

MeunEditAPI not working with latest version?

I use the menueditapi.js plugin (v1.1) with verion 0.5739 of the menu and it works fine.

I just installed v0.5742 of the menu system and noticed that the dynamic deletion/insertion of menu items stopped working.

I installed v2.2 of the menueditapi.js but that hasn't resolved the problem.

Are ...
by Ginolard
Mon Jan 23, 2006 9:38 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problem with ChangeItemProperty plugin
Replies: 10
Views: 8422

I can only assume it's because I am using it within an HTA rather than on a standard webpage. I've been trying to get a simple HTML page running that just displays the menu with two buttons (one to enable to the entire menu and the other to TRY and disable this single menu item) but I can't even get ...
by Ginolard
Fri Jan 20, 2006 10:29 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problem with ChangeItemProperty plugin
Replies: 10
Views: 8422

Kevin,

Did you find anything suspicious with the code I am using?
by Ginolard
Wed Jan 18, 2006 9:51 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problem with ChangeItemProperty plugin
Replies: 10
Views: 8422

Here's the function I'm using. I don't know if it makes a difference but I've added it as part of the menueditapi.js (the one that allows adding/deleting of menu items on the fly). The menueditapi is then included at the <head> of the HTA.

I'll try and put a simple HTML page together somewhere in ...
by Ginolard
Mon Jan 16, 2006 9:26 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problem with ChangeItemProperty plugin
Replies: 10
Views: 8422

Well, it's not Horrible but that's close enough ;)

I realise it's not a Milonic creation I was just hoping the author or someone who has used this function a lot might be able to help.

I'm guessing that it's something to do with the fact that the the menu item is an item in the ToolsSubs menu ...
by Ginolard
Sat Jan 14, 2006 6:09 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problem with ChangeItemProperty plugin
Replies: 10
Views: 8422

I am using the latest version and there's no website. I'm the guy using the menu system for an HTA, remember? ;)
by Ginolard
Fri Jan 13, 2006 10:59 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Problem with ChangeItemProperty plugin
Replies: 10
Views: 8422

Problem with ChangeItemProperty plugin

Hi all,

I'm trying to disable a single menu item in a sub-menu and am having trouble. Here's the code for the menus (well the important bit anyway)

headerbgcolor="#ffffff";
headercolor="#000000";
imagepadding=4;
offbgcolor="#eeeeee";
offcolor="#000000";
onbgcolor="#B0C4DE";
oncolor="#000099 ...
by Ginolard
Mon Dec 12, 2005 11:47 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Using the menu system with an HTA and VBscript - AN EXAMPLE
Replies: 0
Views: 2680

Using the menu system with an HTA and VBscript - AN EXAMPLE

Seeing as I had quite a few "interesting" problems getting this wonderful menu system to work within an HTA I thought it might be useful to post the (almost) finished article so that others who might be trying the same thing could use it as reference point.

ManagePC is an HTA that will let you ...
by Ginolard
Fri Dec 09, 2005 2:22 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Calling a VBScript sub using the menu text as a parameter?
Replies: 5
Views: 4439

Never mind - after much trial and error I've found a way to do it. The menu items are built, as I said, with menuedit.js and it was simply a matter of formatting!

function BrowseMenus(share)
{
shareforfunction=String.fromCharCode(34) + share + String.fromCharCode(34)

mm_insertItem('BrowseMenuSubs ...
by Ginolard
Fri Dec 09, 2005 12:16 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Calling a VBScript sub using the menu text as a parameter?
Replies: 5
Views: 4439

It looks like I should be able to use the PassItemRef module to get this information but I'm having trouble with it. Here's how I build the menu items for the shares

mm_insertItem('BrowseMenuSubs',1,'clickfunction=TestSub2();text=' + share +';')

So, each menu item just contains the name of the ...
by Ginolard
Thu Dec 08, 2005 4:38 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Calling a VBScript sub using the menu text as a parameter?
Replies: 5
Views: 4439

Any ideas on this? It's the last main hurdle to overcome before I can release the latest version of my HTA ;)

I've got a semi-OK workaround that builds a parameter from the machine name and the sharename (e.g. \\HBRUXXXX\C$) and then passes that as the URL value. That's OK but it means the share is ...
by Ginolard
Wed Dec 07, 2005 5:51 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Calling a VBScript sub using the menu text as a parameter?
Replies: 5
Views: 4439

I get various information about the shares but I guess the two most important variables I need to pass are the machine name (e.g. HBRUXXXX1) and the path of the share (e.g. \\SERVER\FOLDER1\FOLDER2)

I used to call a simple VBscript subroutine that would open Windows Explorer passing the path as a ...
by Ginolard
Tue Dec 06, 2005 5:09 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Sub menus appearing "behind" text
Replies: 13
Views: 8757

I don't have a licence I'm afraid. I am, currently, just experimenting with the menu system and seeing if I can use it to make my HTA look a little more professional.

HTAs appear to be a law unto themselves and I'm wondering why I ever decided to delve into the murky world ;)
by Ginolard
Tue Dec 06, 2005 4:44 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Sub menus appearing "behind" text
Replies: 13
Views: 8757

It's the default menu style that comes with the download. It appears to be something to do with the fact that it's an HTA. If I rename the HTA to a normal HTM file it will display the menus correctly. When it's an HTA the submenus are a little too far apart. I can live with it but I'd prefer the ...
by Ginolard
Tue Dec 06, 2005 4:08 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Sub menus appearing "behind" text
Replies: 13
Views: 8757

Right, I've sorted that out but now I'm baffled by why the submenus are so far apart (again seen screenshot)

http://img229.imageshack.us/img229/306/managepc140rh.jpg

Incidentally, I am using the standard horizontal menus. I haven't changed any of the style code, I've simply added new menus ...
by Ginolard
Tue Dec 06, 2005 2:52 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Sub menus appearing "behind" text
Replies: 13
Views: 8757

Hmm...I just, as a test, removed the "Show machines starting with" element from a DIV and, instead, used <BR> tags to move it down from the top of the screen. Sure enough, the menu now works as it should and goes over the top of the text.

Sigh....I'm going to have to re-write the entire main body ...
by Ginolard
Tue Dec 06, 2005 2:24 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Sub menus appearing "behind" text
Replies: 13
Views: 8757

All of the items on the page are placed using DIV tags with absolute positioning. The Menu code is placed in the HEAD section as it was the only way I could get it to work. I can upload the HTA somewhere if that would help
by Ginolard
Tue Dec 06, 2005 12:36 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Sub menus appearing "behind" text
Replies: 13
Views: 8757

This is the image URL http://img205.imageshack.us/img205/3143/milonic6po.jpg

I can't give a link to a website as this is an HTA I'm developing (so the browser will be IE, effectively)
by Ginolard
Tue Dec 06, 2005 11:58 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Sub menus appearing "behind" text
Replies: 13
Views: 8757

Sub menus appearing "behind" text

How can I stop my submenus appearing "behind" text already present? See screenshot

Image
by Ginolard
Mon Dec 05, 2005 11:44 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Calling a VBScript sub using the menu text as a parameter?
Replies: 5
Views: 4439

Calling a VBScript sub using the menu text as a parameter?

I'm using the MenuEdit API to dynamically create a menu of a list of shares available on a machine.

So you have a menu entitled BROWSE and then a submenu from that with the various share names (e.g. C$, ADMIN$, IPC$ etc). When a menu item is clicked I would like to call a VBScript subroutine that ...