The FleXhtml plugin allows for inline javascript, it does not permit the
inclusion of src="xxx..."
The way to add the required javascript is to put it into the multiline
property used for javascript. If you refer to [1], you will see that the
property "TrafficCamScript" contains javascript without the tags <script> or
</script>, which are inserted by the plugin. The reason for this is to
ensure that someone responsible for the wiki can always easily inspect the
javascript. The page lock mechanism can be used to ensure that the
javascript stays as intended.
It does not matter where javascript is on the page, except for some
performance issues. The plugin also allows for the calling of a function
when the page initializes, in this case the "specialFirstLoad()" javascript
function declared in the inline javascript in the property
"TrafficCamScript"
[1]
http://ods.dyndns.org/FlexWiki/default.aspx/OdsWiki/TrafficCamImplementation.html
John Davidson
On Jan 8, 2008 8:02 AM, <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> first of all, thanks to John Davidson for providing the FleXhtml plugin.
> Works like a charm and brought me a big step further in customizing
> FlexWiki for my needs.
>
> Now I need FlexWiki-generated pages to include several chunks of
> javascript code, at the moment distributed over several .js files. What's
> the recommended way to include custom javascript code? Is there a way to
> edit the HTML FlexWiki uses for page headers?
>
> Thanks in advance for any response,
>
> Benno Dielmann.
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
>
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________
> Flexwiki-users mailing list
> Flexwiki-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/flexwiki-users
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Flexwiki-users mailing list
Flexwiki-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flexwiki-users