Unsure of how this is targeted

hey guys,

i came across this website by a fellow member here but im not quite sure how this was done. Please visit: http://www.subrealillusion.com/main.htm

Get to the portfilo page and press for example: illustration, animation, logotype…)

See when you press them, text loads into the left bigger box.
Hows that happen?