[Pmwiki-users] Re: include javascript in wiki page
Albi Rebmann
albi
Sun Mar 14 02:10:20 CST 2004
Patrick R. Michaud schrieb:
> A little bit shorter (no need for the array_merge_recursive):
>
> $JScriptPath = 'http://your.domain.com/pmwiki/jscript';
> $InlineReplacements["/jscript:($UrlPathPattern)/"] =
> "<script src='$ScriptPath/\$1' type='text/javascript'></script>";
>
> Should work just fine.
Any idea how I can inluce following script, which will show weather:
<script language="JavaScript"
src="http://home.wetteronline.de/cgi-bin/nph-h?PLZ=70736&PLZN=Fellbach&L=de">
</script>
ALBI...
More information about the pmwiki-users
mailing list