Collapsible fieldsets

Collapsible fieldsets

Categories:
Code snippet to build collapsible fieldset like this one:
<?php
drupal_add_js
('misc/collapse.js');
drupal_add_js('misc/drupal.js');
?>


<fieldset class="collapsible collapsed">
<legend>
Title of fieldset goes here.
</legend>
<p>
Content goes here.
</p>
</fieldset>

I am new drupal... where we

I am new drupal...

where we apply the php code for get collapisble fieldset
in content type body or otherwise...send your answer to my mail id.

You would insert this code

You would insert this code in any node using the full html input format or the php input format.

You can just create a page and insert the code there and select php input and hit submit.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
11 + 5 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.