Help - Search - Members - Calendar
Full Version: De features
xFX JumpStart Public Forums > DHTML Menu Builder > <developers' edition>
xfx
From all the features that you would expect from the DE version... what are the ones that you would like to see implemented ASAP?
mikeruss
Xavier

all I need is the ability to replace an existing command with a new URL and text

I dont need to add a command or group, and the font, color and width options are also unnecessary

has to work for frames and mutiple browsers

after all this time my view is release something basic that works and add further stuff later !

regards .. Mike
Hywel
Add a separator

Enable/Disable a command
xfx
QUOTE
all I need is the ability to replace an existing command with a new URL and text

DynAPI 0.9a which will be released after DMB 4.3 is made public will properly supports such features under frames.
xfx
QUOTE
Add a separator

Enable/Disable a command

Separators will probably be available in DynAPI 0.9a
Not sure though...

------

There's no function to Enable/Disable a command but its very easy to do so:

First of all obtain a reference to the command:

c = dmbAPI_getItemByCaption("Products");

Now, make a backup of the command's onclick and onmouseover events:

c.OMO = c.onmouseover;
c.OMC = c.onclick;

And now, set these events to "null":
c.onmouseover = null;
c.onclick = null;

--------

If you want to reactivate the command, simply use this code:

c = dmbAPI_getItemByCaption("Products");
c.onmouseover = c.OMO;
c.onclick = c.OMC;
Jon
I really need the ability to add/remove/modify the main toolbars.  I'm basically trying to completely generate the menu from an XML definition.  I may need to hide or change any or all entries based on application security...

I don't ask for much, huh?  :]

Jon
xfx
Jon, I have already started to work on the DynAPI functions that will let you:

- add groups to a toolbar
- remove groups from a toolbar
- change the caption/state of toolbar items

Future versions will provide more functionality.
chorse
I require the ability to change the background image of a command..

Comments?
paulbakker
QUOTE
QUOTE (Hywel @ Mar. 27 2003,3:52)
Add a separator

Enable/Disable a command

Separators will probably be available in DynAPI 0.9a
Not sure though...

------

There's no function to Enable/Disable a command but its very easy to do so:

First of all obtain a reference to the command:

c = dmbAPI_getItemByCaption("Products");

Now, make a backup of the command's onclick and onmouseover events:

c.OMO = c.onmouseover;
c.OMC = c.onclick;

And now, set these events to "null":
c.onmouseover = null;
c.onclick = null;

--------

If you want to reactivate the command, simply use this code:

c = dmbAPI_getItemByCaption("Products");
c.onmouseover = c.OMO;
c.onclick = c.OMC;

I tried this Enable/disable script, but i can not get it to work. the c = dmbAPI_getItemByCaption("caption");
seems to work, but the c.onmouseover = null; c.onclick = null; doesnt.
IE doesn't give a js error.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2012 Invision Power Services, Inc.