Random Snippet of Code and Life


06
Nov

Add collapsible content in Drupal

<?php
drupal_add_js('misc/collapse.js');
drupal_add_js('misc/drupal.js');
?>
<fieldset class="collapsible collapsed">
<legend>TEST TITLE</legend>
<p>test</p>
</fieldset>

Technorati Tags: , , , , ,

Popularity: 23% [?]

Related posts:
  • How to build a node in Drupal programmatically
  • Hubbub 07 by nuStart - 2007-11-23 Stockholm, Sweden
  • How to improve your website search ranking?
  • One Response to “Add collapsible content in Drupal”

    1. 1
      collapsible content using contemplate « chirale Says:

      […] See also: Add collapsible content in Drupal @ Random Snippets […]

    Leave a Reply

    Random Snippet of Code and Life is is proudly powered by Wordpress
    Navigation Theme by GPS Gazette