I want to manipulate the css attribute in my js code. I'm having this in my code: Code: $switchButton.css('background-image','url(styles/default/xenforo/widgets/togglesidebar_l.png)'); The problem is, that the stylepaths is hardcoded. In vBulletin it was possible to use IMGDIR_MISC for this, because the variable was initialized by vBulletin. I couldn't find anything similar in the xenforo sourcecode. Is there also a variable in XF availabe or do i need to create this myself?