EasyUI Forum
May 20, 2024, 09:42:06 AM *
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 / EasyUI for jQuery / Re: Layout expanding a region on mouse over instead of on click on: September 25, 2014, 09:14:07 AM
Thanks for responding.

Unfortunately -  I get this error when I apply your example;

Using IE10:
Code:
SCRIPT438: Object doesn't support property or method 'call' 
jquery.easyui.min.js, line 2987 character 1

And the same  in Chrome
Code:
Uncaught TypeError: undefined is not a function jquery.easyui.min.js:2987

I am using EasyUI 1.4

This is my layout (modified from EasyUI demo)
Code:
<body id="cc" class="easyui-layout">
  <div id="header" data-options="region:'north',border:false"  style="height:40px;background:#4682B4;padding:10px; color:#ffffff;"><h2>Sample</h2></div>
  <div data-options="region:'west',split:true, collapsed:false, onCollapse:'onCollapse'" id="navigator" title="Navigator" style="width:200px;padding:0;"></div>
  <div id="workspace" data-options="region:'center',title:'...'"></div>
  <div id="debug" data-options="region:'south',split:true, collapsed:false, iconCls:'icon-ok'" title="Debug" style="height:100px;padding:0;">
</body>
2  General Category / EasyUI for jQuery / Layout expanding a region on mouse over instead of on click on: September 24, 2014, 01:20:12 PM
When using the Layout with a collapsed region you can expanded the region by clicking the ">>" icon, which will open the region and it stays open.  Or you can click on the edge border and the region will open and stay until the mouse leaves the region.

How can I get this region to slide open with a mouseover event on its border instead of the default click event?
Also can the open/close animation time be changed?

Thanks,
-Mike
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!