Jump to content

Tabbed Menu


lamorak

Recommended Posts

Hello,

 

I am working on a page that uses a master page and I would like to have a tabbed menu on that page that will allow user to view different graphs, but I am not sure how to do this.   I am extremely new to php and  I looked at some tutorials, but since I am using a master page, I cannot make the examples work with my set up.  right now, my page loads a single graph, but I would like to have three tabs that each contains a different graph.

 

Here is my performance.php file

<?php
$header_includes = '<script type="text/javascript" src="scripts/graphing.js"></script>';
$page_content = '_performance.php';
include('master.php');

?>

 

here is my _performance.php file


<h2>Performance</h2>
  <body>

    <div id="dashboard">
		<div id="chart"></div>
		<div id="rangeControl"></div>
    </div>
  
  </body>

 

 

 

from what I have seen I want to put the code for the tabs into the _performance.php file.

 

I included a mock up of what I am trying to do.   Any help to get my pointed in the right direction would be much appreciated.

 

Thanks!

post-146282-0-76823500-1365450816_thumb.jpg

Link to comment
https://forums.phpfreaks.com/topic/276693-tabbed-menu/
Share on other sites

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.