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!