using Control.tabs for prototype.js in Rails

Posted by Elliot on Stack Overflow See other posts from Stack Overflow or by Elliot
Published on 2010-05-01T00:28:52Z Indexed on 2010/05/01 0:37 UTC
Read the original article Hit count: 395

Hey everyone,

I've been trying to use http://livepipe.net/control/tabs

to get some javascript tabs up and running on my rails up.

I'm really just trying to figure out how to install this... and I don't see how I'm running into any issues at all.

Here are the steps I've taken:

  1. put tabs.js in my scripts folder
  2. made sure the layout is including all javascript files
  3. then I copied in the code for example 1, as well as the CSS from the page's style sheet.

I don't get an error, but it just doesn't work. Both tabs are displayed...

Any ideas?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about prototype