PDA

View Full Version : AnyLink CSS Menu causing excessive scrolling



delano
12-09-2013, 02:27 PM
1) Script Title: AnyLink CSS Menu v2.3

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

3) Describe problem: I have place this script on my page, but am having a problem with it adding space at the bottom of the page causing a scroll bar and empty space at the bottom of the page.

Sample URL: http://www.tdb.za.net/eb5/

I have tried putting the sub menus in a hidden div, but that doesn't work. Tested on Google Chrome, FireFox & IE9 and both have the same results.

Is there a way I can stop this from happening without using overflow: hidden?

vwphillips
12-09-2013, 03:16 PM
you have commented out the c;ass rule for class rule anylinkshadow



/* ######### class for shadow DIV ######### */


.anylinkshadow{ /*CSS for shadow. Keep this as is */
position: absolute;
left: 0;
top: 0;
z-index: 99;
background: black;
visibility: hidden;
}


reinstate this rule and the exessive scroll is removed

if you do not want the shadow remove background: black;

delano
12-10-2013, 07:42 AM
thanks Vic, but that didn't sort out the problem - have added display: none to the submenu items and dislay:inline when the link is clicked.

vwphillips
12-10-2013, 11:34 AM
looking at your page the exessive scroll problem has been resolved