Topic awaiting preservation: Once again... (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 07-04-2004 03:36
Sorry to bother you guys agan but I got another problem. I have a portion on my site which will be regularly updated, weekly updated etc etc I'm not very good at JavaScript (just started learning two weeks ago) but I can still understand most of it. I want to know how to make a script that I can place in a section of the site and then updated it elsewhere, like another file ot something. That portion of the site will be on every page. |
Paranoid (IV) Inmate From: USA |
posted 07-04-2004 04:15
Well... depends on what you're doing. You can include a seperate Javascript file with <script language="Javascript" src="included_file.js"></script> etc... When you change included_file.js, the changes will be on all the pages. |
Nervous Wreck (II) Inmate From: BC, Canada |
posted 07-04-2004 08:42
Believe me, it's easier with PHP. |
Nervous Wreck (II) Inmate From: |
posted 07-04-2004 13:38
quote: Since the only php feature you want is including, you don't need to use php. If you're going to learn it anyway, you might as well start now :P quote: I don't understand what you mean, since windows and linux can also run apache + php for viewing on your own computer... |
Paranoid (IV) Inmate From: France |
posted 07-04-2004 14:03
quote: Never heard of Easy PHP |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
posted 07-04-2004 16:55
hmmm I guess you're right ninmonkey, I've stayed in the dark ages long enough, it's time to vacate this cave called Client-Side and enter and apartment called Server-Side. But for now of course JavaScript will do as the content isn't going to be very dynamic just a couple of links. |
Nervous Wreck (II) Inmate From: California |
posted 07-05-2004 18:36
Trust your feelings! Once you cross over to the Server side forever will it dominate your will! |