PDA

View Full Version : vBulletin JavaScript - Collapsing elements


sebz2009
01-11-2010, 12:38 AM
At the moment, the Javascript is adding/removing "_collapsed" to an <img> tag for the collapsing of boards.

I want to remove the image element and have most of the images in a single PNG file like Facebook (http://b.static.ak.fbcdn.net/rsrc.php/zEZ1P/hash/4mxpf6vf.png) and MySpace (http://x.myspacecdn.com/Modules/HomeDisplay/Static/img/commonIcons024.gif) do, for example.

I was wondering what I need to change in the JavaScript file to get it to work just in the <a> tag as the image will be in the background of that in the CSS.