Main Menu
Main Menu

Lxmenu Error: Either the menu does not have any menu items or all menu items are unpublished!

Login
Newsflash
27/02/2006: A comparison table showing you the differences between LxMenu Pro and NGMenu
 
25/03/2007: New version of LxMenu Pro (1.24) released.
 
20/04/2007: NGMenu 1.3.2 released. Supporting now three item states (normal, hover and active).
 
Home
Horizontal demo (main items with different width, centered, fading effect)
Horizontal demo (main items with different width and sub items with dynamic height, right aligned, fading effect)
LxMenu Forum  


Problem with submenu and IE - 2008/10/22 22:30 Hi, I have problem for to show submenu in IE.
My web is www.ministerioszafiro.org
The index.php of template and css are:

index.php
Code:

<?php // no direct access defined( '_JEXEC' ) or die( 'Restricted index access' ); define( 'YOURBASEPATH', dirname(__FILE__) ); require(YOURBASEPATH .DS."/styleswitcher.php"); ?> <!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" > <head> <jdoc:include type="head" /> <?php     $headerstyle      = $this->params->get("headerstyle", "graphic");     $headline           = $this->params->get("headline", "Jamba");     $slogan              = $this->params->get("slogan", "A Free Template From Joomlashack");     $themecolor          = $this->params->get("themecolor", "style1");     require( YOURBASEPATH.DS."/themesaver.php");          function getColumns ($left, $right){     if ($left && !$right) {$style = "-left-only";}     if ($right && !$left) $style = "-right-only";     if (!$left && !$right) $style = "-wide";     if ($left && $right) $style = "-both";     return $style;     }     $style = getColumns($this->countModules( 'left' ),$this->countModules( 'right' ));          //count modules in vertical positions u45     $user45count = $this->countModules('user4') + $this->countModules('user5');     if ($user45count == "1") {$user45width = "100%";}     elseif ($user45count == "2") {$user45width = "50%";}               //count modules in vertical positions u67     $user67count = $this->countModules('user6') + $this->countModules('user7');     if ($user67count == "1") {$user67width = "100%";}     elseif ($user67count == "2") {$user67width = "50%";} ?> <link rel="shortcut icon" href="images/favicon.ico" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/system.css" type="text/css" /> <link rel="stylesheet" href="<?php echo $this->baseurl ?>/templates/system/css/general.css" type="text/css" /> <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/template_css.css" rel="stylesheet" type="text/css" media="screen" /> <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/nav.css" rel="stylesheet" type="text/css" media="screen" /> <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/<?php echo $scheme;?>.css" rel="stylesheet" type="text/css" media="screen" /> <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/j15.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE]> <link href="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/css/ie.css" rel="stylesheet" type="text/css" media="screen" /> <![endif]--> <script type="text/javascript"> // <[CDATA[ function tryStartPlayer(pid) {    try {        new allvideos.API(pid).play();        // Old v1.1 version AvrPlay(pid);    } catch (e) {        // Starting the player may fail, if the page is not yet        // fully loaded and it does not exist yet.        // So we retry it a little bit later.        window.setTimeout('tryStartPlayer("'+pid+'")', 500);    } } function startPlayerOnce(id) {    // Search for the cookie    var nameEQ = 'pseen_'+id+'=';    var ca = document.cookie.split(';');    // Loop over all cookie vars    for (var i = 0; i < ca.length; i++) {       var c = ca[i];       while (c.charAt(0) == ' ') {           c = c.substring(1, c.length);       }       if (c.indexOf(nameEQ) == 0) {          // If we arrive here, We found the          // cookie and therefore simply return          return;       }    }    // If we arrive here, cookie wasn't found, so    // let's create it and start the player.    // The new cookie expires after one year.    var now = new Date();    now.setTime(now.getTime() + (365 * 24 * 60 * 60 * 1000));    var expires = ' expires='+now.toGMTString()+';';    // If you want the cookie last for only a session lifetime    // (next visit, the video plays once again) then uncomment    // the following line:    //expires = '';    document.cookie = nameEQ + '1;'+expires+' path=/';    tryStartPlayer('p_'+id); } // ]]> </script> </head> <body> <div class="menubar">     <div id="navmenu">     <!--[if IE]>         <script type="text/javascript" src="<?php echo $this->baseurl;?>/templates/<?php echo $this->template;?>/js/barmenu.js"></script>     <![endif]-->         <jdoc:include type="modules" name="top" style="none" />     </div> </div>     <div id="main-wrapper">                 <div class="main-top<?php echo $style; ?>"></div>             <div id="mainbody<?php echo $style; ?>">                 <?php if ($this->countModules( 'left' )) : ?>                     <div id="leftcol">                         <div class="left-inside">                             <jdoc:include type="modules" name="left" style="rounded" />                         </div>                     </div>                 <?php endif; ?>                 <?php if ($this->countModules( 'right' )) : ?>                     <div id="rightcol">                         <div class="right-inside">                             <jdoc:include type="modules" name="right" style="rounded" />                         </div>                     </div>                 <?php endif; ?>                 <div class="main<?php echo $style; ?>">                         <table border="0" cellspacing="0" cellpadding="0" width="100%">                           <tr>                             <td valign="top" width="100%">                                 <?php if($this->countModules('user4') or $this->countModules('user5')) : ?>                                         <div id="showcase">                                         <table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">                                         <tr>                                         <?php if ($this->countModules( 'user4' )) : ?>                                         <td style="width: <?php echo $user45width; ?>;padding:5px; vertical-align:top;">                                         <jdoc:include type="modules" name="user4" style="rounded" />                                         </td>                                         <?php endif; ?>                                         <?php if ($this->countModules( 'user5' )) : ?>                                         <td style="width: <?php echo $user45width; ?>;padding:5px; vertical-align:top;">                                         <jdoc:include type="modules" name="user5" style="rounded" />                                         </td>                                         <?php endif; ?>                                         </tr>                                         </table>                                         </div>                                     <?php endif; ?>                                                                  <?php if ($this->countModules( 'banner' )) : ?>                                 <div id="banner"><jdoc:include type="modules" name="banner" style="raw" /></div>                             <?php endif; ?>                                                          <?php if ($this->countModules( 'breadcrumbs' )) : ?>                             <div id="pathway"><jdoc:include type="modules" name="breadcrumbs" style="raw" /></div>                             <?php endif; ?>                                                      <jdoc:include type="message" />                         <jdoc:include type="component" />                         </td>                           </tr>                         </table>                                          <?php if($this->countModules('user6') or $this->countModules('user7')) : ?>                         <table border="0" cellpadding="0" cellspacing="0" align="center" width="100%">                         <tr>                         <?php if ($this->countModules( 'user6' )) : ?>                         <td style="width: <?php echo $user67width; ?>;padding:5px; vertical-align:top;">                         <jdoc:include type="modules" name="user6" style="rounded" />                         </td>                         <?php endif; ?>                         <?php if ($this->countModules( 'user7' )) : ?>                         <td style="width: <?php echo $user67width; ?>;padding:5px; vertical-align:top;">                         <jdoc:include type="modules" name="user7" style="rounded" />                         </td>                         <?php endif; ?>                         </tr>                         </table>                 <?php endif; ?>                 </div>                 <div class="clear"></div><!--Updated in v1.6.1-->       </div>         <div class="bottom<?php echo $style; ?>"></div>         <?php if ($this->countModules( 'footer' )) : ?>         <div class="main-top-wide"></div>         <div class="mainbody-wide">             <div class="footer">                 <jdoc:include type="modules" name="footer" style="raw" />             </div>             <div class="clear"></div>       </div>         <div class="bottom-wide">&nbsp;</div>         <?php endif; ?>         <?php echo $jstpl; ?>     </div> </body> </html>



