I want to add toggled visible / invisible divs to a SharePoint wiki page, and put the function for the toggling in a web part. My toggling script works fine testing outside of SharePoint, but inside SP it won't run.

I'm able to add CSS and an ultra-basic script to the web part, and both seem to function fine in both IE and FF to change the page content the way I want them to.

There may be some restrictions preventing my site running some active content.