EasyUI Forum
October 18, 2025, 02:37:30 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: create dynamically menu button on easyui  (Read 11016 times)
Opan Mustopah
Full Member
***
Posts: 164


Indonesia


View Profile Email
« on: November 04, 2014, 08:16:02 PM »

hello again,

in to the point, it is possible to make menu button display dynamically?

for example i have one menubutton below:

Code:
<a class="easyui-menubutton" href="javascript:void(0)" id="test" menu="#0001" plain="true"> Test </a>


and i have a div to provide the sub menu

Code:
<div id='0001'> 
<div> 1 </div>
<div> 2</div>
</div>

so when i hover the menubutton, it will show the sub menu right?, and what i want is when i hover again to submenu with textmenu = 2, it will append new submenu in it self.

so the code it look like this (ex):
Code:
<div id='0001'> 
<div> 1 </div>
<div>
2
<div> 2.1</div>
<div> 2.2</div>
</div>
</div>

again, it is possible to do this in easyui plugin?
thanks for every answer
Logged

-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
Opan Mustopah
Full Member
***
Posts: 164


Indonesia


View Profile Email
« Reply #1 on: November 05, 2014, 04:53:29 AM »

problem solved Cheesy thank for looking my post.
Logged

-- Bajak Otak --
*** Sorry for my bad english :3 ***
--JeasyUI version 1.4--
koysweb
Newbie
*
Posts: 7


View Profile
« Reply #2 on: June 12, 2015, 05:18:26 AM »

I need to do this too, how do i do it?  Undecided
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!