jQuery at Accordion or Tabs
This is a jQuery plugin for making a set of tabs responsive dynamically. The plugin dynamically detects when the tabs no longer can fit in their container and then turns them into an accordion.
This version is old school, check out the latest version.