PDA

View Full Version : Looking for Java Script



jiminsd
December 14th, 2000, 01:51
I have a need to put changing information (about 2-4 paragraphs) on pages that already has some other fixed information in 6 different sites. Where can I find a script that will let me update these different pages by changing only one original file?

}:8) Supermoo
December 15th, 2000, 03:26
External file management on the user side, more information available at;

http://www.dynamicdrive.com/
http://javascript.internet.com/
http://www.djcl.com/beta/v4/

whoops! think that last on is a mistake *sigh* :)

Chicken
December 15th, 2000, 19:25
<!--#include file="http://domain.com/file.txt" -->

coolguy23
December 19th, 2000, 19:53
i know how to do this....make a .js file with


document.write('<html>');


and u must have a line for every single html line, then just upload the .js file and add


<SCRIPT LANGUAGE="javascript" TYPE="text/javascript" SRC="full url of.js"></SCRIPT>


if u need an example ask me...

Chicken
December 19th, 2000, 22:47
Just think of how wonderful that's gonna look to java script disabled browsers. Why you'd want to use javascipt for this, I don't know.

Javascipt is great to add small touches to a website (imagerollovers, mouseover effects, pageload effects, etc.), but shouldn't be used for critical things like navigation, content, passwords, etc.

At least have a backup plan for people who will get a blank page otherwise.