EasyUI Forum
September 14, 2025, 07:30:29 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
  Home Help Search Login Register  
  Show Posts
Pages: [1]
1  General Category / General Discussion / how to render a div on tab on: January 11, 2014, 09:55:31 PM
Hi there,

I'm newbie to easyui and I want to use the easyui to my existing framework beside on JSP custom tag.

I'm trying to render the tabs first and then render my custom tags after that inside a div, I want the div get displayed inside the tab. same idea to the menu is that possible to do in easyui.

TAB

1) Render the tabs first
 <div class="easyui-tabs" style="width:700px;height:250px">
        <div title="About"    style="padding:10px">    </div>
        <div title="My Documents" style="padding:10px">  </div>
        <div title="Help" data-options="iconCls:'icon-help',closable:true" style="padding:10px">    </div>
 </div>

2) Render my div

<div id="myDIV">
     My content
</div>

3) display the content of "myDIV" inside the "About" tab,
in such way like this:
<div title="About"  content="myDIV" style="padding:10px">    </div>

is that possible? and how I can do it?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!