June 13, 200917 yr Hi Guys, Im battling with JavaScript... I am a total noob at it and can never get it... // Default Options var defaultOptions = { animate : true, // Animate the progress? - default: true showText : true, // show text with percentage in next to the progressbar? - default : true width : 120, // Width of the progressbar - don't forget to adjust your image too!!! boxImage : 'lib/jsprogress/images/bramus/percentImage.png', // boxImage : image around the progress bar barImage : 'lib/jsprogress/images/bramus/percentImage_back1.png', // Image to use in the progressbar. Can be an array of images too. barImage : 'lib/jsprogress/images/bramus/percentImage_back2.png', height : 12, // Height of the progressbar - don't forget to adjust your image too!!! onTick : function(pbObj) { return true } } I need to put the barImage into an array and when I do it dreamweaver does not like it one bit! Can anyone tell me howto do it as im getting soo confused Rob
June 13, 200917 yr Author That got it I thought I had tried that earlier but it turned out I was using () instead of [] Thanks man
Create an account or sign in to comment