The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How to attain this kind of CODE
box)![]() coz in my forum my bbcode(CODE) expands so wide please help me guys...
|
|
#2
|
||||
|
||||
|
That is a setting in your style manager > style > edit stylevars > code block width
|
|
#3
|
|||
|
|||
|
I think you want the select all button also?
|
|
#4
|
||||
|
||||
|
Ah yes. That's probably just javascript. Look at the source code for that page to get it or do a search on google for it.
|
|
#5
|
|||
|
|||
|
^ i tried what you suggest ms.lynne,the thing the width doesnt change,here is my code for my bbcode_code templates:
PHP Code:
|
|
#6
|
||||
|
||||
|
Try this
HTML Code:
<div style="margin:20px; margin-top:5px"> <div class="smallfont" style="margin-bottom:2px">$vbphrase[code]:</div> <a href="#" onclick="selectCode(this); return false;"><input type="button" value="Select All" /></a> <pre class="alt2" dir="ltr" style=" margin: 0px; padding: $stylevar[cellpadding]px; border: 1px inset; width: 200px; height: {$blockheight}px; text-align: left; overflow: auto">$code</pre> </div> |
|
#7
|
|||
|
|||
|
^ it works..thanks a lot man
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|