Forums

This topic is locked

adding html page to a layer

Posted 31 Aug 2003 02:18:46
1
has voted
31 Aug 2003 02:18:46 Dethel Mateo posted:
Hello everyone!

Is there a way to add a page that I create in to a layer, sort of like adding a page to a frame. I know I can add all the conetent inside of it, but I want to present different section of the page, and it would be easier to make the page and then try to link to them.... Any help?

Thanks-a-million

Replies

Replied 01 Sep 2003 11:50:22
01 Sep 2003 11:50:22 Martha Graham replied:
Do you mean when someone clicks or mouseover the link then show the layer?
You can use the show - hide layer behavior in Dreamweaver to accomplish this or use the Layer Genie extension.
www.dmxzone.com/go?4353

Martha Graham
DMXzone manager
Replied 01 Sep 2003 15:18:23
01 Sep 2003 15:18:23 Dethel Mateo replied:
No, I want to be able to show an html page inside the layer when someone clicks.


Thanks
Replied 02 Sep 2003 10:47:28
02 Sep 2003 10:47:28 Paul Gannon replied:
You could use an <IFRAME> tage within the layer to load an external HTML page. I don't use layers, but i guess it would work within a layer.

Hope that helps

Paul Gannon
Replied 02 Sep 2003 19:14:33
02 Sep 2003 19:14:33 Andrew Highfill replied:
You can't send header info to the browser multiple times without frames. Well, you probably can, IE displays about any mess you send it, but its not a good thing. Maybe I don't understand your needs but why cant you show/hide layers with all the content you want to display? Multiple Head / Body tags in one page? Stay away from it.

What I do I do because I like to do.
Replied 03 Sep 2003 18:51:58
03 Sep 2003 18:51:58 Dethel Mateo replied:
Thanks everyone for all your help. I got the Iframe extention from my teacher and it works great. Just what I was dreaming about <img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Thanks-A-Million
Replied 03 Sep 2003 19:37:37
03 Sep 2003 19:37:37 james crellin replied:
Actually I think you could use the include method on a PHP page.
So, you would have your index.php with a link to "show" the layer. Then, inside the layer you would have the code
<pre id=code><font face=courier size=2 id=code> &lt;? include(path/to/doc.php); ?&gt; </font id=code></pre id=code>
You could also have the path to a regular html page.

Check out the example that I made up.
www.solowhost.com/test_only/layerinclude/

<img src="www.imahosting.com/sigs/lgbrokenfly.gif" border=0>
<b>"I learn so I can help."</b> =- Saleblitz

Reply to this topic