PDA

View Full Version : jQuery Gooey Menu does not display .GIF images



Harm Millaard
06-19-2011, 10:02 AM
1) Script Title: jQuery Gooey Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/gooeymenu.htm

3) Describe problem: Installed according to instructions, checked, rechecked and rechecked for mistakes, but whatever I do, I can't see any GIF images on the menu. Look at this page to see the problem: http://ppbm5.com/DB-PPBM5.php

Probably some noob error, but if someone can point me in the right direction, I would appreciate it.

ddadmin
06-20-2011, 07:14 AM
The problem appears to be the explicit background color you've given the parent containers of the gooey menu- when added, they obscure the background images used to render the gooey effect. Try removing the lines in red below from your CSS:


.oneColFixCtrHdr #container {
background: #FFFFFF;
margin: 0; /* the auto margins (in conjunction with a width) center the page */
border: 0px solid #000000;
text-align: left;
}
.oneColFixCtrHdr #header {
background: #DDDDDD;
padding: 0px 10px 0 10px;
}
.oneColFixCtrHdr #header h1 {
margin: 0; /* zeroing the margin of the last element in the #header div will avoid margin collapse - an unexplainable space between divs. If the div has a border around it, this is not necessary as that also avoids the margin collapse */
padding: 0px 0; /* using padding instead of margin will allow you to keep the element away from the edges of the div */
font-size: 16pt;
vertical-align: top;
}
.oneColFixCtrHdr #mainContent {
background: #FFFFFF;
padding-top: 0;
padding-right: 0px;
padding-bottom: 0;
padding-left: 5px;
}

BTW, please note that your page is currently in violation of our usage terms, since the credit notice doesn't appear inline on the page. Please reinstate the credit notice: http://www.dynamicdrive.com/notice.htm

Harm Millaard
06-20-2011, 12:13 PM
Copyright message reinstated.

The removal of the highlighted red lines did the trick, in addition to removing a slight typo. Thanks for the help.