In your HTML, you can have something like this (I'm not sure about
the other tags):
<script src="path/to/file.js" lang-Javascfript" type="javascript">

Where path/to/file.js links to a file of javascript functions.

--- Sarah Foxton <[EMAIL PROTECTED]> wrote:

> Hi there
> 
> i'm wondering - is there a Javascript function that
> can replicate the PHP "include" command ?
> 
> I want to have a 'master' html/javascript file... -
> But have smaller files - which will be included in the
> HTML output..'
> 
> (these small files will just have plain HTML - no
> other functions or anything)....
> 
> Any ideas ?
> 
> Im looking online now - for javascript tutorials...
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 


Mark Weinstock
[EMAIL PROTECTED]
***************************************
You can't demand something as a "right" unless you are willing to fight to 
death to defend everyone else's right to the same thing.
***************************************


                
____________________________________________________ 
Yahoo! Sports 
Rekindle the Rivalries. Sign up for Fantasy Football 
http://football.fantasysports.yahoo.com


Community email addresses:
  Post message: [email protected]
  Subscribe:    [EMAIL PROTECTED]
  Unsubscribe:  [EMAIL PROTECTED]
  List owner:   [EMAIL PROTECTED]

Shortcut URL to this page:
  http://groups.yahoo.com/group/php-list 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/php-list/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to