Ok so I have a page that I'm working on simplifying my work, however using static HTML does NOT do that. Here is what I'd like to accomplish
1. Header
The header.php file will include standard header information, such as logo, title, etc. This will also include a dropdown menu to select a date for the week which these options will be manually inputed
2. Content
The content will display once the selected dates are given which is an iframe of a google doc spreadsheet for schedule management
3. Footer
This will just be standard footer information and updates that may be necessary to give to supervisors.
So pretty much I just want to make a single file to include everything so I just have to add new dates to the options, and then include the iframe I want to embed to show up when the value is select.
How I'm currently doing this..
I have a static HTML page that has a little bit of javascript tweaking to enable me to embed another HTML file into it. This has saved me a lot of time from editing EVERY html file, but I want to make this easier.
So with googlefu I dound this:
<select name="dest" onchange="window.open(this.options[this.selectedIndex].value,'myIFrame')">
<option>Choose a destination for your IFrame!</option>
<option value="http://www.yahoo.com/">YAHOO</option>
<option value="http://www.google.com/">GOOGLE</option>
<option value="http://www.altavista.com/">ALTAVISTA</option>
<option value="http://www.amazon.com/">AMAZON</option>
<option value="http://artlung.com/">ARTLUNG</option>
</select>
</form>
<iframe src="http://joecrawford.com/" name="myIFrame" width="400" height="200">
You can't see this because your browser does not support iframes.
</iframe>
However I don't understand how I can put other iframes in for the other options. Any ideas?