Skip to main content
7 events
when toggle format what by license comment
Nov 25, 2013 at 20:55 comment added Dany @vfclists : I know I am a little late to the party : It all depends on what you want and what you have tried already? What theme did you try to adapt? I think you only need a CSS id/class and a CSS3 transition with a click handler for this. JQuery is already included in Drupal. So this should be quite easy. If you want proper support you should read old questions or post a new question and code example.
Oct 31, 2013 at 9:37 comment added vfclists Is there any theme in particular that is suited to this technique? I am interesting in something that can will shrink the content area when expanding, and widen it again when it contracts.
Feb 18, 2013 at 9:19 comment added Chapabu You also shouldn't be using $(document).ready(). Drupal.behaviors is the preferred option as (apart form anything else) it allows the JS to be re-attached on DOM changes (AJAX loaded content for example).
Jan 10, 2013 at 23:37 comment added hockey2112 Sorry for the delay getting back to you on this. I tried the above method, but clicking on the H2 of the block did not provide any action. Here is a jfiddle I created using your example above. I cannot get it to work there, either. Maybe I am doing something wrong? jsfiddle.net/6jBAZ/1
Dec 14, 2012 at 19:21 history edited Dany CC BY-SA 3.0
added 45 characters in body
Dec 14, 2012 at 19:01 history edited Dany CC BY-SA 3.0
added 75 characters in body
Dec 14, 2012 at 18:49 history answered Dany CC BY-SA 3.0