Quote:
Originally posted by Slavakion
but I need to know how to change the html source of a layer (so the layer changes, but not the rest of the page). Maybe I just missed it.
|
The first question is the most obvious, can you use programing languages like php or asp with your host? Or at the very least shtml?
If yes, you can include the html and simply place a variable in the layer. Then make your links simply call that variable.
an example in php would be:
Code:
<?php $ext = ".php";
$id = "".$id."".$ext."";
if (file_exists($id))
{
include($id);
} else {
include("main.php");
}?>
then my links on the page read as such:
Code:
http://risd.arch13.com/index.php?id=disclaimer
So that the link replaces the variable $id with the page being called. The pages being called, for example disclaimer, don't have to have {head} and {body} tags like an html page, only the html you actually want such as body text and image tags structured approriatly.
Can you give us an idea what your making? I'm begining to feel that layers may be overkill just becuase you wanted the full scroll.
Take a look
here for an example of a setup that calls it's data dynamicly into a table (which could just as easly be a layer)