Skip to main content
13 events
when toggle format what by license comment
Jun 11, 2011 at 21:54 comment added tostinni @Renaee answer updated with full php code and behaviors ;)
Jun 11, 2011 at 21:54 history edited tostinni CC BY-SA 3.0
added 128 characters in body
Jun 11, 2011 at 18:09 comment added tostinni @Renaee great, I'll update my answer.
Jun 11, 2011 at 0:12 comment added Renaee thanks very much, this is working now, and no problems with list elements.
Jun 10, 2011 at 15:33 comment added tostinni @Renaee there's an invisible character betwen accordion( and {autoHeight be sure to delete it and stick the characters together. It generates a JS error on your page.
Jun 10, 2011 at 5:20 comment added Renaee copied this exact code in, no errors but accordion not working? have php filter on. see this page: ohsinecservices.org.au/node/25
Jun 10, 2011 at 5:12 comment added tostinni @Renaee sorry I forgot you were using drupal_add_js here is the code <?php drupal_add_library('system', 'ui.accordion'); drupal_add_js('jQuery(document).ready(function(){jQuery("#accordion").accordion({autoHeight: false});});', 'inline'); ?>
Jun 10, 2011 at 4:53 comment added Renaee this is what I get when use just yours?
Jun 10, 2011 at 4:52 comment added Renaee Parse error: syntax error, unexpected T_FUNCTION in /home/ohsinchi/public_html/modules/php/php.module(74) : eval()'d code on line 2
Jun 10, 2011 at 4:48 comment added tostinni @Renaee replace your accordion JavaScript code by mine.
Jun 10, 2011 at 4:22 comment added Renaee Could you tell me the exact code you put in the page to make this work, I am get an error currently. Does the behaviour code replace the previous code i had, or is in addition to.
Jun 10, 2011 at 3:57 comment added Renaee Many thanks indeed - will try this now and see how I go. Renaee.
Jun 9, 2011 at 15:47 history answered tostinni CC BY-SA 3.0