PDA

View Full Version : test menu - entire page slides



deanm
06-26-2012, 03:11 AM
1) CODE TITLE: test page

2) AUTHOR NAME/NOTES: Dean Myerson

3) DESCRIPTION: This is a drupal site and I have a function that pulls the hierarchical taxonomy out of the database and sets it up for ddsmoothmenu. The menu is working fine, but the entire page slides when hovering over a parent entry. I am submitting this so that I can ask for help on the forum. The url of the test page is below.

4) URL TO CODE: http://www.theportalusastore.com/node/223

or, ATTACHED BELOW (see #3 in guidelines below):

jscheuer1
06-26-2012, 03:19 PM
.

Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.

I think you're having your code create many more class="ddshadow toplevelshadow" divs than are required for this script. But having even one might be too many because they're in the flow of the page. It doesn't look like you're using them though. In any case, simply adding this:


.ddshadow {position: absolute;}

to the stylesheet seems to take care of the problem.

If you are trying to use them, something more needs to be done.

You're supposed to include ddsmoothmenu.css even if you're only using the vertical menu. That will also fix the problem and bring the shadows to the menu. But something else is off if you do that. It looks like something is overriding:


list-style-type: none;

But I can't find it, it might be something else creating what looks like circles (discs) as the list-style-type for the menu.

deanm
06-27-2012, 01:56 AM
Thanks for the help. Problem resolved (and credit posted in page source).