gusgus
10-30-2014, 02:56 PM
Hi,
I've managed to get my drop down menu to load via an iframe and drop down nicely over my articles. Unfortunately the setting for it to do that, height 100%, shows great in the browser but none of the links under it are accessible.
My goal is to avoid having to maintain menu edits on all 300+ pages on our site. The iframe is perfect except for this. In the original menu code there is a notation that is commented out that refers to this problem but I can't see how to fix.
Here is a test page (http://www.topkayaker.net/mytopo/index.html). If you need any other info to help me with this I'd appreciate it.
/* Begin CSS Drop Down Menu */
#menuh-container
{
position: relative;
top: 0em;
/* below keeps background from stretching 100% on front page*/
/* background: url(bluetilebck.jpg); */
/* commented out as does not seem to be needed */
/*left: 1em; */
}
#menuh
{
position: relative; /*centers in IE for the ubbclassic forum*/
font-size: 10px;
font-weight: bold;
font-family: verdana, arial, helvetica, sans-serif;
width:84em;
margin-left:auto; /*centers in Fire Fox - thanks downtap of csscreater.com */
margin-right:auto; /*centers in Fire Fox - thanks downtap of csscreater.com */
}
#menuh a
{
text-align: center;
display:block;
border: 1px solid #006699;
white-space:nowrap;
margin:0;
padding: 0.3em;
}
#menuh a:link, #menuh a:visited, #menuh a:active /* menu at rest */
{
color: #ffffff;
background: url(bluetilebcklite.jpg);
text-decoration:none;
}
#menuh a:hover /* menu at mouse-over */
{
color: #990000;
background: url(sandtilebck.jpg);
text-decoration:none;
}
#menuh a.top_parent, #menuh a.top_parent:hover /* attaches down-arrow to all top-parents */
{
font-size:12px;
background-position: right center;
background-repeat: no-repeat;
}
#menuh a.parent, #menuh a.parent:hover /* attaches side-arrow to all parents */
{
background-position: right center;
background-repeat: no-repeat;
}
#menuh ul
{
list-style:none;
margin: 0;
padding:0;
float:left; /* this keeps the cells horizontal as apposed to a vertical list */
width:14em; /* width of all menu boxes */
}
#menuh li
{
position:relative;
min-height: 1px; /* Sophie Dennis contribution for IE7 */
vertical-align: bottom; /* Sophie Dennis contribution for IE7 */
}
#menuh ul ul
{
position:absolute;
z-index:500;
top:auto; /* centers child under parent - thanks downtap of csscreater.com */
display:none;
padding: 1em;
margin:-1em 0 0 -1em;
}
#menuh ul ul ul
{
top:0;
left:100%;
}
div#menuh li:hover
{
cursor:pointer;
z-index:100;
}
div#menuh li:hover ul ul,
div#menuh li li:hover ul ul,
div#menuh li li li:hover ul ul,
div#menuh li li li li:hover ul ul
{display:none;}
div#menuh li:hover ul,
div#menuh li li:hover ul,
div#menuh li li li:hover ul,
div#menuh li li li li:hover ul
{display:block;}
/* End CSS Drop Down Menu */
I've managed to get my drop down menu to load via an iframe and drop down nicely over my articles. Unfortunately the setting for it to do that, height 100%, shows great in the browser but none of the links under it are accessible.
My goal is to avoid having to maintain menu edits on all 300+ pages on our site. The iframe is perfect except for this. In the original menu code there is a notation that is commented out that refers to this problem but I can't see how to fix.
Here is a test page (http://www.topkayaker.net/mytopo/index.html). If you need any other info to help me with this I'd appreciate it.
/* Begin CSS Drop Down Menu */
#menuh-container
{
position: relative;
top: 0em;
/* below keeps background from stretching 100% on front page*/
/* background: url(bluetilebck.jpg); */
/* commented out as does not seem to be needed */
/*left: 1em; */
}
#menuh
{
position: relative; /*centers in IE for the ubbclassic forum*/
font-size: 10px;
font-weight: bold;
font-family: verdana, arial, helvetica, sans-serif;
width:84em;
margin-left:auto; /*centers in Fire Fox - thanks downtap of csscreater.com */
margin-right:auto; /*centers in Fire Fox - thanks downtap of csscreater.com */
}
#menuh a
{
text-align: center;
display:block;
border: 1px solid #006699;
white-space:nowrap;
margin:0;
padding: 0.3em;
}
#menuh a:link, #menuh a:visited, #menuh a:active /* menu at rest */
{
color: #ffffff;
background: url(bluetilebcklite.jpg);
text-decoration:none;
}
#menuh a:hover /* menu at mouse-over */
{
color: #990000;
background: url(sandtilebck.jpg);
text-decoration:none;
}
#menuh a.top_parent, #menuh a.top_parent:hover /* attaches down-arrow to all top-parents */
{
font-size:12px;
background-position: right center;
background-repeat: no-repeat;
}
#menuh a.parent, #menuh a.parent:hover /* attaches side-arrow to all parents */
{
background-position: right center;
background-repeat: no-repeat;
}
#menuh ul
{
list-style:none;
margin: 0;
padding:0;
float:left; /* this keeps the cells horizontal as apposed to a vertical list */
width:14em; /* width of all menu boxes */
}
#menuh li
{
position:relative;
min-height: 1px; /* Sophie Dennis contribution for IE7 */
vertical-align: bottom; /* Sophie Dennis contribution for IE7 */
}
#menuh ul ul
{
position:absolute;
z-index:500;
top:auto; /* centers child under parent - thanks downtap of csscreater.com */
display:none;
padding: 1em;
margin:-1em 0 0 -1em;
}
#menuh ul ul ul
{
top:0;
left:100%;
}
div#menuh li:hover
{
cursor:pointer;
z-index:100;
}
div#menuh li:hover ul ul,
div#menuh li li:hover ul ul,
div#menuh li li li:hover ul ul,
div#menuh li li li li:hover ul ul
{display:none;}
div#menuh li:hover ul,
div#menuh li li:hover ul,
div#menuh li li li:hover ul,
div#menuh li li li li:hover ul
{display:block;}
/* End CSS Drop Down Menu */