Heya!
I've been messing around with the Coda Slider v1.1.1 script for all day now, and have gotten it customized slowly, but steadily.
I have a problem with the Panel Tabs, though.
Here's a link to the test site:
http://www.ufodesign.dk/test/index.html
How do I get those 3 Panels aligned on the same line?
I can customize the Panels, and I can customize the content window, but the 3 buttons seem unplaceable??? lol
Here's the CSS:
Code:
p.intro { border-bottom: 1px solid #ccc; margin-bottom: 20px; padding: 20px 0 30px 0; text-align: center; width: 100% }
p#cross-links, p#valid { text-align: center }
p#cross-links { border-bottom: 1px solid #ccc; margin-bottom: 30px; padding-bottom: 30px }
noscript p, noscript ol { color: #a00; font-size: 13px; line-height: 1.4em; text-align: left }
noscript a { color: #a00; text-decoration: underline }
noscript ol { margin-left: 25px; }
img { border: 0 }
.stripViewer .panelContainer .panel ul {
text-align: left;
margin: 0 15px 0 30px;
}
.slider-wrap { /* This div isn't entirely necessary but good for getting the side arrows vertically centered */
margin: 20px 0;
position: relative;
width: 100%;
}
/* These 2 lines specify style applied while slider is loading */
.csw {
width: 400px;
height: 300px;
background: #F5F5F5;
overflow: scroll;
float: left;
}
.csw .loading {margin: 200px 0 300px 0; text-align: center}
.stripViewer { /* This is the viewing window */
position: relative;
overflow: hidden;
border: 5px solid #39c; /* this is the border. should have the same value for the links */
margin: auto;
width: 400px; /* Also specified in .stripViewer .panelContainer .panel below */
height: 200px;
clear: both;
background: #fff;
}
.stripViewer .panelContainer { /* This is the big long container used to house your end-to-end divs. Width is calculated and specified by the JS */
position: relative;
left: 0; top: 0;
width: 100%;
list-style-type: none;
/* -moz-user-select: none; // This breaks CSS validation but stops accidental (and intentional - beware) panel highlighting in Firefox. Some people might find this useful, crazy fools. */
}
.stripViewer .panelContainer .panel { /* Each panel is arranged end-to-end */
float:left;
height: 100%;
position: relative;
width: 400px; /* Also specified in .stripViewer above */
}
.stripViewer .panelContainer .panel .wrapper { /* Wrapper to give some padding in the panels, without messing with existing panel width */
padding: 10px;
}
.stripNav { /* This is the div to hold your nav (the UL generated at run time) */
margin: auto;
}
.stripNav ul { /* The auto-generated set of links */
list-style: none;
}
.stripNav ul li {
float: left;
margin-right: 2px; /* If you change this, be sure to adjust the initial value of navWidth in slideviewer.js */
}
.stripNav a { /* The nav links */
font-size: 12px;
text-align: left;
line-height: 30px;
background: #FFF;
color: #000;
text-decoration: none;
display: block;
padding: 0 0px;
font-family: Verdana, Geneva, sans-serif;
height: 30px;
width: 133px;
}
.stripNav a:hover {
background: #9cf;
}
.stripNav a.current {
background: #39c;
color: #fff;
}
.stripNavL, .stripNavR { /* The left and right arrows */
position: absolute;
top: 230px;
text-indent: -9000em;
}
.stripNavL a, .stripNavR a {
display: block;
height: 400px;
width: 40px;
}
.stripNavL {
left: 0;
}
.stripNavR {
right: 0;
}
.stripNavL {
background: url("images/arrow-left.gif") no-repeat center;
}
.stripNavR {
background: url("images/arrow-right.gif") no-repeat center;
}
And here's a link to the Coda Slider script page:
http://www.ndoherty.com/demos/coda-slider/1.1.1/
Anyone able to help me here?
Cheers,
Bassa
Bookmarks