
Originally Posted by
judeabb
I know you've updated the code but I'm baffled by the style hooks and what to do with them. Is there a tutorial? Should I post this on the DD forum?
Yes, if you want more help, post in the DD scripts help section. The demo page for Swiss Army has a tutorial of the configuration options.
The updated script:
http://home.comcast.net/~jscheuer1/side/files/swiss.js
also has these added style hooks:
- #outer$ - outer division containing the show images.
- #master$ - division directly nested in #outer$, contains the two divisions that hold the tables that hold the images.
- #canvas$_0 - one of the two divisions that holds a table that holds the images.
- #canvas$_1 - the other of the two divisions that holds a table that holds the images.
- #desc$ - outer division containing the descriptions (holds the description prefix text, if used, and the below description span).
- #imgdsc$ - span that holds the descriptions.
- #counter$ - outer division holding the counter.
- #thecnt$ - span updated with actual image counter.
- #controls$ - outer division for the controls, if using images for buttons, this is actually a table.
- #prev$ - input button for previous image.
- #gostp$ - input button that starts or stops the slide show (a toggle).
- #next$ - input button for next image.
- #goto$ - text input for jumpto feature.
- #go$ - input button "GO" button for jumpto feature.
Now each slideshow on your page has a number. The first one is 0, the second one is 1 and so on. If you only have one slideshow, it's 0. So to style the description's outer container for it, use a style rule like (for example):
Code:
#desc0 {
position: relative;
top: - 5px;
}
Bookmarks