-
28 Apr 2007 2:11 PM #1
toolbar on FF and toolbar with yui css
toolbar on FF and toolbar with yui css
Hi
1. When I`m testing the toolbar example from the api with FF, even locally, it takes allot of time for the menu to react after I load the page and even more for all the icons to appear.
How can I solve this or how can I prevent the user clicking on the menu before it`s ready?
2. I`m using ext toolbar with yui css reset-fonts-grids.css.
Is there an ext alternative?
I have to add css to make the text in the menu items align correctly:
Shouldn't it work without this or should it be added to the ext css originally?Code:.x-menu-list-item{ text-align: left }
Thanks
-
28 Apr 2007 3:57 PM #2
There is no lag rendering the menu. You must have another issue in your environment/code. The yui css file is not relevant to run any of the Ext code. If you can resolve the issue, post a small sample that illustrates the problem.
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
28 Apr 2007 4:22 PM #3
Just add this line:
<link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.2.0/build/reset-fonts-grids/reset-fonts-grids.css">
to the top of the menu toolbar example and see the effect.
-
28 Apr 2007 5:46 PM #4
Look at that css. The 1st thing grid.css does is set text-align:center for the body. That doesn't make sense - why set a default rule that is completely non-standard?
Tim Ryan
Read BEFORE posting a question / BEFORE posting a Bug
Use Google to Search - API / Forum
API Doc (4.x | 3.x | 2.x | 1.x) / FAQ / 1.x->2.x Migration Guide / 2.x->3.x Migration Guide
-
29 Apr 2007 3:35 AM #5
That should explain it.
I`ll try to figure out what cause the slow rendering on my system.
Thanks for your help.


Reply With Quote