EasyUI Forum
May 02, 2024, 09:23:36 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: menu: The menu width can be automatically calculated (does not work in IE9)  (Read 10384 times)
mzeddd
Full Member
***
Posts: 223



View Profile
« on: January 16, 2013, 06:33:05 AM »

Here is the code I have in page

Code:
<div id="menu1">
<div onclick="switchPage('page1');" iconCls="icon-search">Search</div>
<div onclick="switchPage('page2');">Export</div>
</div>

In case of Firefox (12.0(In Windows) and 17.0(In Linux)) or Opera it looks very good but when I load the same page in IE9 the same menu becomes very wide.
Too wide to fit my fullscreen (1280x1024) browser and show menu items text.

The work around is to return style="width:150px;" back into main div
Logged
mzeddd
Full Member
***
Posts: 223



View Profile
« Reply #1 on: January 16, 2013, 07:20:13 AM »

Update:

"Compatibility View" feature in IE9 does not fix this problem
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #2 on: January 16, 2013, 08:48:30 PM »

Please download the fixed menu plugin from http://www.jeasyui.com/easyui/plugins/jquery.menu.js.
Logged
mzeddd
Full Member
***
Posts: 223



View Profile
« Reply #3 on: January 21, 2013, 01:06:03 AM »

Hi,

Yes, it helps.

Quote
<!DOCTYPE html>
also fixes this problem
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!