Closed (fixed)
Project:
Table of Contents
Version:
5.x-2.2
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Sep 2008 at 22:01 UTC
Updated:
22 Oct 2008 at 21:29 UTC
The toggle just isn't working . . . the javascript is being imported in the head:
<script type="text/javascript" src="/sites/all/modules/tableofcontents/tableofcontents.js"></script>
And, the html in the page seems to be generating correctly:
Table of Contents [<a href="#" class="toc-toggle">hide</a>]
<ol>
<li><a href="#TestDocumentation090208a">Test Documentation 09.02.08a</a>
<ol>
<li><a href="#TestDocumentation090208a-1">Test Documentation 09.02.08a
</a></li>
</ol>
</li>
</ol>
But the hide/show link does nothing.. it changes hide to show and back again. Nothing else changes.
Comments
Comment #1
jondblackburn commentedCould this be problem w/ jquery or a conflict w/ some other module? Anyone experienced this before?
Comment #2
deviantintegral commentedWhat browser are you using? It's working fine for me in both FF and IE6. Also, are you using jquery_update? It shouldn't cause any problems though.
If you can, it would be great if you could step through the JS as it looks like part of it is working.
--Andrew
Comment #3
antiorario commentedIt does not work on Safari 3.
Comment #4
deviantintegral commentedI just tested the latest -dev version in Safari and Firefox, and it's working fine. I haven't made any changes to the javascript in since the 2.2 release. Are there any errors in your error console?
Comment #5
jondblackburn commentedI have since upgraded to d6.