Right, looks perfect on your testpage. It's the way we would like to have it.
I followed your instructions again. Just instead of creating a new template, in the source view I selected all old code and replaced it with the actual one. The I replaced the links for the external files to internal links.
Again the same behaviour: The table looks all the same. Only the additional white space before. No error messages.
If I set the link tablesorter_uri to a wrong link, nothing is changed. No error message.
A few thoughts:
- Could it be a style sheet problem, since out wiki is customized (colors, viewing width). Im not sure if there are some special styles for tables in our setup.
- Is the java stuff running in the clients browser or on the wiki server? Might it be possible that the code isn't executed or found on the server? I put the additional files as attachment on the TSTable template. This should not do anything, since the files are accessible through a web-browser.
- This wiki is used in a company. Could it be that java code execution is prohibited due to security reasons?
In the first line of the scipt I addedIn the following you'll see the central part of html code which is produced:Code:"The TSTable script is running.";
Code:</li></ul></form></div> <h1 id="title"><span >Tabletest</span></h1> </div> <div class="pageStatus"> </div> <div class="PageDW-UserfraheTabletestseite"> <div id="page-top"><div id="pageToc"><div class="pageToc"><h5>Inhaltsverzeichnis</h5><em>keine Gliederung</em></div></div><div class="pageText" id="pageText"> <p> The TSTable script is running.<p id="id_HNv8pbQ0" style="display:none;"> </p> <p><br /> </p></p> <table cellspacing="1" cellpadding="1" border="1" style="table-layout: fixed; width: 100%"> <thead> <tr> <th scope="col">1</th> <th scope="col">2</th> </tr> </thead> <tbody> <tr> <td>2</td> <td>3</td> </tr> <tr> <td>4</td> <td>5</td> </tr> </tbody> </table> <p><br /> </p></div></div><div class="printfooter" id="printfooter"><hr /> <p>Geladen von "<a href="http://amazonewiki/User:frahe/Tabletestseite">http://amazonewiki/User:frahe/Tabletestseite</a>"</p> </div>