CSS
Code:

text/css template_css.css ASCII C program text /* @group Global Reset */ body {     margin: 0;     padding: 0; } html, body, form, fieldset {     margin: 0;     padding: 0;     font: 100%/140% Geneva, Trebuchet MS, Lucida, Arial, sans-serif; } a img  {     border: none; } h1, h2, h3, h4, h5, h6, p, pre,blockquote, ul, ol, dl, address {     margin: 0;     padding: 0; } ul {     list-style: none;     margin: 0px;     padding: 0px; } li {         padding-left: 9px;     margin: 0px; } /* Miscellaneous conveniences: */ form label {     cursor: pointer; } fieldset {     border: none; } /* Form field text-scaling */ input, select, textarea {     font-size: 100%; } a:focus {     outline: none; } /* @end */ /* @group Typography */ /* Module Column Typography - sightly smaller headings */ .module h1,.moduletable h1 {     font-size: 18px; } .module h2,.moduletable h2 {     font-size: 16px; } .module h4,.moduletable h4 {     font-size: 14px; } /* Basic Typography */ div.main-left-only ol, div.main-left-only ul, div.main-right-only ol, div.main-right-only ul, div.main-wide ol, div.main-wide ul, div.main-both ol, div.main-both ul {     margin-left: 20px; } p {     padding-bottom: 10px; } h1 {     font-size: 20px;     line-height: 125%;     padding: 4px;     letter-spacing: -1px; } h2 {     font-size: 18px;     line-height: 125%;     padding: 4px;     letter-spacing: -1px; } h3 {     font-size: 16px;     line-height: 125%;     padding: 4px;     letter-spacing: -1px; } h4 {     font-size: 14px;     line-height: 125%;     padding: 4px;     letter-spacing: -1px; } /* EXTRA STYLES */ p.alert {     background: #f8bda9 url(../images/exc.png) no-repeat 15px 50%; /* x-pos y-pos */     text-align: left;     padding: 5px 20px 5px 45px;     border-top: 2px solid #FF0000;     border-bottom: 2px solid #FF0000;     color: #57060a; } p.info {     background: #b9cce5 url(../images/info.png) no-repeat 15px 50%; /* x-pos y-pos */     text-align: left;     padding: 5px 20px 5px 45px;     border-top: 2px solid #466eae;     border-bottom: 2px solid #466eae;     color: #000; } p.warn {     background: #faffb5 url(../images/warn.png) no-repeat 15px 50%; /* x-pos y-pos */     text-align: left;     padding: 5px 20px 5px 45px;     border-top: 2px solid #F7D229;     border-bottom: 2px solid #F7D229;     color: #463b0b; } /*-----SPECIAL LIST STYLE (CHANGE OR ADD ANOTHER)-----*/ ul.checklist li {     list-style: none;     line-height: 16px;     padding: 2px 0px 2px 18px;     list-style-position: outside; } ul.checklist a {     text-decoration: underline;     padding: 1px; } ul.checklist a:hover {     text-decoration: none;     padding: 1px; } /*-----BLOCKQUOTE STYLE-----*/ blockquote {   padding: 10px;   font-style: italic;   padding: 10px; } div.code {       padding: 10px;     text-decoration: none;     font: normal normal normal 11px "Courier New", Courier, mono; } /* @end */ /* @group Structure */ /* Header Text */ #header_text    {width: 960px;margin: 0px auto;} #header_text h1, #header_text h1 a {     padding:0px;     text-decoration: none; } #header_text h2 {     padding: 0px;     margin: 0px; } /* CSS for Header Image */ #header_graphic a img {     border: none; } #header_graphic    {width: 960px;margin: 0px auto;} #header_text .inside,#header_graphic .inside {padding:0; margin:0;} #header_graphic h2 {text-indent: -6000em;padding:0px;margin:0px;line-height: 0px;font-size: 0;} #header_graphic .inside {padding:0; margin:0;} #pathway {     margin: 0px 0px 5px 0px;     font-size: 11px; } #header-wrap    {     width: 100%;     margin: 0; } #main-wrapper    {     width: 964px;     margin: 14px auto 0px auto; } #mainbody-both {     padding: 0px;     margin: 0px; } .main-top-right-only,.main-top-both,.main-top-left-only {     height: 11px;     width: 964px; } .main-top-wide {     height: 11px;     width: 964px; } .main-both    {     margin: 0px 210px 0px 200px; } .main-wide    {     margin: 0px auto;     width: 952px;     position: relative; } .main-left-only    {     margin: 0px 10px 0px 200px;     width: 755px; } .main-right-only    {     margin: 0px 200px 0px 10px;     width: 750px; } #leftcol {     float: left;     width: 188px;     padding: 0;     margin: 0; } #leftcol .left-inside {     margin: 0;     padding: 0px 10px 0px 10px; } #rightcol {     float: right;     width: 200px;     } #rightcol .right-inside {     margin: 0;     width: auto;     padding: 5px 10px 0px 0px; } /* Footer */ .bottom-right-only,.bottom-both,.bottom-left-only,.bottom-wide    {     height: 11px;     margin: 0px 0px 5px 0px;     padding: 0px; } .footer {     margin: 0px;     padding: 0px 10px;     text-align: center;     font-size: 11px;     line-height: 12px; } .footer p {     margin: 0px;     padding: 2px 0px; } .clear {     clear: both;     margin: 0px;     padding: 0px;     height: 0px; } /* @end */ /* @group Modules */ /* Header Module */ #headermod {     float: right;         overflow: hidden; } #headermod .moduletable h3 {     font-size: 16px;     line-height: 16px;     font-weight: bold