The Arcive of vBulletin Modifications Site. |
|
Details »»
|
|||||||||||||||||||||||||
What I want to do is when people use the IMG dropdown for the code buttons it uses this
<img src="the pic" align="left"> instead of the [ img] the pic [ /img] Basically I want to align the pictures to the left IS this possible? Sarge function vbcode(theform,vbcode,prompttext) { // insert [x]yyy[/x] style markup if ((normalmode(theform)) || (vbcode=="IMG")) { inserttext = prompt(tag_prompt+"\n["+vbcode+"]xxx[/"+vbcode+"]",prompttext); if ((inserttext != null) && (inserttext != "")) theform.message.value += "["+vbcode+"]"+inserttext+"[/"+vbcode+"] "; } else { donotinsert = false; for (i = 0; i < tags.length; i++) { if (tags[i] == vbcode) donotinsert = true; } if (donotinsert) stat("already_open"); else { theform.message.value += "["+vbcode+"]"; arraypush(tags,vbcode); } } theform.message.focus(); } Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
thanks in advance
|
|
#3
|
||||
|
||||
|
All you want to do is to align the images to the left?
In functions.php under your admin folder find PHP Code:
PHP Code:
|
|
#4
|
|||
|
|||
|
thanks broheim!
|
![]() |
|
|