Closed Thread Icon

Preserved Topic: Layers/Div's Question (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=18244" title="Pages that link to Preserved Topic: Layers/Div&amp;#039;s Question (Page 1 of 1)" rel="nofollow" >Preserved Topic: Layers/Div&#039;s Question <span class="small">(Page 1 of 1)</span>\

 
YoYoFREAK
Paranoid (IV) Mad Scientist

From: A lost remnant
Insane since: Jun 2001

posted posted 08-18-2001 17:47

OK I am designing my new website that has pop out layers (for navigation). I would like to make those div's external so that I only have to edit one set of div's and the HTML page would just call the div's. So how do I make those Div's external? Do you know of any tutorials on the web for what I want to do? Thanks
-YoYoFREAK

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 08-18-2001 19:25

You gotta either use an IFRAME in the Divs or use an outside frame/window to load the page, and then take that pages' document.body.innerHTML as the content. Try the IFRAME.

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 08-19-2001 03:46

I might interpret your question differently than Slime. If you want those DIVs external to the source HTML, you could use server includes like SSI/XSSI. If you're using PHP, that supports Includes as well. That allows you to have a separate file that contains that data, that you can call from your HTML.

YoYoFREAK
Paranoid (IV) Mad Scientist

From: A lost remnant
Insane since: Jun 2001

posted posted 08-19-2001 20:19

Thank You it worked very well. What I did was created an HTML page titled Layers.shtml containing all of the layers but had no body or HTML tags on the page and then on the page that I wanted to use the layers for the navigation I used a SSI
<!--#include virtual="/Layers.shtml" --> and it worked great! Thanks For the help.
-YoYoFREAK

Edit: (didn't want sig)

Hmm I just noticed something It says on my first post on top "number of posts 66" and on this post it says "number of posts 66" shouldn't this be 67? Iono I am a detail freak. Just nevermind before I jabber on.

[This message has been edited by YoYoFREAK (edited 08-19-2001).]

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 08-19-2001 20:51

UBB also updates old post count (in the same thread), so that's why you see the same value on both posts (and your first post in this thread was no. 65, not no. 66).

« BackwardsOnwards »

Show Forum Drop Down Menu