I have a simple question that I need help with. In my code, I currently pull images from a website using this syntax:
icon: 'http://i45.tinypic.com/2yua8ns.png'
. However, I would like to use something like this instead: icon: '\images/image.png'
How can I accomplish this in a JavaScript script embedded in an HTML document using Dreamweaver?
EDIT: Problem solved. I discovered that the correct way of referencing the image is without the backslash at the beginning. It should be: icon: 'images/image.png'