Пример #1
0
    ?>
"><a class="subm_link"
		href="<?php 
    echo $li['link'];
    ?>
" onclick="<?php 
    echo $onClick;
    ?>
"> <?php 
    echo $ico;
    ?>
		<?php 
    echo $li['label'];
    ?>
</a> <?php 
    printSubMenu($li['submenu']);
    ?>
</li>
		<?php 
}
?>
</ul>
</div>
<script type="text/javascript"> 
jQuery(document).ready(function(){
	jQuery( 'a.subm_link' ).hover( function( i ) {
		jQuery( 'a.subm_link' ).parent().removeClass( 'on' );
		jQuery( this ).parent().addClass( 'on' );
	});
	jQuery( '.submenu' ).hover( function(){}, function(){
		jQuery( '.menupop' ).removeClass( 'on' );
Пример #2
0
<?php 
require_once "classes/DBUtils.class.php";
// If we are print mode, then do not do most of the header
if ($print == "no") {
    include "includes/menu_items.php";
    ?>

<body bgcolor="#FFFFFF">

<table width="100%">
<tr>
	<td align="left" class="nav" width="100%" nowrap>
		<table cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td>
				<?php 
    printMenu($menu_items);
    ?>
			</td>
		</tr>
		</table>
	</td>
</tr>
</table>
<?php 
    // Print out a submenu for the user to navigate
    printSubMenu($menu_items);
}
?>