...

View Full Version : foto slider error



javastudent
12-13-2010, 07:49 AM
This is the script:

<script type="text/javascript">
$(document).ready(function(){
var ids = new Array (0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,3 6);
FOTO.Slider.importBucketFromIds('default',ids);
FOTO.Slider.reload('default');
FOTO.Slider.preloadImages('default');
FOTO.Slider.enableSlideshow('default');
FOTO.Slider.play('default');
FOTO.Slider.bucket = {
'default': {
0: {'thumb': 'hb1thumb.jpg', 'main': 'hb1.jpg'},
1: {'thumb': 'hb2thumb.jpg', 'main': 'hb2.jpg'},
2: {'thumb': 'hb3thumb.jpg', 'main': 'hb3.jpg'},
3: {'thumb': 'hb4thumb.jpg', 'main': 'hb4.jpg'},
4: {'thumb': 'hb5thumb.jpg', 'main': 'hb5.jpg'},
5: {'thumb': 'hb6thumb.jpg', 'main': 'hb6.jpg'},
6: {'thumb': 'hb7thumb.jpg', 'main': 'hb7.jpg'},
7: {'thumb': 'hb8thumb.jpg', 'main': 'hb8.jpg'},
8: {'thumb': 'hb9thumb.jpg', 'main': 'hb9.jpg'},
9: {'thumb': 'hb10thumb.jpg', 'main': 'hb10.jpg'},
10: {'thumb': 'hb11thumb.jpg', 'main': 'hb11.jpg'},
11: {'thumb': 'hb12thumb.jpg', 'main': 'hb12.jpg'},
12: {'thumb': 'hb13thumb.jpg', 'main': 'hb13.jpg'},
13: {'thumb': 'hb14thumb.jpg', 'main': 'hb14.jpg'},
14: {'thumb': 'hb15thumb.jpg', 'main': 'hb15.jpg'},
15: {'thumb': 'hb16thumb.jpg', 'main': 'hb16.jpg'},
16: {'thumb': 'hb17thumb.jpg', 'main': 'hb17.jpg'},
17: {'thumb': 'hb18thumb.jpg', 'main': 'hb18.jpg'},
18: {'thumb': 'hb19thumb.jpg', 'main': 'hb19.jpg'},
19: {'thumb': 'hb20thumb.jpg', 'main': 'hb20.jpg'},
20: {'thumb': 'hb21thumb.jpg', 'main': 'hb21.jpg'},
21: {'thumb': 'hb22thumb.jpg', 'main': 'hb22.jpg'},
22: {'thumb': 'hb23thumb.jpg', 'main': 'hb23.jpg'},
23: {'thumb': 'hb24thumb.jpg', 'main': 'hb24.jpg'},
24: {'thumb': 'hb25thumb.jpg', 'main': 'hb25.jpg'},
25: {'thumb': 'hb26thumb.jpg', 'main': 'hb26.jpg'},
26: {'thumb': 'hb27thumb.jpg', 'main': 'hb27.jpg'},
27: {'thumb': 'hb28thumb.jpg', 'main': 'hb28.jpg'},
28: {'thumb': 'hb29thumb.jpg', 'main': 'hb29.jpg'},
29: {'thumb': 'hb30thumb.jpg', 'main': 'hb30.jpg'},
30: {'thumb': 'hb31thumb.jpg', 'main': 'hb31.jpg'},
31: {'thumb': 'hb32thumb.jpg', 'main': 'hb32.jpg'},
32: {'thumb': 'hb33thumb.jpg', 'main': 'hb33.jpg'},
33: {'thumb': 'hb34thumb.jpg', 'main': 'hb34.jpg'},
34: {'thumb': 'hb35thumb.jpg', 'main': 'hb35.jpg'},
35: {'thumb': 'hb36thumb.jpg', 'main': 'hb36.jpg'},
36: {'thumb': 'hb37thumb.jpg', 'main': 'hb37.jpg'},
}
};

});
</script>
When I run the page on the browser the images do not display at all, and the error console gives me an on going message that reads:

warning: error in parsing value for 'filter'. declaration dropped.
warning: expected identifier or string for value in attribute selector but found '0'
warning: expected identifier or string for value in attribute selector but found '1'
warning: expected identifier or string for value in attribute selector but found '22'

This is not something that I created myself, it was from a tutorial I found on:
http://opiefoto.com/articles/photoslider
I e-mailed the author but figured I could also seek advice here.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum