The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help with signature code...
I added this to the Aditional CSS Definitions
Code:
.signature { height: expression(Math.min(this.clientHeight, 150) + "px"); max-height: 150px; width: 450px; overflow: hidden; } Then I edited the postbit_legacy template and change from Code:
<if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> $post[signature] </div> <!-- / sig --> </if> Code:
<if condition="$post['signature']"> <!-- sig --> <div class="signature"> __________________<br /> $post[signature] </div> <!-- / sig --> </if> But I have a problem, in IE is NOT working -.-, in FF it works, in Opera I don't know =P Is there any way to solve this problem? I tryed this code too, it works in IE and in FF, but the width is not working... Code:
<if condition="$post['signature']"> <!-- sig --> <div> __________________<br /> <div style="width:450; height:150px; overflow:hidden">$post[signature]</div> </div> <!-- / sig --> </if> Thank you |
#2
|
||||
|
||||
Try to add "px" here: <div style="width:450".
|
#3
|
|||
|
|||
Is working now, thank you
|
#4
|
||||
|
||||
No problem.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|