this is the code i use:
</script>
<script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js'></script>
<script src="http://hightechmodz.com/public/style_images/htm_v7/slides.min.jquery.js"></script>
<script type='text/javascript'>
jQuery.noConflict();
jQuery(document).ready(function($){
$('#slides').slides({
preload: true,
preloadImage: 'http://hightechmodz.com/public/style_images/htm_v7/loading.gif',
play: 5000,
pause: 2500,
pagination: false,
generatePagination: false,
hoverPause: true,
animationStart: function(current){
$('.caption').animate({
bottom:-35
},100);
if (window.console && console.log) {
// example return of current slide number
console.log('animationStart on slide: ', current);
};
},
animationComplete: function(current){
$('.caption').animate({
bottom:0
},200);
if (window.console && console.log) {
// example return of current slide number
console.log('animationComplete on slide: ', current);
};
},
slidesLoaded: function() {
$('.caption').animate({
bottom:0
},200);
}
});
});
</script>
<script type="text/javascript">
var Rainbow = {
init: function()
{
Rainbow.rainbowcolors = new Array('yellow', 'green', 'red', 'aqua', 'blue'),
Rainbow.rainbowcolorcount = dialogcache = [],
Rainbow.rbcount = 0,
jQuery(document).ready(function(){
jQuery('.rainbow').each(function() {
// Set ID for this span
jQuery(this).attr('id', 'rainbow_'+Rainbow.rbcount);
Rainbow.nameload(jQuery(this).attr('id'), jQuery(this).text());
Rainbow.rbcount++;
});
});
},
namecolor: function(a, b, c, d, e, f) {
if (jQuery('#' + a).text().length > 0 && b) {
jQuery('#' + a).css('color', b);
}
if ((c && e) && (c == e - 1)) {
Rainbow.nameinit(f, d);
}
},
nameinit: function(a, w) {
if (!Rainbow.rainbowcolorcount[a] || Rainbow.rainbowcolorcount[a] >= Rainbow.rainbowcolors.length) {
Rainbow.rainbowcolorcount[a] = 0;
}
var d = w.length;
for (z = 0; z < d; z++) {
l = z * 150;
x = Rainbow.rainbowcolors[Rainbow.rainbowcolorcount[a]];
setTimeout('Rainbow.namecolor("' + a + '_' + z + '", "' + x + '", "' + z + '", "' + w + '", "' + d + '", "' + a + '");', 150 + l);
}
Rainbow.rainbowcolorcount[a]++;
},
nameload: function(a, w) {
jQuery('#' + a).css('width', jQuery('#' + a).attr('offsetWidth') + 'px');
jQuery('#' + a).html('');
var c = Math.floor(Math.random() * Rainbow.rainbowcolors.length);
for (z = 0; z < w.length; z++) {
d = w.substring(z, z + 1);
jQuery('#' + a).append('<span id="' + a + '_' + z + '">' + d + '</span>');
}
Rainbow.nameinit(a, w);
},
};
Rainbow.init();
</script>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37644312-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script></head>
and it works fro the shoutbox