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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.