Tags:
create new tag
, view all tags

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 have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list 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

 
Topic revision: r3 - 2006-03-15 - TonTLam
 
Twitter Delicious Facebook Digg Google Bookmarks E-mail LinkedIn Reddit StumbleUpon    
  • Download TWiki
TWiki logo Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2012 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.