Closed Thread Icon

Topic awaiting preservation: text into div? Pages that link to <a href="https://ozoneasylum.com/backlink?for=7858" title="Pages that link to Topic awaiting preservation: text into div?" rel="nofollow" >Topic awaiting preservation: text into div?\

 
Author Thread
YOUREanHTML
Nervous Wreck (II) Inmate

From: Pa, US
Insane since: Aug 2001

posted posted 10-01-2001 09:23

Is there anyway I can load, say, a text file Ive written and load it (read it) into a Div on my page instead of having hidden layers with the text already there or using frames and whatnot? I guess what Im asking is can I read text files using dhtml or php or something?

I wanna be able to change "pages" without having to write everything in one big file and show/hide layers all the time.

Other possibilities include different interfaces available that use the same files, which would make easier updating for me and others, etc. That's the plan, anyhow...

[This message has been edited by YOUREanHTML (edited 10-01-2001).]

lallous
Paranoid (IV) Inmate

From: Lebanon
Insane since: May 2001

posted posted 10-01-2001 14:07

you can use iframes inside div tags...this might allow you to change iframe's source and have the content changed...

or you can use two frames : 100%,* one for visual stuff and the other for loading contents.

you can use php to include files, this will make your updating process easier...

YOUREanHTML
Nervous Wreck (II) Inmate

From: Pa, US
Insane since: Aug 2001

posted posted 10-01-2001 17:34

k thanx.. Ill check into those.

The main purpose was that theres a lot of interactivity on my page, and I have to be able to show/hide the text layer at times as well as 'switch pages'.

« BackwardsOnwards »

Show Forum Drop Down Menu