kathryncairo
New Member
I am having list of css files and every css file has different image location code written like url(../_images/headerImages.jpg), now I am placing my images to some other domain therefore I want to create a variable like var domainPath = http://sitename.com so that at every url(../) I could write something like url(domainPath+ '/images/headerImages.jpg').Example\[code\]var DOMAIN_PATH = http://www.mysite.com;#header {background: url(DOMAIN_PATH/_images/headerimage.jpg)no-repeat; }\[/code\]Please help me..