I have followed the tutorial found at http://tutorials.alsacreations.com/frames/suite.php
So far, I have the acceuil page loading when we first go to the page. But the links give me a "not found" error.
I have tried this with hardcoding the actual server address (with the files uploaded to the proper location) http://www.mydomain.com/folder/file.htm
I have tried it using relative links file.htm
I have set the first link on the menu to load the EXACT same page as the intial view...and I still get a not found error (even though that page is displaying perfectly in it's "pseudo frame" on initial load..) Oh help. I'm sooooooooo confused..
In other words, I can get any page I want to load initially..but when it comes to dynamically changing the content of the div it always gives me a "not found" error even when the link is set to the same page as the initial page
Here's the code for the frame:
And here's the code for the menu (placed in a div that is a left column for navigation items only)
Modifié par ahen8 (18 Sep 2006 - 18:40)
So far, I have the acceuil page loading when we first go to the page. But the links give me a "not found" error.
I have tried this with hardcoding the actual server address (with the files uploaded to the proper location) http://www.mydomain.com/folder/file.htm
I have tried it using relative links file.htm
I have set the first link on the menu to load the EXACT same page as the intial view...and I still get a not found error (even though that page is displaying perfectly in it's "pseudo frame" on initial load..) Oh help. I'm sooooooooo confused..
In other words, I can get any page I want to load initially..but when it comes to dynamically changing the content of the div it always gives me a "not found" error even when the link is set to the same page as the initial page
Here's the code for the frame:
<div class="frame">
<pre>
<?php
if (!isset($_GET['page'])) $page= 'accueil'; else $page= $_GET['page'];
switch($page)
{
case 'accueil': include ('test.php');break;
case 'presentation': include ('MOSEPT2006.htm');break;
}
?></pre>
</div>
<!--end frame div-->
And here's the code for the menu (placed in a div that is a left column for navigation items only)
<div align="left" style="padding-left: 5px">
<ul><a href="frames2.php?page=accueil">Accueil</a></ul>
<ul><a href="frames2.php?page=presentation">Catalogue General<br /> 2.79 MB en PDF</a></ul><!--end ul div-->
</div>
Modifié par ahen8 (18 Sep 2006 - 18:40)