EasyUI Forum
May 15, 2024, 04:48:00 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 / EasyUI for jQuery / Re: menubutton causes unwanted scrollbars to appear on: November 11, 2013, 06:44:38 PM
Please ignore previous post. It turns out the .menu-shadow style within easyui.css had been changed from its default setting, causing the issue. Apologies to anyone who tried to replicate/fix.
2  General Category / EasyUI for jQuery / menubutton causes unwanted scrollbars to appear on: November 10, 2013, 10:19:11 PM

I can't work out how to stop the easyui-menubutton make unwanted scrollbars appear. I have written the following to demonstrate the problem. Just resize your browser height so that the vertical scrollbar just DOESN'T appear (just below the indicated line), then roll over the menubutton at the top.  On all major browsers you will see unwanted scrollbars appear.

Please advise.

Thanks  in advance.

Code:
<html>
<head>
<link rel="stylesheet" type="text/css" href="./jquery-easyui-1.3.4/themes/default/easyui.css" />
<link rel="stylesheet" type="text/css" href="./jquery-easyui-1.3.4/themes/icon.css" />
<script src="./jquery-easyui-1.3.4/jquery.min.js"></script>
<script src="./jquery-easyui-1.3.4/jquery.easyui.min.js"></script>
</head>

<body>

<div style="padding:5px;border:1px solid #ddd;width:250px">
<a href="javascript:void(0)" id="mb" class="easyui-menubutton" data-options="menu:'#options-menu'">Options</a>
</div>
<div id="options-menu" style="width:150px;" data-options="onClick:function(item){ optionsMenuClick(item.name); }">
<div data-options="name:'started'">Getting started</div>
<div data-options="name:'tutorials'">Tutorials</div>
<div data-options="name:'faq'">FAQ</div>
<div class="menu-sep"></div>
<div data-options="name:'settings'">Settings</div>
<div data-options="name:'install'">Install Data</div>
<div data-options="name:'about'">About</div>
</div>


<div>
<p>placeholder</p>
<p>placeholder</p>
<p>placeholder</p>
<p>placeholder</p>
<p>placeholder</p>
<p>.</p>
<p>.</p>
<p>.</p>
<p>.</p>
<p>.</p>
<p>Resize your browser window so that it's just below this line (so that no browser scrollbars appear):</p>
<p>------------------------------------------------------------------</p>
</div>

</body>
</html>
3  General Category / EasyUI for jQuery / Re: Combotree - how to prevent selection of group headings on: November 03, 2013, 08:43:33 PM
Many thanks.

As a follow up, if instead we wanted to treat clicking the group heading the same as clicking the arrow (ie. opening and closing the group), how would that be done?
4  General Category / EasyUI for jQuery / Combotree - how to prevent selection of group headings on: November 03, 2013, 05:47:51 PM
I can't work out how to prevent users from selecting the group headings within a combotree. We want them to display so that they can be opened to reveal the children, but we need to prevent selection of the group headings themselves. Please advise.
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!