Remy Sharp created a new screencast and detailed tutorial on “how to create a coda slider effect using jQuery:“ Although Panic didn’t really invent the effect, the sliding panels on the Coda is great implementation of this effect.
Recreating this effect is simple to do if you know what plugins to use. There are plugins out in the wild already, but we want our jQuery to satisfy the following requirements:
- Sliding panels effect without hogging browser CPU
- Hitting the page with a specific hash (i.e. page.html#preview) shows the right tab, and highlights the right navigation
- Any link on the page that refers back to a panel should trigger the effect and highlight the right navigation – this should happen without any extra work