Javascripting....

Jake Savin jake at userland.com
Fri Nov 1 15:25:03 PST 2002


Hi Kris,

There's a text-area on the Advanced Prefs page in each Manila site for 
inserting JavaScript. Code placed in there will be added to every page 
in your site.

You could also upload the JavaScript as a Gem file, and then use 
something like this in your template to include it in your pages:

<script src="http://static.myserver.com/myscript.js" 
language="JavaScript">

-Jake

On Friday, November 1, 2002, at 12:08 PM, Kris Anderson wrote:

> What is the proper way to insert javascript in to a Frontier generated 
> page?
> I found one like that says to create a #editorScript text thing at the 
> root of the website. I did that and it seemed to work. But in 
> organizing the stuff I found a #Jscript table and decided to drop the 
> #editorScript in to that table and then it was broke (it did not work. 
> frontier would create error tables but they didn't stick around long 
> enough for me to be able to view them). Not only was Frontier 
> reporting errors but it also broke the Javascript.
> In another place I saw put the javascript in to the page within HTML 
> comments, frontier will ignore the text between them. That didn't work 
> either.
>  
> So now I'm asking. Anybody have any working solutions? I'm using the 
> 90 day evaluation of Frontier 9 sans Manilla (I want to manage my 
> content, not have my content manage me).
>  
> Thanks for your help.
> ~K Anderson




More information about the Frontier-Users mailing list