EasyUI Forum
May 13, 2024, 09:07:44 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: MenuButton question  (Read 7212 times)
mzeddd
Full Member
***
Posts: 223



View Profile
« on: December 03, 2012, 06:00:39 AM »

Quote
MenuButton

The menubutton is the part of drop-down menu. It is associated with a linkbutton and menu. The linkbutton is displayed while the menu is hidden. When users click or move the mouse over the linkbutton, the menu will show to allow to click on it.

Hi,

How can I make MenuButton work only when user clicks on it. ie. don't react on mouse move over the MenuButton

Thanks,
Valery
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: December 05, 2012, 12:52:49 AM »

Try incrementing the value of 'duration' property to delay the moving mouse action.

Code:
<a href="javascript:void(0)" class="easyui-menubutton" data-options="menu:'#mm',duration:50000000">MenuButton</a>
Logged
mzeddd
Full Member
***
Posts: 223



View Profile
« Reply #2 on: December 05, 2012, 04:32:56 AM »

Thank you Stworthy!

This is really great idea.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!