Question

How to insert a javascript in the WebTopBar ?

If I insert in the WebTopBar.txt
<script language="javascript" type="text/javascript" src="http://<myURL>/header.js"></script>

then this is simply displayed, rather then executed. How can I have the javascript be executed ?

Environment

TWiki version:
TWiki plugins:
Server OS:
Web server:
Perl version:
Client OS:
Web Browser:
Categories: Javascript

-- TonTLam - 10 Mar 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

Make sure that tags do not span multiple lines, e.g.:

<tag1
 with="parameter">

does not work, but:

<tag1 with="parameter">

does.

-- PeterThoeny - 10 Mar 2006

This was exactly the reason. Thanks.

-- TonTLam - 15 Mar 2006

Edit | Attach | (削除) Watch (削除ここまで) | Print version | History : r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2006年03月15日 - TonTLam
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

AltStyle によって変換されたページ (->オリジナル) /