The idea of DOMSlides was to keep it dead simple:
.hide{
position:absolute;
top:-999px;
left:-9999px;
}
#boundary{
margin:0 auto;
text-align:left;
position:relative;
width:730px;
padding:0 20px;
background:#fff;
color:#333;
}
1 Douglas Bowman: Making the absolute relative (http://www.stopdesign.com/articles/absolute/)
#boundary.js{
height:500px;
}
<ul id="toclist">
<li><a href="#">TOC</a>
<ul class="hide">
<li><a href="#slide2">Eric Meyer already did it - why another
one?</a></li>
[...]
</ul>
</li>
</ul>
<ul class="counter">
<li><a href="#"><<</a></li>
<li>(6 of 12)</li>
<li><a href="#">>></a></li>
</ul>
<h1>DOMSlides - Slideshows with web standards</h1>
becomes
<span> - DOMSlides - Slideshows with web standards</span>
// Texts
var tocLinkText='TOC';
var tocCloseText='Close TOC';
var counterText='(_x_ of _y_)';
var nextSlideText='>>';
var prevSlideText='<<';
var titleAdd=' - ';
// IDs
var boundaryId='boundary';
var footerId='footer';
var tocListId='toclist';
var closeTocId='closeToc';
var navigationForm='ds_navigation';
// Classes
var jsIndicatorClass='js';
var hideClass='hide';
var slideClass='slide';
var counterClass='counter';