1
chessmani
About DHTML menus
  • 2005/9/10 19:54

  • chessmani

  • Just popping in

  • Posts: 1

  • Since: 2005/9/10


Hello!

I was wondering how could I make the DHTML menu block display only content links and not module links.

This is the code of the block if it helps. THx!

<style type="text/css" media="screen"
@
import "tanfa.css";
/**************** menu coding *****************/
#menu {width: 100%;} /* Width of Individual Menu */
#menu ul ul {
    
border:1px solid #FF9933; 
    
background-color:#C3CEE1;
    
margin-top:5px;} /* style of submenus */
/*******No Need To Edit Below Here***********/
#menu ul {list-style: none;margin: 0;padding: 0;}
#menu li {position: relative;}
#menu ul ul {position: absolute;top: 0;left: 100%;width: 100%;}
<{$block.cssul1}>{displaynone;}
<{
$block.cssul2}>{displayblock;}
/***** General formatting only ****/
</style>
<!--[if 
IE]>
<
style type="text/css" media="screen">
body {
behaviorurl(<{$xoops_url}>/modules/content/csshover.htc);
font-size100%;

#menu ul li {float: left; width: 100%;}
#menu ul li a {height: 1%;} 

#menu a, #menu h2 {
fontbold 0.7em/1.4em arialhelveticasans-serif;


</
style>
<![endif]-->
<
table class="blocks" cellspacing="1" cellpadding="0" width="100%">
  <
tr>
    <
td id="mainmenu">
        <
div id="menu">
        <{
$block.ct_menu}>
        </
div></td>
  </
tr>
</
table>

Login

Who's Online

149 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 149


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits