Closed Thread Icon

Topic awaiting preservation: was wonderin...*involves JS, DHTML and SSI* Pages that link to <a href="https://ozoneasylum.com/backlink?for=8046" title="Pages that link to Topic awaiting preservation: was wonderin...*involves JS, DHTML and SSI*" rel="nofollow" >Topic awaiting preservation: was wonderin...*involves JS, DHTML and SSI*\

 
Author Thread
sonic_tsunami
Bipolar (III) Inmate

From: some evil place, the evil little atoll
Insane since: Jan 2002

posted posted 01-26-2002 05:54

is there any way possible to click a link in one table, then have a .txt file load via SSI without making more shtml files? without frames? I know there are some tricks that can create text on page...but I was wonderin if you could do that...it'd help on server space. and make browsing easier.

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-26-2002 07:52

SSI is only parsed on the server side (hence the name). Using DHTML to dynamically write a peice of SSI won't work, because only the client (the web browser) sees it, and the server doesn't.

Sorry =)

Dracusis
Maniac (V) Inmate

From: Brisbane, Australia
Insane since: Apr 2001

posted posted 01-26-2002 16:11

If your only working with rather small text files you could try to load them into JS var's at the start then write them into the table cell when called.

Don't know if that would work though.

sonic_tsunami
Bipolar (III) Inmate

From: some evil place, the evil little atoll
Insane since: Jan 2002

posted posted 01-26-2002 21:31

hmm...

dk01
Bipolar (III) Inmate

From: dk's house of love
Insane since: Oct 2001

posted posted 01-27-2002 00:45

ok i don't know squat about ssi but you could do like asp and just have an array in SSI (if they exist) and then have it convert it to js..
i know how i would do it in ASP i am not sure of the capabilities of ssi but this would be my guess.

- can't decide? have another drink.

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 01-27-2002 02:47

SSI is pretty limited. Writing the data to a variable or array at the beginning is your best bet. Or open it in a <div> that's invisible, then show it as needed.

« BackwardsOnwards »

Show Forum Drop Down Menu