View Single Post
Old 05-10-2004, 02:11 PM   #16 (permalink)
arch13
Loves my girl in thongs
 
arch13's Avatar
 
Location: North of Mexico, South of Canada
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)
__________________
Seen on an employer evaluation:

"The wheel is turning but the hamsters dead"
____________________________
Is arch13 really a porn diety ? find out after the film at 11.
-Nanofever
arch13 is offline  
 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73