Reply to comment
addLoadEvent
OK, so I had a problem with this theme disabling the javascript functions within Drupal, specifically the collapsible fieldsets in the administration>settings page. This, after much hair-pulling was due to the rather dumb fact that I was using a window.onlad call in my custom javascript that powers the theme. After Searching drupal.org extensively, I finally found this which pretty much sums it up. Simply change any window.onload calls to:
if (isJsEnabled()) {
addLoadEvent(yourCustomJSFunction);
}
I have now excountered the situation where I somehow disabled the drupal javascript inclusion in the head of my document. I fixed it by adding a call to drupal_add_js() in my template.php (where I should be calling my JS from anyways I have also learned :)).
Recent comments
9 weeks 3 days ago
26 weeks 6 days ago
31 weeks 3 days ago
39 weeks 3 days ago
44 weeks 3 days ago
44 weeks 4 days ago
46 weeks 4 days ago
1 year 42 weeks ago
1 year 42 weeks ago
1 year 42 weeks ago