Reply
Help with Drop Down Menu (multi level) PLEASE!!!
Old 02-03-2009, 12:00 PM Help with Drop Down Menu (multi level) PLEASE!!!
Junior Talker

Posts: 1
Trades: 0
Hi guys,

Urgengly need your help! I recently added the "PVII Menu CSS Express Drop-Down Menu" by Project Seven Development to a website. It works perfectly in almost all browsers, however, the orignal menu had one single dropdown level, however i needed to add an extra level, so now it is multi-level(x3).

It works lovely, however the client is using IE6 and noticed that the dropdowns are not functioning correctly. The 2nd level rollovers don't work, but the 3rd level ones do etc. Of course they refuse to upgrade so im stuck with the problem!

I've been tearing my hear out trying to find a fix but can't. I was wondering if anyone could take a quick look and let me know if they can help... PLEASE....

My HTML code below:

Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>ISSP</TITLE><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><link rel="stylesheet" type="text/css" href="styles.css"><link href="p7exp.css" rel="stylesheet" type="text/css"><link href="p7exp.js" rel="stylesheet" type="text/javascript"><style type="text/css"><!--.style1 {color: #C0C0C0}.style2 {color: #666666}body {	background-color: #C0C0C0;}--></style><script language="JavaScript" type="text/JavaScript"><!--function MM_preloadImages() { //v3.0  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}}//--></script><script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script><script type="text/javascript" src="p7exp.js"></script><!--[if lte IE 7]><style>#menuwrapper,#p7menubar ul a {height: 1%;}a:active {width: auto;}</style><![endif]--></HEAD><body onLoad="P7_ExpMenu()"><table width="50%"  border="0" align="center">  <tr>    <td><TABLE WIDTH=850 BORDER=0 CELLPADDING=0 CELLSPACING=0>      <TR>        <TD><IMG SRC="images/issp_01.jpg" WIDTH=43 HEIGHT=52 ALT=""></TD>        <TD colspan="7" align="left" valign="top"><img src="images/top_red_banner.gif" width="766" height="52"></TD>        <TD><IMG SRC="images/issp_09.jpg" WIDTH=41 HEIGHT=52 ALT=""></TD>      </TR>      <TR>        <TD><IMG SRC="images/issp_10.jpg" WIDTH=43 HEIGHT=245 ALT=""></TD>        <TD colspan="7" align="left" valign="top"><img src="images/home_banner.jpg" alt="Banner" width="766" height="245"></TD>        <TD><IMG SRC="images/issp_18.jpg" WIDTH=41 HEIGHT=245 ALT=""></TD>      </TR>      <TR>        <TD><IMG SRC="images/issp_19.jpg" WIDTH=43 HEIGHT=56 ALT=""></TD>        <TD colspan="7" bgcolor="#FFFFFF">                <!-- start of menu  -->              <div id="menuwrapper">          <ul id="p7menubar">            <li><a href="#">Home</a></li>            <li><a class="trigger" href="#">Partners</a></li>            <li><a class="trigger" >Programmes</a>                <ul>                  <li><a>NUI Maynooth</a>                      <ul>                        <li><a href="#">First Semester</a></li>                        <li><a href="#">Second Semester</a></li>                      </ul>                  </li>                                                      <li><a>NUI Galway</a>                      <ul>                        <li><a href="#">First Semester</a></li>                        <li><a href="#">Second Semester</a></li>                      </ul>                  </li>                                    <li><a>University College Cork</a>                      <ul>                        <li><a href="#">First Semester</a></li>                        <li><a href="#">Second Semester</a></li>                      </ul>                  </li>                                    <li><a>University of Limerick</a>                      <ul>                        <li><a href="#">First Semester</a></li>                        <li><a href="#">Second Semester</a></li>                      </ul>                  </li>                                    <li><a>Dublin City University</a>                      <ul>                        <li><a href="#">First Semester</a></li>                        <li><a href="#">Second Semester</a></li>                      </ul>                  </li>                                                      <li><a>Queens University Belfast</a>                      <ul>                        <li><a href="#">First Semester</a></li>                        <li><a href="#">Second Semester</a></li>                      </ul>                  </li>                                                      <li><a>Institute of Technology Sligo</a>                      <ul>                        <li><a href="#">First Semester</a></li>                        <li><a href="#">Second Semester</a></li>                      </ul>                  </li>                                    <li><a>Mary Immaculate College</a>                      <ul>                        <li><a href="#">First Semester</a></li>                        <li><a href="#">Second Semester</a></li>                      </ul>                  </li>                                  </ul>            </li>            <li><a class="trigger" href="#">Research</a></li>                        <li><a class="trigger" >Events</a>                    <ul>                        <li><a href="#">NUI Maynooth</a></li>                        <li><a href="#">NUI Galway</a></li>                        <li><a href="#">University College Cork</a></li>                        <li><a href="#">University of Limerick</a></li>                        <li><a href="#">Dublin City University</a></li>                          <li><a href="#">Queens University Belfast</a></li>                           <li><a href="#">Institute of Technology Sligo</a></li>                            <li><a href="#">Mary Immaculate College</a></li>                                                   </ul>                                                                </li>             <li><a class="trigger" >Newsletters</a>                          <ul>                  <li><a>2009</a>                      <ul>                        <li><a href="#">January</a></li>                        <li><a href="#">Febuary</a></li>                        <li><a href="#">March</a></li>                        <li><a href="#">April</a></li>                        <li><a href="#">May</a></li>                      </ul>                  </li>                                    <li><a>2008</a></li>                </ul>             </li>                                      <li><a class="trigger" href="#">Opportunities</a></li>            <li><a class="trigger" href="#">Contact</a>                         <ul>                        <li><a href="#">NUI Maynooth</a></li>                        <li><a href="#">NUI Galway</a></li>                        <li><a href="#">University College Cork</a></li>                        <li><a href="#">University of Limerick</a></li>                        <li><a href="#">Dublin City University</a></li>                          <li><a href="#">Queens University Belfast</a></li>                           <li><a href="#">Institute of Technology Sligo</a></li>                            <li><a href="#">Mary Immaculate College</a></li>                                                   </ul>                                   </li>          </ul>		  <br class="clearit" />        </div> <!-- end of menu  -->  </TD>        <TD><IMG SRC="images/issp_27.jpg" WIDTH=41 HEIGHT=56 ALT=""></TD>      </TR>      <TR>        <TD><IMG SRC="images/issp_28.jpg" WIDTH=43 HEIGHT=27 ALT=""></TD>        <TD><IMG SRC="images/issp_29.jpg" WIDTH=112 HEIGHT=27 ALT=""></TD>        <TD><IMG SRC="images/issp_30.jpg" WIDTH=111 HEIGHT=27 ALT=""></TD>        <TD><IMG SRC="images/issp_31.jpg" WIDTH=18 HEIGHT=27 ALT=""></TD>        <TD><IMG SRC="images/issp_32.jpg" WIDTH=131 HEIGHT=27 ALT=""></TD>        <TD><IMG SRC="images/issp_33.jpg" WIDTH=138 HEIGHT=27 ALT=""></TD>        <TD><IMG SRC="images/issp_34.jpg" WIDTH=113 HEIGHT=27 ALT=""></TD>        <TD><IMG SRC="images/issp_35.jpg" WIDTH=143 HEIGHT=27 ALT=""></TD>        <TD><IMG SRC="images/issp_36.jpg" WIDTH=41 HEIGHT=27 ALT=""></TD>      </TR>      <TR>        <TD bgcolor="#FFFFFF"><IMG SRC="images/issp_37.jpg" WIDTH=43 HEIGHT=426 ALT=""></TD>        <TD colspan="2" align="left" valign="top" bgcolor="#FFFFFF"><table width="100%"  border="0">          <tr>            <td height="61" align="center" valign="middle" bgcolor="#E8E7E5"><img src="images/recent_news_events.gif" width="217" height="36" />                <table width="87%"  border="0" align="center">                  <tr>                    <td height="152" align="left" valign="middle"><p>					                      <script type="text/javascript">var iframesrc="external.htm"document.write('<iframe id="datamain" src="'+iframesrc+'" width="172px" height="130px" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>')</script></p></td>                  </tr>              </table></td>          </tr>          <tr>            <td>&nbsp;</td>          </tr>          <tr>            <td height="186" align="left" valign="top" bgcolor="#E8E7E5"><img src="images/prospectus_download.gif" width="217" height="35" />              <table width="82%"  border="0" align="center">                <tr>                  <td align="left" valign="top"><div align="center"><a href="ISSP_Brochure.pdf" target="_blank"><img src="images/brochure2.jpg" alt="ISSP Brochure" width="172" height="108" border="0" /></a></div></td>                </tr>                <tr>                  <td><p align="center"><a href="ISSP_Brochure.pdf" target="_blank">Download</a> ISSP Brochure</p></td>                </tr>              </table></td>          </tr>        </table></TD>        <TD bgcolor="#FFFFFF">&nbsp;</TD>        <TD colspan="4" align="left" valign="top" bgcolor="#FFFFFF"><img src="images/welcome_banner.gif" alt="Welcome to ISSP at NUI Galway" height="59">          <table width="95%"  border="0" align="center">            <tr>              <td><p align="justify">“<strong>ISSP is an all-island platform of integrated social science research and graduate training</strong> focusing on the social, cultural and economic transformations shaping Ireland in the 21st century.”<br><br>The Irish Social Sciences Platform (ISSP) brings together academics from 19 disciplinesin 8 institutions across the island into a common programme of research centeredon knowledge, innovation, society and space. ISSP will focus its efforts on investigatingthree broad themes of national importance – creating balanced development, sustainingcommunities and building the knowledge economy.  <BR><BR>A key objective for ISSP researchersis to take an active role in key social, economic and cultural policy debatesin the effort to sustain the Tiger economy that presently seems to have lostits roar. To that end it will work closely with local communities, voluntaryand semi-state agencies, and local and national government in tackling criticalissues and building a prosperous future for the whole island...<a href="research.html">moreinformation</a></p></td>            </tr>          </table></TD>        <TD bgcolor="#FFFFFF"><IMG SRC="images/issp_45.jpg" WIDTH=41 HEIGHT=426 ALT=""></TD>      </TR>      <TR>        <TD bgcolor="#FFFFFF"><IMG SRC="images/issp_46.jpg" WIDTH=43 HEIGHT=94 ALT=""></TD>        <TD colspan="7" align="left" valign="top" bgcolor="#FFFFFF"><img src="images/logos3.gif" alt="NUI Galway" width="766" height="59" vspace="10" border="0" usemap="#MapMap" href="http://www.nuigalway.ie" />          <map name="MapMap" id="MapMap">            <area shape="rect" coords="545,0,606,58" href="http://www.dcu.ie/" target="_blank" alt="Dublin City University" />            <area shape="rect" coords="616,1,718,58" href="http://www.qub.ac.uk/" target="_blank" alt="Queens University Belfast" />            <area shape="rect" coords="723,2,773,55" href="http://www.itsligo.ie/" target="_blank" alt="Sligo Institute of Technology" />            <area shape="rect" coords="246,2,360,67" href="http://www.ul.ie/" target="_blank" alt="University of Limerick" />            <area shape="rect" coords="371,6,427,62" href="http://www.mic.ul.ie/" target="_blank" alt="Mary Immaculate College Limerick" />            <area shape="rect" coords="-17,-3,80,76" href="http://www.nuim.ie/" target="_blank" alt="NUI Maynooth" />            <area shape="rect" coords="441,13,535,65" href="http://www.ucc.ie/en/" target="_blank" alt="University College Cork" />            <area shape="rect" coords="97,-1,231,67" href="http://www.nuigalway.ie" target="_blank" alt="NUI Galway" />          </map>          <map name="MapMap" id="MapMap">            <area shape="rect" coords="528,17,591,75" href="http://www.dcu.ie/" target="_blank" alt="Dublin City University" />            <area shape="rect" coords="605,19,707,76" href="http://www.qub.ac.uk/" target="_blank" alt="Queens University Belfast" />            <area shape="rect" coords="717,23,767,76" href="http://www.itsligo.ie/" target="_blank" alt="Sligo Institute of Technology" />            <area shape="rect" coords="287,10,404,79" href="http://www.ul.ie/" target="_blank" alt="University of Limerick" />            <area shape="rect" coords="-14,-2,97,77" href="http://www.nuim.ie/" target="_blank" alt="NUI Maynooth" />            <area shape="rect" coords="415,16,515,77" href="http://www.ucc.ie/en/" target="_blank" alt="University College Cork" />            <area shape="rect" coords="122,11,270,80" href="http://www.nuigalway.ie" target="_blank" alt="NUI Galway" />          </map>          <img src="images/logos2.gif" alt="NUI Galway" width="766" height="94" vspace="10" border="0" usemap="#Map" href="http://www.nuigalway.ie"></TD>        <TD bgcolor="#FFFFFF"><IMG SRC="images/issp_54.jpg" WIDTH=41 HEIGHT=94 ALT=""></TD>      </TR>    </TABLE></td>  </tr>  <tr>    <td height="40" valign="middle" bgcolor="#C0C0C0"><table width="92%" height="42"  border="0" align="center">      <tr>        <td height="38" valign="middle"><P class="white"><span class="style2">Copyright &copy; ISSP 2008. All rights reserved.</span><span class="style1">!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!</span><span class="style2">Design <a href="http://www.little.ie" target="_blank">Little Studio </a></span></p>           </td>      </tr>    </table></td>  </tr></table><!-- End ImageReady Slices --><map name="Map" id="Map"><area shape="rect" coords="123,14,220,81" href="http://europa.eu/" target="_blank" alt="European Union" /><area shape="rect" coords="267,18,374,79" href="http://www.education.ie/" target="_blank" alt="Department of Education &amp; Science" /><area shape="rect" coords="422,18,552,80" href="http://www.hea.ie/" target="_blank" alt="Higher Education Authority" /><area shape="rect" coords="589,15,753,84" href="http://www.ndp.ie/" target="_blank" alt="National Development Plan" /></map></BODY></HTML>
CSS Code Below:

Code:
/*   ------------------------------------  PVII Menu CSS Express Drop-Down Menu  by Project Seven Development  www.projectseven.com  ------------------------------------*/body {	font-family:"Georgia", "Trebuchet MS", Arial, sans-serif;	font-size: 100%;	background-color: #FFFFFF;	margin: 0px 0;	padding: 0;	/*background-image: url(images/p7exp_pbg.jpg);*/	background-repeat: repeat-x;}/*Container for the menu. We set top and bottom borders only because the menu containerstretches the entire window width. Note that this container can go inside a fixed widthelement that is centered on the page, if you so desire. It can even go inside a table cell.It carries a background image for aesthetics.*/#menuwrapper {	border-top: 0px solid #000;	border-bottom: 0px solid #333;	background-color: #909090;	background-image: url(images/menu_bg.jpg);	background-repeat: repeat-x;}/*Clears the floated menu items.Assigned to a BR tag placed just beforemenuwrapper's closing DIV tag*/.clearit {	clear: both;	height: 0;	line-height: 0.0;	font-size: 0;}/*p7menubar is the root UL and p7menubar ul applies to all the sub-menu ULs.We set padding and margin to zero to eliminate all indentation, turn bullets off,and set a font-family different from the global font-family declared for thebody element above. This sets font for just the menu. Do not add a font-size here.*/#p7menubar, #p7menubar ul {	padding: 0;	margin: 0;	list-style: none;	font-family: Arial, Helvetica, sans-serif;	font-size:15px;	}/*Root-Level Links.  Do not change the first two properties.Adjust padding values to make the root links taller and to offset themfrom the left and right edges of the link box. The border right creates aseparator between links. Font-size is set here and will apply to all menu levels.Font color is set to light gray.*/#p7menubar a {	display: block;	text-decoration: none;	padding: 20px 19px 20px 18px;	border-right:1px dotted #0096da;	font-size: .85em;	color: #ffffff;}/*Class assigned to those Root-Level links that have associated Sub-Menus.The top and bottom padding assigned this element must be the same asthat assigned to the p7menubar a element. The right padding is increasedto accomodate the display of background image depicting a downwardpointing arrow.*/#p7menubar a.trigger {	padding: 20px 20px 20px 20px;	/*background-image: url(images/p7PM_dark_south.gif);*/	background-repeat: no-repeat;	background-position: right center;}/*The Root-Level list items. Floating left allowsthem to appear horizontally. Width is for IE5 Mac. The last rule inthis style sheet will set the width for this element to auto for allother browsers - hiding it from IE5 Mac. The width is proportional.As you add and edit root menu items, you will need to test this widthto ensure it is wide enough to accomodate all text.*/#p7menubar li {	float: left;	width: 9em;}/*Sets width for Sub-Menu box and the List Items inside - in proportional em units. This allows the sub-menu width to expand if users resize the text in their browsers.*/#p7menubar li ul, #p7menubar ul li  {	width: 13em;}/*The sub-menu links. We set color and turn off the right border, whichwould otherwise be inherited from the root link rule. We set top and bottom padding less than the root items and increas the left paddingto indent the sub-menu links a small amount in from the root links.*/#p7menubar ul li a  {	color: #565656;	border-right: 0;	padding: 10px 10px 5px 20px;	border-bottom: 1px solid #0075aa;}/*Sub-Menu Unordered Lists describes each dropdown sub-menu grouping. Positioned Absolutely to allow them to appear below their root trigger.Set to display none to hide them until trigger is moused over.Background Color must be set or problems will be encountered in MSIE.Right and bottom borders are set to simulate a raised look.A gradient background image is assigned.*/#p7menubar li ul {	position: absolute;	display: none;	background-color: #00608a;	background-repeat: repeat-x;}/*Changes the Text color and background color when the Root-Levelmenu items are moused over. The second selector sets color and backgroundwhen Root-Level items are accessed with the keyboard tab key. The thirdselector sets an active state to support keyboard access in MSIE. The fourth selector is assigned to IE5 and IE6 Windows via the P7_ExpMenu script.Note that IE7 supports hover on elements other than links and so behaveslike Firefox, Opera, and Safari - making the menu operable even if JavaScriptis not enabled.*/#p7menubar li:hover a, #p7menubar a:focus,#p7menubar a:active, #p7menubar li.p7hvr a {	color: #ffffff;	background-color: #961927;}/*Set the Sub-Menu UL to be visible when its associatedRoot-Level link is moused over. The second selector is assigned to IE5 and IE6 via the P7_ExpMenu script.*/#p7menubar li:hover ul, #p7menubar li.p7hvr ul {	display: block;}/*Sets the Text color of the Sub-Level links when the Root-Levelmenu items are moused over. The second selector is assigned to IE5 and IE6 via the P7_ExpMenu script.The color set should march the normal Sub-Level link colorin the rule: #p7menubar ul li a. The background color must betransparent to allow the underlying gradient background on the ULto show through.*/#p7menubar li:hover ul a, #p7menubar li.p7hvr ul a {	color: #ffffff;	background-color: transparent;}/*The normal hover class for Sub-Level links. The Important directiveis required for older browsers. We set a background color, which showsover the gradient background. We set text color to white.*/#p7menubar ul a:hover {	background-color: #87101e!important;	color: #ffffff!important;}/* The single backslash \ character inside this commentcauses IE5 Mac to ignore the following rule, which allows otherbrowsers to render top-level menu items to their natural width.Do not edit this rule in any way. */#p7menubar li {width: auto;}/* new additions to make the 3 leven menu work */#p7menubar li ul ul { /* third-and-above-level lists */	margin: -1em 0 0 11em;}#p7menubar li:hover ul ul, #p7menubar li:hover ul ul ul, #p7menubar li.sfhover ul ul, #p7menubar li.sfhover ul ul ul {	left: -999em;}#p7menubar li:hover ul, #p7menubar li li:hover ul, #p7menubar li li li:hover ul, #p7menubar li.sfhover ul, #p7menubar li li.sfhover ul, #p7menubar li li li.sfhover ul { /* lists nested under hovered list items */	left: auto;}
sheenshine is offline
Reply With Quote
View Public Profile
 
 
When You Register, These Ads Go Away!
Old 02-03-2009, 04:24 PM Re: Help with Drop Down Menu (multi level) PLEASE!!!
LadynRed's Avatar
Super Moderator

Posts: 9,392
Location: Tennessee
Trades: 0
No offense, but have you tried asking in the PVII forums ?

If the hover pseudo-class is on anything except an <a> tag, IE6 will NOT work w/o some javascript. You'll need conditional comments, a separate css file, and the whatever:hover (google it) to make IE6 work right.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!
"Using or working with IE is like having to wear a 1970's polyester suit with pantyhose and a girdle, to work everyday"
Carolina Corvette Club
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help with Drop Down Menu (multi level) PLEASE!!!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.09785 seconds with 13 queries