Re: Using common .js files

[ Follow Ups ] [ Post Followup ] [ Palview Developers Forum ]
Posted by James Garner on December 12, 19102 at 05:11:46:

In Reply to: Using common .js files posted by Matthew on December 11, 19102 at 23:55:57:

I placed the Post.

If you go to my web site, you can examine the source code for an example of how I do it. In short, I use one js file for each directory. (then is is a simple matter of changing the file name in the html file, no searching for js files, though it would be possible to use only one js file)

Main web page:
webpages.charter.net/garner/wlcl/

Example game:
http://webpages.charter.net/garner/wlcl/2002/t/g11.htm

View the source for the example and look for
SCR='wlcl2002.js'
PalView generated the file with this as SRC='g11.js'

To get the file, I just rename one of the generated js files. I delete the generated js files after making the minor change. And upload. As you see it works.

Good luck.

James


Follow Ups:
Post a Followup

Name:   
Subject:

Comments:

Optional Link URL:

Link Title:

[ Follow Ups ] [ Post Followup ] [ Palview Developers Forum ]