![]() Topic awaiting preservation: Once again... (Page 1 of 1) |
|
---|---|
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
![]() 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 |
![]() 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 |
![]() Believe me, it's easier with PHP. |
Nervous Wreck (II) Inmate From: |
![]() 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 |
![]() quote: Never heard of Easy PHP |
Bipolar (III) Inmate From: Aiur, the Tarsonian Galaxy |
![]() 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 |
Nervous Wreck (II) Inmate From: California |
![]() Trust your feelings! Once you cross over to the Server side forever will it dominate your will! |