...

View Full Version : desperate help enabling disabled button in slideshow



glenn.php
01-08-2012, 03:50 AM
i have this slideshow, Swiss Army Image slideshow i got from DDrive. it has forward and back buttons that are disabled unless the Play/Stop button is in Stop mode. i cannot for the life of me figure out how to enable the buttons always. please can someone help? i have a maniac client who's now threatening not to pay because of this one thing!!!

installation:
http://cssphpmysql.com/dev/westermancm/library2.html

js:
http://cssphpmysql.com/dev/westermancm/js/swissarmy.js

thanks so much!
GN

Krupski
01-08-2012, 03:58 AM
i have this slideshow, Swiss Army Image slideshow i got from DDrive. it has forward and back buttons that are disabled unless the Play/Stop button is in Stop mode. i cannot for the life of me figure out how to enable the buttons always. please can someone help? i have a maniac client who's now threatening not to pay because of this one thing!!!

installation:
http://cssphpmysql.com/dev/westermancm/library2.html

js:
http://cssphpmysql.com/dev/westermancm/js/swissarmy.js

thanks so much!
GN

I'll give you a hint... look for the word "disabled" in the JS code and reason out what they are doing.

(this cracks me up: if (this.dom){ //if modern browsers (ie: Firefox, IE5+)

glenn.php
01-08-2012, 04:00 AM
I'll give you a hint... look for the word "disabled" in the JS code and reason out what they are doing.

(this cracks me up: if (this.dom){ //if modern browsers (ie: Firefox, IE5+)

i have been doing this for about four hours. it is not that simple.

i changed this, which did the trick, but then the Back button caused the image to go forward.





inter_slide.prototype.buttons=function(bool){
if(this.no_c)
return;
var next=this.go('next'+this.issid), prev=this.go('prev'+this.issid);
next.disabled=prev.disabled=!bool;
next.title=bool? 'next' : '';
prev.title=bool? 'previous' : '';


inter_slide.prototype.buttons=function(bool){
if(this.no_c)
return;
var next=this.go('next'+this.issid), prev=this.go('prev'+this.issid);
// next.disabled=prev.disabled=!bool;
next.title=bool? 'next' : '';
prev.title=bool? 'previous' : '';





i will pay you to make this happen for me. please.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum