Log in

View Full Version : menu_open.gif problem


Zelos
08-05-2006, 08:11 PM
I wanted to replace the default menu_open.gif with my own custom one. However, when I tried, it resized my icon to 11x7 (mine is 9x9). How do I prevent this from happening?

EDIT: figured it out on my own. For any who were wondering:

### STEP 1

OPEN "clientscript/vbulletin_menu.js"


### STEP 2

Find:

img.src = IMGDIR_MISC + '/menu_open.gif';

Below, add:

img.width = x;
img.height = y;


### STEP 3

Replace x and y with the desired dimensions.


### STEP 4

SAVE and upload

ChurchMedia
02-17-2007, 03:40 AM
Thanks!