Using roundabout in coda

Using roundabout in coda

Hey y'all.
Please don't hate me for the following code if it is hopelessly amateur: I am but a hopeless amateur.
Its just a sort of demo idea that i'm messing with... there are extra objects etcetera in the css that i'm not using yet and so on... this is my first attempt with css, java, or even html, really. 

I'm trying to put some roundabouts in coda, as the title suggests.
I'm fairly sure that I'm not double-calling jquery.
Problems:
The width of the ul in roundabout, which usually effects the spread of the li's, (alterable in the css) is not functioning (ie, width does not change). This means that the roundabouts extend into the adjacent coda panel.
Also, the coda tabs have totally disappeared, Oh, and there is a big white space at the top of the coda... which may well be the tabs, actually... 
why is the class 'title' - used in the coda examples to create a tab - not present in the css anywho?
lots of questions.

Any ideas?

massive thanks, no seriously, 

b6a6r6n

the css (non-coda stuff at the bottom):
  1. /***********************************************************************
  2.   jQuery Coda-Slider v3.0 - kevinbatdorf.github.com/codaslider
  3.   Copyright (c) 2012 Kevin Batdorf
  4.   This plugin available for use in all personal or commercial projects under both MIT and GPL licenses.


  5. .coda-slider-wrapper {
  6.   padding: 0px 0; 
  7. }
  8.   
  9.   .coda-slider-wrapper .coda-slider {
  10.   
  11.     background: #000000;
  12.     width: 800px; 
  13.   }
  14.     
  15.     .coda-slider-wrapper .coda-slider .panel {
  16.     
  17.       width: 800px; 
  18.     }
  19.       
  20.       .coda-slider-wrapper .coda-slider .panel .panel-wrapper {
  21.        
  22.         padding: 0px; 
  23.       }
  24.   
  25.   .coda-slider-wrapper .coda-nav {
  26.   
  27.   }
  28.     
  29.     .coda-slider-wrapper .coda-nav .current {
  30.      
  31.       background: #000000; 
  32.     }
  33.     
  34.     .coda-slider-wrapper .coda-nav a {
  35.      
  36.       background: #000000;
  37.       color: #FFFFFF;
  38.       margin-right: 1px;
  39.       padding: 3px 6px; 
  40.     }
  41.     
  42.     .coda-slider-wrapper .coda-nav a:hover {
  43.     
  44.       background: #000000;
  45.       color: #FFFFFF;
  46.       text-shadow: none; 
  47.     }
  48.   
  49.   .coda-slider-wrapper .coda-nav-left, .coda-slider-wrapper .coda-nav-right {
  50.    
  51.   }
  52.     
  53.     .coda-slider-wrapper .coda-nav-left a, .coda-slider-wrapper .coda-nav-right a {
  54.     
  55.       background: #000;
  56.       color: #fff;
  57.       padding: 5px;
  58.       width: 100px; 
  59.     }
  60.   
  61.   .coda-slider-wrapper .coda-nav-left-arrow {
  62.     /******************************************************
  63.     * 
  64.     * Graphical arrow styles 
  65.     *
  66.     *******************************************************/
  67.     width: 25px;
  68.     height: 25px;
  69.     background: url(../img/arrow.png) no-repeat top left; 
  70.     margin-top:50px;
  71.   }

  72. .coda-slider-wrapper .coda-nav-left-arrow a {
  73.     /******************************************************
  74.     * 
  75.     * Graphical arrow styles 
  76.     *
  77.     *******************************************************/
  78.     width: 0;
  79.     height: 0;
  80.     border:none;
  81.   }

  82.   .coda-slider-wrapper .coda-nav-left-arrow:hover {
  83.     /************************************************
  84.     * 
  85.     * Graphical arrows hover left
  86.     *
  87.     *************************************************/
  88.     background: url(../img/arrow.png) no-repeat bottom left; 
  89.   }
  90.   
  91.   .coda-slider-wrapper .coda-nav-right-arrow {
  92.     /******************************************************
  93.     * 
  94.     * Graphical arrow styles 
  95.     *
  96.     *******************************************************/
  97.     width: 25px;
  98.     height: 25px;
  99.     background: url(../img/arrow.png) no-repeat top right; 
  100.     margin-top:50px;
  101.   }
  102. .coda-slider-wrapper .coda-nav-right-arrow a {
  103.     /******************************************************
  104.     * 
  105.     * Graphical arrow styles 
  106.     *
  107.     *******************************************************/
  108.     width: 0;
  109.     height: 0;
  110.     background: none; 
  111.     margin-top:0;
  112.     border:none;
  113.   }

  114.   .coda-slider-wrapper .coda-nav-right-arrow:hover {
  115.     /************************************************
  116.     * 
  117.     * Graphical arrows hover right
  118.     *
  119.     *************************************************/
  120.     background: url(../img/arrow.png) no-repeat bottom right; 
  121.   }

  122.   .coda-slider-wrapper .coda-nav-left-arrow:active, .coda-slider-wrapper .coda-nav-right-arrow:active {
  123.     /************************************************
  124.     * 
  125.     * Graphical arrows active
  126.     *
  127.     *************************************************/
  128.     margin-top: 22px; 
  129.   }
  130.   
  131.   .coda-slider-wrapper .loading {
  132.     /******************************************************
  133.     * 
  134.     * Style for preloader 
  135.     *
  136.     *******************************************************/
  137.     height: 100%;
  138.     padding: 20px;
  139.     text-align: center; 
  140.   }

  141.   


  142. .arrows .coda-slider {
  143.   /******************************************************
  144.   * 
  145.   * Margin between slider and arrows 
  146.   *
  147.   *******************************************************/
  148.   margin: 0 10px; 
  149. }

  150. /**********************************************************************
  151. *
  152. * Don't change anything below here unless you know what you're doing 
  153. *
  154. ***********************************************************************/

  155. .coda-slider-wrapper {
  156.   /************************************************
  157.   * 
  158.   * Wrapper styles 
  159.   *
  160.   *************************************************/
  161.   clear: both;
  162.   overflow: auto; 
  163. }
  164.   
  165.   .coda-slider-wrapper .coda-slider {
  166.     /************************************************
  167.     * 
  168.     * slider styles 
  169.     *
  170.     *************************************************/
  171.     float: left;
  172.     overflow: hidden;
  173.     position: relative; 
  174.   }
  175.     
  176.     .coda-slider-wrapper .coda-slider .panel-container {
  177.       /************************************************
  178.       * 
  179.       * Panel container styles 
  180.       *
  181.       *************************************************/
  182.       position: relative; 
  183.     }
  184.       
  185.       .coda-slider-wrapper .coda-slider .panel-container .panel {
  186.         /************************************************
  187.         * 
  188.         * Panel styles 
  189.         *
  190.         *************************************************/
  191.         display: block;
  192.         float: left; 
  193.       }
  194.   
  195.   .coda-slider-wrapper .coda-nav {
  196.     /************************************************
  197.     * 
  198.     * Navigation tabs 
  199.     *
  200.     *************************************************/ 
  201.   }
  202.     
  203.     .coda-slider-wrapper .coda-nav ul {
  204.       /************************************************
  205.       * 
  206.       * Navigation tabs 
  207.       *
  208.       *************************************************/
  209.       clear: both;
  210.       display: block;
  211.       margin: auto;
  212.       overflow: hidden; 
  213.     }
  214.       
  215.       .coda-slider-wrapper .coda-nav ul li {
  216.         /************************************************
  217.         * 
  218.         * Navigation tabs 
  219.         *
  220.         *************************************************/
  221.         display: inline; 
  222.       }
  223.         
  224.         .coda-slider-wrapper .coda-nav ul li a {
  225.           /************************************************
  226.           * 
  227.           * Navigation tabs 
  228.           *
  229.           *************************************************/
  230.           display: block;
  231.           float: left;
  232.           text-decoration: none; 
  233.         }
  234.   
  235.   .coda-slider-wrapper .coda-nav-left-arrow, .coda-slider-wrapper .coda-nav-right-arrow {
  236.     /************************************************
  237.     * 
  238.     * Graphical arrows 
  239.     *
  240.     *************************************************/
  241.     cursor: pointer;
  242.     float: left;
  243.   }
  244.     
  245.     .coda-slider-wrapper .coda-nav-left-arrow a, .coda-slider-wrapper .coda-nav-right-arrow a {
  246.       /************************************************
  247.       * 
  248.       * Graphical arrows 
  249.       *
  250.       *************************************************/
  251.       display: block; 
  252.     }
  253.   
  254.   .coda-slider-wrapper .coda-nav-left, .coda-slider-wrapper .coda-nav-right {
  255.     /************************************************
  256.     * 
  257.     * Html arrows 
  258.     *
  259.     *************************************************/
  260.     float: left; 
  261.   }
  262.     
  263.     .coda-slider-wrapper .coda-nav-left a, .coda-slider-wrapper .coda-nav-right a {
  264.       /************************************************
  265.       * 
  266.       * Html arrow styles 
  267.       *
  268.       *************************************************/
  269.       display: block;
  270.       text-align: center;
  271.       text-decoration: none; 
  272.     }
  273.   
  274.   .coda-slider-wrapper .coda-nav-left, .coda-slider-wrapper .coda-nav-left-arrow {
  275.     /************************************************
  276.     * 
  277.     * Html and graphical arrow styles 
  278.     *
  279.     *************************************************/
  280.     clear: both; 
  281.   }
  282. <script type="text/javascript"></script>
  283. <meta charset="utf-8" />
  284. ul {
  285. list-style: none;
  286. padding: 0;
  287. margin: 0 auto;
  288. width: 5em;
  289. height: 10em;
  290. }
  291. li {
  292. height: 19.6em;
  293. width: 27em;
  294. text-align: center;
  295. cursor: pointer;
  296. background-color: #000000;
  297.  border: 1px solid #999;
  298. }
  299. li img {
  300. width: 100%;
  301. }
  302. li.roundabout-in-focus {
  303. cursor: default;
  304. }
  305. li span {
  306. display: block;
  307. padding-top: 1em;
  308. }

  309. .header 
  310. {
  311. background-color: #000000;
  312. padding: 0px;
  313. text-align: center;
  314. visibility: visible;
  315. position: static;
  316. height: 430px }
  317. #footer 
  318. {
  319. color: #000000;
  320. font-size: 2em;
  321. line-height: 30px;
  322. background-color: #000000;
  323. text-align: left;
  324. letter-spacing: 1px;
  325. height: 30px;
  326. padding-top: 30px;
  327. padding-bottom: 30px;
  328. font-family: 'MyWebFont';
  329. clear: left
  330. }
  331. #left {float:left; width:50%;}

  332. @font-face{ 
  333. font-family: 'MyWebFont';
  334. src: url('freebsc_-webfont.eot');
  335. src: url('freebsc_-webfont.eot?#iefix') format('embedded-opentype'),
  336.      url('freebsc_-webfont.woff') format('woff'),
  337.      url('freebsc_-webfont.ttf') format('truetype'),
  338.      url('freebsc_-webfont.svg#webfont') format('svg');
  339. }

  340.   body {
  341. background-color: #000000; 
  342. margin:0;
  343. padding:0; 
  344. color: #FFFFFF;
  345. font-size: 100%;}
  346. p.title {font-family: 'MyWebFont'; font-size:3em; text-align:center;}
  347. p.detail {font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size:1em; text-align:center;}
  348. a:link {color: #736F6E; text-decoration: none; }
  349. a:active {color: #FFFFFF; text-decoration: none; }
  350. a:visited {color: #736F6E; text-decoration: none; }
  351. a:hover {color: #FFFFFF; text-decoration: none; }

the html: (no image links will work...!)

  1. <html>
  2.   <head>
  3.   <link rel="stylesheet" type="text/css" media="screen" href="./css/coda-slider.css">

  4.   <script src="./js/jquery-1.7.2.min.js"></script>
  5.   <script src="./js/jquery-ui-1.8.20.custom.min.js"></script>
  6.   <script src="./js/jquery.coda-slider-3.0.js"></script>
  7. <script src="jquery.roundabout.js"></script>


  8.   <script>
  9.       $(function() {
  10.           $('#slider-id').codaSlider();
  11.       });
  12. $(document).ready(function() {
  13. $('ul').roundabout();
  14. });
  15.   </script>
  16.   </head>

  17.   <body>
  18.       <div class="coda-slider" id="slider-id">
  19.           <div>
  20. <h2 class="title">Panel 1</h2> 
  21.               <ul>
  22. <div class="header"><img src="Logo_01.jpg" align="center" width="100%" alt=""></div>
  23. </ul>
  24. <BR><BR><BR><BR><BR><BR><BR><BR> 
  25.           </div>
  26. <div>
  27.               <h2 class="title">Panel 2</h2>
  28. <BR><BR><BR><BR><BR><BR><BR><BR> 
  29.               <ul>
  30. <li><img src="images/lflower03.jpg" alt="The Phoenix Bird" /></li>
  31. <li><img src="images/lflower04.jpg" alt="The Phoenix Bird" /></li>
  32. <li><img src="images/phbird04a.jpg" alt="The Phoenix Bird" /></li>
  33. <li><img src="images/phbird05a.jpg" alt="The Phoenix Bird" /></li>
  34. </ul>
  35. <BR><BR><BR><BR><BR><BR><BR><BR> 
  36.           </div>
  37.           <div>
  38.               <h2 class="title">Panel 3</h2>
  39.      <BR><BR><BR><BR><BR><BR><BR><BR>         
  40. <ul>
  41. <li><img src="images/phbird02a.jpg" alt="The Phoenix Bird" /></li>
  42. <li><img src="images/phbird03a.jpg" alt="The Phoenix Bird" /></li>
  43. <li><img src="images/phbird04a.jpg" alt="The Phoenix Bird" /></li>
  44. <li><img src="images/phbird05a.jpg" alt="The Phoenix Bird" /></li>
  45. </ul>
  46. <br><BR><BR><BR><BR><BR><BR>
  47.           </div>
  48.       </div>
  49.   </body>
  50. </html>