Hey I was wondering where do you get the boxes like the ones shown in this tutorial.

It shows code but the user can click on a certain function at the top f the box in a new window opens with the code. How can that be accomplish?