IT.COM

Layers

Spaceship Spaceship
Watch
Impact
0
hi guys
is it possible to put a layer in a page and have the contents of that layer be an external page?
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
Yes I think that would be possible. You could do it with some server side technology like PHP or .SHTML. If you can show us exactly what you're trying to do I could probably give you some examples on how you could go about doing it. :) You can also take a look at this for including external files: http://www.webdesigntalk.net/showthread.php?s=&threadid=171
 
0
•••
with php just use <?php include 'content.html'; ?>
with html use Server Side Include which goes something like...
<!--#include virtual="content.html" --> but if your going to use ssi your files have to be .shtml

i hope this helps, i'm not to sure what you mean by layers...
 
0
•••
Why not just an IFrame?
 
0
•••
thanks

thanks for your help :)
 
0
•••
iframes work to, but then you gotta get into css to remove the frames and scrollbars.
 
0
•••
0
•••
0
•••
i use scrolling layers with a javascript show/hide effect. if you use dreamweaver, you can find it there.
 
0
•••
cool, thats the one way i've never done it. I'll have to look into it sometime...
 
0
•••
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back