Website Navigation Bar Bug
#1
Posted 20 April 2012 - 10:05 AM
I just thought I'd let you know.
Cheers
Seb
#2
Posted 20 April 2012 - 02:26 PM
When you hover over them you get a dropdown (that's not a popup

I just tested on chrome 18 for linux.. .and everything works as suposed... please give more details... what is the OS you use, the browser version number... the page where you notice this problem...
#3
Posted 20 April 2012 - 02:46 PM

I'm using Win7 and Chrome 18, latest version.
This isn't meant to be a complaint. I'm not on a particularly rare setup, afaic, so I thought I'd let you know. If I am actually the only person with the problem then obviously don't worry.
It happens on all pages that have the main menu.
#4
Posted 20 April 2012 - 03:27 PM
I just tested on windows XP with chrome 19.0 and again I cannot repeat the error you are describing, the submenu options can be selected without problem.
#6
Posted 21 April 2012 - 10:05 AM
What I noticed is that between the "hovered" menu item and its submenu you get one white line of 1px.. .I don't get this line at all...
do you have javascript enabled/disabled... try to reverse it to see if it works that way...
#7
Posted 21 April 2012 - 11:47 AM
<div><br></div><div><b><font class="Apple-style-span" color="#ff0000">CHROME: PROBLEM WHEN ZOOM</font></b></div><div><font class="Apple-style-span" color="#0000ff">IE9: WORKS FINE.<br>FIREFOX: WORKS FINE.</font><br><br></div><div><br></div><div><br></div>
#8
Posted 21 April 2012 - 12:22 PM
i could reproduce the problem extracting your UL html code for the MENU, and downloading the currently LAYOUT.CSS file, and the problem appers on my PC inmmediatly when I zoom to 50% the test.html page created from the extracted components.
i have the same problem with my website few months ago, and the same solution applyes to Yii Site:
please considere that this problem occurs only in CHROME:
add this line to your LAYOUT.CSS : "border: 1px solid #999;"
taken from: layout.css on yiiframwork.com website:
// original file is: [url="http://www.yiiframework.com/css/layout.css"]http://www.yiiframework.com/css/layout.css[/url] // applies only to chrome // .layout-main-header .menu li { position:relative; display: inline; margin: 0; padding: 0; float: left; border-right: 1px solid #999; text-transform:lowercase; line-height: 19.5px; border: 1px solid #999; // THIS LINE SOLVE THE PROBLEM WHEN CHROME ZOOMS TO 50% }
#9
Posted 21 April 2012 - 02:00 PM
Chrome 18.0 on linux does not have this problem even when zoomed at 50%
#10
Posted 21 April 2012 - 02:09 PM
mdomba, on 21 April 2012 - 02:00 PM, said:
Chrome 18.0 on linux does not have this problem even when zoomed at 50%
Can confirm this on win7 x64 with chrome 18. Dropdown will dissappear, if you touch the first grey zone. But this only happens for me with 110% zoom(using 1366x768). 125% Zoom works fine. 50% Zoom works fine, too.
#11
Posted 21 April 2012 - 03:16 PM
Chrome version: 15.0.874.106 m
OS: Windows 7.
please let me extract to cases in this files (you can see the html source and css code) ,
AS IS, WITHOUT ANY CHANGES,
put chrome on 50% an try the menu, it dissapears as yii site does too.
http://www.websoftfa...est/test-1.html
WITH CORRECTION
put chrome on 50% an try the menu, it will function correctly.
http://www.websoftfa...est/test-2.html
#12
Posted 21 April 2012 - 03:23 PM
In the second case, due to the border added, this transparent space is inexistent, and will not cause the mouseout event preventing the undesired effect that appers only in a limitated space of opprtunities.
THIS HAPPEN USING THE TEST CASE PROVIDED:

AND THIS HAPPEN IN THE YII REAL SITE, NOTE THE SAME TRANSPARENT SPACE:

#13
Posted 22 April 2012 - 02:24 AM
#14
Posted 22 April 2012 - 04:39 AM
I'll confirm the zoom settings of the video once I get home. For now I can partially replicate the problem in chrome on a mac by zooming one increment.
#15
Posted 22 April 2012 - 04:44 AM
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#16
Posted 22 April 2012 - 05:03 AM
Enjoying Yii? Star us at github
Support me so I can work more on Yii: https://www.patreon.com/samdark
#17
Posted 22 April 2012 - 05:26 AM

#18
Posted 22 April 2012 - 05:27 AM
SebK, on 22 April 2012 - 04:39 AM, said:
…
For now I can partially replicate the problem in chrome on a mac by zooming one increment.
Fyi, I cannot reproduce the described issue on Mac OS X 10.6.8 / Chrome 18.0.1025.163 (maybe it's already corrected, but I couldn't reproduce even yesterday) by zooming in and out, using keyboard or pinches/reverse pinches.
#19
Posted 22 April 2012 - 10:11 AM
Windows Vista 64 / Chrome 18.0.1025.162 m / Japanese
It's OK in other zoom rates. It seems to be related to the rounding error in dimension calc, and I guess also the default font and/or line-height of the browser could act as a factor.

Number of downloads: 10
#20
Posted 22 April 2012 - 01:25 PM