Jump to content

need some logic to get menu li class selected


$php_mysql$

Recommended Posts

here

 

<!--/*Menu Start*/-->
<div id="menu">
<ul>
		<li><a href="index.php">Home</a></li>
		<li><a href="aboutus.php">About Us</a></li>
		<li><a href="faqs.php">Faqs</a></li>
		<li><a href="contactus.php">Contact Us</a></li>
</ul>

</div>
<!--/*Menu End*/-->

 

this in named as menu.php and i include this in every pages

and the other pages are like this

 

<?php
include 'functions.php';
?>

<?php
include 'header.inc.php';
?>	
	<title>Contact Us</title>
</head>
<body>

<!--/*Main Start*/-->
<div id="main">

<?php
include 'header_content.php';
?>

<?php
include 'menu.inc.php';
?>

<div id="content_top"></div>


<!--/*Content Start*/-->
<div id="content">

<div id="title_bar"></div>



</div>
<!--/*Content End*/-->

<div id="content_bottom"></div>

<?php
include 'footer.inc.php';
?>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.