# Expand/Collapse

**URL:** https://forum.kirupa.com/t/expand-collapse/210151
**Category:** web dev
**Created:** [December 15, 2006, 3:01pm UTC](https://forum.kirupa.com/t/expand-collapse/210151 "2006-12-15T15:01:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![AgentFitz](https://avatars.discourse-cdn.com/v4/letter/a/f17d59/32.png) [@AgentFitz](https://forum.kirupa.com/u/AgentFitz)
#### Post date: [December 15, 2006, 3:01pm UTC](https://forum.kirupa.com/t/expand-collapse/210151/1 "2006-12-15T15:01:36Z")

</div>

[http://www.ncdot.org/dmv/vehicle\_services/registrationtitling/howToRegister.html](http://www.ncdot.org/dmv/vehicle_services/registrationtitling/howToRegister.html)

Hey guys, I was just wondering if anyone could shed some light on how these guys are doing this simple “expand/contract” +/- buttons for the paragraphs of text. It appears to be a simple html page, but I’ve never come across that code…?

_edit_ my mistake, it looks like its javascript, which appears to be loading externally, so I can’t see it. how might one accomplish this?

Thanks in advance!  
Fitz
