The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
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: Code:
### 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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|