Closed (fixed)
Project:
Superfish Dropdown Menu
Version:
6.x-1.6
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Jan 2011 at 05:59 UTC
Updated:
3 Dec 2011 at 17:20 UTC
If you don't embed "display: none" into the HTML, then many browsers will display the sub-menus until the CSS loads. In IE this effect is especially marked. Such "flashing" of content is undesirable. Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| superfish-cssflashfix.patch | 608 bytes | lirazsiri |
Comments
Comment #1
mehrpadin commentedHey there,
Well, inline CSS? no not a good idea, I mean such "flashing" might happen for any part of your document, depending on the size and\or your connection speed, yet I don't see such a thing from SF on IE (even IE6), perhaps there's something wrong with your CSS? or maybe you should enable Optimize CSS files & Optimize JavaScript files under Performance, this indeed makes page loads smoother.
Comment #2
dervishmoose commentedI am hoping that this issue is resolved in the next version.
I would suggest visibility:hidden; rather than "display: none". Display none seems to not play well with superfish's Supersubs option.
Also, I would suggest embedding the CSS in your html template rather than doing inline css.
Example:
Comment #3
mehrpadin commentedDoes any of you has any online example? I'm really curious to see this thing.
Comment #4
szt commentedI guess this "flashing" effect appear when you modify the .css rules, especially if you've overridden the "top: -999em;" value in the superfish.css.
Comment #5
mehrpadin commented