Here's what I have....
settings: Object
color: "#858789"
cursor: "cursors/coin.png"
height: 100
image1: "images/slide3.png"
image2: "images/slide5.png"
image3: "images/slide5.png"
image4: "images/slide2.png"
image5: "images/slide7.png"
image6: "images/slide6.png"
image7: "images/slide6.png"
image8: "images/slide1.png"
image9: "images/slide1.png"
imageCover: "images/scratchimg2.gif"
overlay: "none"
realtimePercent: true
scratchDown: null
scratchMove: function (e, percent)
scratchUp: null
size: 10
width: 100
What I NEED/WANT to do is simply access the images...
I'm using UNDERSCORE to filter through and populate an array with ONLY image1 - image9. The rest of the junk I could care less about.
Any ideas?
Here's my underscore code:
//Populate the image array
imgID = "image" + (parseFloat(i) + 1);
var imgName = _.filter({imgID: "images/"}, function(imgnmid) {
imgArray.push(imgnmid)
return imgnmid = "images/";
});
Yeah, I know, it's a mess...
This is inside a closure function
like this:
(function($)
{
$.fn.someFuncName = function(option, settings)
{
.....
}
})(Jquery);
thanks...