We relaunched the TWiki.org project with an expanded TWiki charter, and we invite you to participate! The TWiki.org Code of Conduct agreement took effect on 27 Oct 2008. We ask existing twiki.org users to opt-in. You need to opt-in to participate in the Blog, Codev, Plugins and TWiki webs. -- PeterThoeny - 27 Oct 2008
Tags:
create new tag
, view all tags

Question

I managed to put together a little javascript popupmenu using YahooUserInterfaceContrib libraries, to replace the buttons in the toolbar. The problem is, how to embed it to twiki?

  • So far: I've created an example template "jsskin.tmpl" where I could modify the toolbar to contain only one button, and the id to attach my menu into, which works just fine from the single page which contains the javascript. I tried to embed the script to the view template and the stylesheet to the TWikiPreferences, but without success (or I messed up something).
  • Attachment: script page

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: SpreadSheetPlugin? , BreadCrumbsPlugin? , CalendarPlugin? , CommentPlugin? , EditTablePlugin? , FilterPlugin? , FlexWebListPlugin? , GluePlugin? , HeadlinesPlugin? , HtmlFormsPlugin? , IfDefinedPlugin? , InterwikiPlugin? , NatSkinPlugin? , PreferencesPlugin? , RenderListPlugin? , SlideShowPlugin? , SmiliesPlugin? , TWikiDrawPlugin? , TablePlugin? , TreeBrowserPlugin? , TwistyPlugin?
Server OS: Xubuntu Dapper
Web server: Apache 2.0
Perl version: 5
Client OS: MS Windows XP, SP2
Web Browser: Firefox
Categories: Javascript

-- MikkoLaakso - 16 Dec 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.

No activity for over 30 days, sorry, closing this...

-- PeterThoeny - 01 Feb 2007

 
Change status to:
Topic attachments
I Attachment Action Size Date Who Comment
elseEXT PopupMenu manage 2.4 K 16 Dec 2006 - 07:11 MikkoLaakso A TWiki-page that contains the javascript
Topic revision: r2 - 01 Feb 2007 - 09:18:54 - PeterThoeny
 
TWIKI.NET
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback