Hi all!
This is my first message to the forum :-)
Now the problem.
I've downloaded the Simple Controls Gallery available at this link:
http://www.dynamicdrive.com/dynamici...plegallery.htm
It works like a charm... but the problem I have is that I want to change that "Prev", "Next", "Pause" and "Play" labels in order to translate them to my language.
I see the file that has to be changed is the simplegallery.js. I've been able to change the "Pause" and "Play" labels. Going to line 87:
and going to line 92:Code:$playbutton.attr({title:'Play', src:simpleGallery_navpanel.images[1]})
But the "Prev" and "Next" labels is not so easy. It looks like this is the line that should have to be changed (line 146):Code:$playbutton.attr({title:'Pausa', src:simpleGallery_navpanel.images[3]})
I don't know why, but if I try to change the labels then I loose the functionality of going to the next/previous image. Anybody knows why?Code:var title=(i==0? 'Prev' : (i==1)? (setting.ispaused? 'Play' : 'Pause') : 'Next')
Could anybody help me?
Thanks.



Reply With Quote



Bookmarks