I am considering your product for usage in a commerical banking application and a requirement is the ability to enable/disable menu items.
As user security may not permit a user access to a specific menu option(s) we need to disable them so if the user clicks on the option nothing happens. It should also present disabled options differently.
Thanks
are there means to enable/disable menu items
-
- Beginner
- Posts: 5
- Joined: Fri Sep 16, 2005 3:49 pm
-
- Beginner
- Posts: 5
- Joined: Fri Sep 16, 2005 3:49 pm
...
Our pages are created once and round trips to/from the server for pages do not occur. So I can not recreate the menu and include/exclude menu items.
So in javascript code I need to be able to turn "on"/"off" menu items.
So in javascript code I need to be able to turn "on"/"off" menu items.
-
- Beginner
- Posts: 5
- Joined: Fri Sep 16, 2005 3:49 pm
In short yes. At times menu items need to be on/off depending on user security code as be do to conditions with in the data.
Example...
I have a menu with 5 submenu items on it. I then have two buttons. One called enable and one disable. when I click disable I want submenu item number 2 disabled and the font to be grayed out, when a user clicks on it nothing would happen. When I click enable it goes back to its default and works when clicked on.
Thanks
Example...
I have a menu with 5 submenu items on it. I then have two buttons. One called enable and one disable. when I click disable I want submenu item number 2 disabled and the font to be grayed out, when a user clicks on it nothing would happen. When I click enable it goes back to its default and works when clicked on.
Thanks
Hi Robert,
That would take a function, I know there have been those who do have such functions set up. I don't know much about functions, but there is a demo which has various 'properties' disabled and or changed. I actually have one that disables an item called back.
Change properties demo
The main demo is to turn on/off the drag mode, but at the bottom is a link to 'more demos' On that area you'll see at the top of the page two menus, a little one that has Back and disable item, if you click the disable item you'll see back gets disabled.
Let us know if that would work for you, or if you need something different, or help setting it up for what you want.
Ruth
That would take a function, I know there have been those who do have such functions set up. I don't know much about functions, but there is a demo which has various 'properties' disabled and or changed. I actually have one that disables an item called back.
Change properties demo
The main demo is to turn on/off the drag mode, but at the bottom is a link to 'more demos' On that area you'll see at the top of the page two menus, a little one that has Back and disable item, if you click the disable item you'll see back gets disabled.
Let us know if that would work for you, or if you need something different, or help setting it up for what you want.
Ruth
-
- Beginner
- Posts: 5
- Joined: Fri Sep 16, 2005 3:49 pm
partial solution... good start.. bad link
the page you directed me to does offer insight and a partially working solution. It made reference to a page Item Properties that gave a 404 error.
The on/off idea works just need a solution to direct image to a different one showing it as disabled.
The on/off idea works just need a solution to direct image to a different one showing it as disabled.
Hi Robert,
Sorry about the page, I forgot this is a php site. I've fixed it.
As to changing the image. That would mean the function would have to be changed. What it does now is use the text given for the menu name to find the menu for application, then it uses the text in the item to figure out which item to which to apply the changes. If you are using images and overimages, I wouldn't be able to get it to work. You'd have to try and post for help here, but the person who actually did the function is unavailable for probably the next week or so.
If you can use text plus bgimage and overbgimage, I can get it to work. I made a sample page for you to check out. On the first page, it is just the regular menu with a silver colored bgimage and a darker overbgimage in the first item, the Back item. When you click the disable item it takes you to the next page which has a different colored bgimage, and it is the same both for mouse off and mouse on since you have disabled the function and don't want that to change.
http://support.milonic.com/ruth/disable/disable.htm
You might also contact Milonic about what you need. If this is a professional license you'll have support for a year.
Let me know when you're finished with the example so I can remove it. Thanks.
Ruth
Sorry about the page, I forgot this is a php site. I've fixed it.
As to changing the image. That would mean the function would have to be changed. What it does now is use the text given for the menu name to find the menu for application, then it uses the text in the item to figure out which item to which to apply the changes. If you are using images and overimages, I wouldn't be able to get it to work. You'd have to try and post for help here, but the person who actually did the function is unavailable for probably the next week or so.
If you can use text plus bgimage and overbgimage, I can get it to work. I made a sample page for you to check out. On the first page, it is just the regular menu with a silver colored bgimage and a darker overbgimage in the first item, the Back item. When you click the disable item it takes you to the next page which has a different colored bgimage, and it is the same both for mouse off and mouse on since you have disabled the function and don't want that to change.
http://support.milonic.com/ruth/disable/disable.htm
You might also contact Milonic about what you need. If this is a professional license you'll have support for a year.
Let me know when you're finished with the example so I can remove it. Thanks.
Ruth