The more I looked at this, the more I favor editing the swissarmy.js script.
Use this inter_slide.prototype.ibute function:
Code:
inter_slide.prototype.ibute=function(obj, i){
if(!obj.parentNode)
return;
if(i==1)
obj.parentNode.style.backgroundColor=this.ibut_hc? this.ibut_hc : 'yellow';
else if(i==2)
obj.parentNode.style.backgroundColor='transparent';
else if(i==3){
obj.parentNode.style.borderTop=obj.parentNode.style.borderLeft='1px solid '+(this.ibut_depress_hc? this.ibut_depress_hc : 'gray');
obj.parentNode.style.paddingRight='1px';obj.parentNode.style.paddingBottom=0;
}
if (i==2||i==4){
obj.parentNode.style.borderTop=obj.parentNode.style.borderLeft='none';
obj.parentNode.style.paddingRight='2px';obj.parentNode.style.paddingBottom='1px';
}
}
add this code (highlighted) near the top of the swissarmy.js script:
Code:
. . .
this.utit=imgs.use_title;
this.fadecolor=imgs.fadecolor;
this.ibut_hc=imgs.button_highlight;
this.ibut_depress_hc=imgs.button_depressed_highlight;
this.dp=imgs.desc_prefix? imgs.desc_prefix : ' ';
this.imbcolor=imgs.border_color;
this.imbstyle=imgs.bor . . .
Then you may activate all that with a property in your on page script:
Code:
. . . ng_photo_69.jpg", "Bliss Wedding Photography"];
slides[69] = ["gallery/wedding_photo_70.jpg", "Bliss Wedding Photography"];
slides[70] = ["gallery/wedding_photo_71.jpg", "Bliss Wedding Photography"];
slides[71] = ["gallery/wedding_photo_72.jpg", "Bliss Wedding Photography"];
slides[72] = ["gallery/wedding_photo_73.jpg", "Bliss Wedding Photography"];
slides[73] = ["gallery/wedding_photo_74.jpg", "Bliss Wedding Photography"];
slides.image_controls=1;
slides.button_highlight='#270012';
slides.no_descriptions=1;
slides.use_alt=1;
slides.use_alt=1;
slides.border=0;
slides.no_added_linebreaks=1;
slides.button_depressed_highlight='#502F3D';
Bookmarks