Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-6) was last changed on 24-Sep-2004 05:02 by PaulDownes  

This page was created on 23-Jun-2004 20:52 by 84.131.163.243

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 7 changed 6 lines
# Create a file named toc.js and put it into your default template directory
# Add script (see below) to toc.js and save it.
# Add [CSS] (see below) to jspwiki.css
# In "ViewTemplate.jsp" (in your default template dir) add __{{onload="generate_TOC('toc');}}__ to the __{{<body>}}__ section. Within the default JSPWiki-template it will then look like __{{<BODY BGCOLOR="#FFFFFF" onload="generate_TOC('toc');">}}__
#Open "PageContent?.jsp" and add __{{<div id="toc"></div>}}__ before the line that contains __{{<wiki:InsertPage />}}__. You can also add a headline too __{{<div id="toc"> <strong>Content</strong></div>}}__.
Open the file "cssinclude.js" (in your default template dir) an add the line __{{<script src="templates/<wiki:TemplateDir? />/toc.js" type="text/javascript"></script>}}__ to the end of that file.
* Create a file named {{toc.js}} in your default template directory, add the script below and save it.
* Add [CSS] (see below) to jspwiki.css
* In "~ViewTemplate.jsp" (in your default template dir) add __{{onload="generate_TOC('toc');}}__ to the __{{<body>}}__ section. Within the default JSPWiki template it will then look like:\\
__{{<BODY BGCOLOR="#FFFFFF" onload="generate_TOC('toc');">}}__
* Open "~PageContent.jsp" and add __{{<div id="toc"></div>}}__ before the line that contains __{{<wiki:InsertPage />}}__. You can also add a headline too __{{<div id="toc"> <strong>Content</strong></div>}}__.
* Open the file "cssinclude.js" (in your default template dir) an add the following line to the end of that file:\\
__{{<script src="templates/<wiki:TemplateDir? />/toc.js" type="text/javascript"></script>}}__
Version Date Modified Size Author Changes ... Change note
6 24-Sep-2004 05:02 3.659 kB PaulDownes to previous
5 24-Sep-2004 04:52 3.662 kB PaulDownes to previous | to last
4 24-Jun-2004 18:43 3.663 kB 84.131.161.26 to previous | to last
3 24-Jun-2004 18:41 3.591 kB 84.131.161.26 to previous | to last
2 23-Jun-2004 21:03 3.565 kB 84.131.163.243 to previous | to last
1 23-Jun-2004 20:52 3.482 kB 84.131.163.243 to last
« This page (revision-6) was last changed on 24-Sep-2004 05:02 by PaulDownes