fredleblanc / roundabout

A 3D Turntable jQuery Plugin.
645 stars 204 forks source link

Control distance from center of carousel in FredHQ's Roundabout #138

Open kyle-jennings opened 10 years ago

kyle-jennings commented 10 years ago

Does anyone know if I pull my elements (in this case images) closer into the the center of the carousel? My images are wayyyyy far from the center: screen shot 2014-01-09 at 9 16 40 am

Id like the images closer to the center like this, which I achieved by editing the page with firebug: screen shot 2014-01-09 at 9 52 50 am

LongLiveCHIEF commented 10 years ago

lol... I'm having the opposite problem. Checked out a closer look at the docs, and the beginner's tutorial mentions that changing the width property of the roundabout-holder item increases/decreases the distance. I changed mine from about 5 to 30em to cover the width (~700px) I needed for my 3 pics... and it looks pretty nice. Here's a sample of my css for my roundabout:

   .roundabout-holder {
      list-style: none;
      padding: 0;
      margin: 0;
      height: 1em;
      width: 30em;
    }
    .roundabout-moveable-item {
      height: 1em;
      width: 4em;
      cursor: pointer;
      background-color: #ccc;
      border: 1px solid #999;
    }
    .roundabout-in-focus {
      cursor: auto;
    }