Main category icon cache or CSS issue
OnlineWD™ - April 13, 2009 - 20:34
| Project: | DHTML Menu |
| Version: | 6.x-3.4 |
| Component: | User Interface |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
If I clear browser cache and expand a main catergory the icon loads a large circle. See attached pic. Funny thing is when I left click it to go to Firebug it changes to the correct arrow. You can try it yourself here http://www.onlinewebsitedesign.net/portfolio/demonstrations/CMS/index.php.
| Attachment | Size |
|---|---|
| GCS0109.png | 1.67 KB |

#1
It's more likely Javascript issue then not CSS, thanks.
#2
Actually I notice even the default nav has some cache issues, initial load has different image until pressed. It's only an issue for expandable sections.
#3
I had an idea about this. Surely the image is being shrunk, the large image is the original size and because the page is being loaded it takes a while for js to resize it so I'll try comparing image sizes.
#4
Nope, image menu-leaf.png is same size as small circles. No idea where large one comes from, TYPE="CIRCLE" is no where to be found after searching all files and fokders.
#5
It's this in system-menus.css
li.expanded {
list-style-type: circle;
list-style-image: url(../../misc/menu-expanded.png);
padding: 0.2em 0.5em 0 0; /* LTR */
margin: 0;
Removing list-style-type: circle; means nothing happens when cache is cleared and page reloaded. Click another area or do something else and it fixes itself, loads menu-expanded.png. The problem is after initial load, first menu to be expanded cannot load image and so instead it loads type circle.
#6
Dude i dnt find any differenece.........
#7
The same thing happens here at drupal.org, clear your browser's cache and press and expandable item, it loads the list-style-type: circle; however in IE and Opera it loads it but a second later it loads the down arrow. I have had issues with Firefox before when no one else has had them, maybe I have a FF option set some where. Honestly when I clear cache, reload page, press expandable arrow in FF it looks like the image attached to first post and stays that way.