MGWT Menu/Sub Menu/Drop down Panel - mgwt

I have header button left side. On Tap, I want to drop a panel or submenu. How I can do that?
Right now I am just popup dialog (with the panel) using centre().
Please help.
Regards

Did you tried searching for hide/show toggle div or menu ? There are lot of workaround in there, from jQuery, pure CSS..
Like here: Link!

Related

Expanding button to autosuggestbox in UWP

I am trying to configure a button within my UWP app to expand in to an AutoSuggestBox on click. This behavior is mentioned in this post:
https://msdn.microsoft.com/en-us/windows/uwp/controls-and-patterns/search#Implementation
I tried utilizing a flyout on the button click, but it doesn't give me the desired effect. Is there an existing control that can do this or will I need to roll my own XAML of an existing control?
The behavior you see in the blogpost can be easily achieved by having an autosuggestbox hidden behind the button, then after on button click fading out the button and resizing the autosuggestbox to the desired width.
There's no way to "expand" a control into a different one, but you can make it look like that happens :)

Footer Buttons not visible when deriving from own Dialog

I am reusing my own Dialog "class" for different dialogs. This custom dialog is derived from sap.m.Dialog. Since OpenUI5 Version 1.34.* the footer buttons are no longer visible when following this approach.
JSBin: http://jsbin.com/vobitijezu/edit?html,js,output
What am I doing wrong?
Thanks
as the dialog is a control, I had to shift the code to the init method. After that, the dialog showed the footer buttons like a charm.
Hope this helps someone in my situation, too.
Anton

Watir- How can I put a hover on any HTML element

I have a web application, in that application the head menus open when we move mouse on to that (I don't want to click on that head menus because clicking on that menus redirect the page to another page).
On mouse over it opens a menu list, I will be able to select the menu item but not able to hover on to the head menu so that a drop-down menu list can appear.
fire_event("onmouseover") is not working, it is only flashing that menu(element) but not opening the drop down menu list.
Can any one give me the solution How can I put hover on to any HTML element please.
Well, there is #hover method:
browser.element(:how => what).hover
And this could also help: How to find out which JavaScript events fired?
For some reason .hover doesn't work for me, but this one does:
browser.element(how: what).fire_event(:mouseover)
No idea why.

How to add custimized context menu item on right click in browser window?

Here I want to add my custom menu option i.e. ColorZilla, Aptana Studio on web browser right click
You can only do this with a browser plugin. Each browser will have its own syntax for plugins and specifically adding context menu items.
Aleks G. is right you cannot do that directly within the browser.
I don't know if it can help you or if it is what you are looking for but, within the browser you can handle the right click interaction in order to display your own custom menu ( not a particular menu item but the full menu ) ... meaning the default browser menu won't get displayed at all.
In case you are interested, you can have a small sample here

How to remove left side panel on component page?

I am using Joomla 1.6.5 with default theme "Beez2 - Default". I have created a top menu item with type as external link which has link 'index.php?option=com_sample'. When i click on this menu item i can see the output of the component 'sample'.
But on the left side there are few menus like User Menu, About Joomla, This Site. I want to remove that whole vertical panel so that i can use more space for my sample component.
I tried to search in administrator panel and on google but cant find anything to remove left panel.
How can i remove that panel? what code should i write in sample component file to make it not display the left panel..
Please guide me.... thanks in advance.!!
You need to set the menu not to appear when your component is the one used. Remove the show in all pages setting in the menu module.

Resources