EasyUI Forum
May 19, 2024, 11:26:37 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 / Bug Report / Re: easyui tabs and HTML5 on: July 26, 2011, 03:32:16 AM
I already use overflow: hidden style to hide the scrollbar for the tabs that I add manually, but when I am using the addTab function as per your example:

Code:
		function addTab(){
index++;
$('#tt').tabs('add',{
title:'New Tab ' + index,
content:'Tab Body ' + index,
iconCls:'icon-save',
closable:true
});
}

The div that is added by your Javascript does not have the overflow: hidden style, so I would need to modify your Javascript that writes the div to add it (or the css that is uses, but tried that already and that does not do it).

Since it only does this with HTML5, there must be something minor that needs to be adjusted in your code to make it work.
2  General Category / Bug Report / easyui tabs and HTML5 on: July 24, 2011, 09:47:59 PM
The example located here with iframe:
http://www.jeasyui.com/easyui/demo/tabs.html

It does not quite fully works if the page is declared as HTML5. For the iframe (with url to Google) it shows double scrollbar (see attached image).

This occurs if this is added at the top of the example page:
Code:
<!DOCTYPE html>

However it works with other DOCTYPE or no DOCTYPE at all as in the example:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

Any trick to fix this?
Pages: [1]
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!