There's quite a few potential issues here, but to start out, you currently have this line:
Code:
<p><script src="wp-includes/js/expandfunction.js" type="text/javascript"> </script></p>
repeated multiple times on the page, which is both unnecessary and potentially problematic. Go into Wordpress and find out where this code is being generated and replicated, and remove it entirely. Then, at the very bottom of your page, define what was in that script once on your page:
Code:
<script type="text/javascript">
var bobexample=new switchcontent("switchgroup1", "div") //Limit scanning of switch contents to just "div" elements
bobexample.setStatus('<img src="open.png" /> ', '<img src="close.png" /> ')
bobexample.setColor('darkred', 'black')
bobexample.setPersist(true)
bobexample.collapsePrevious(true) //Only one content open at any given time
bobexample.init()
</script>
Make sure open.png and close.png exist on your server (ie: http://www.sowi.uni-mannheim.de/lehr...press/open.png).
Bookmarks