The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
frames around blocks
i'm starting with something simple just so i can get a feel for what i'm trying to do. i'm using vbadvanced and want to create frames around the blocks.
i have 9 images prepared: stats_top_left (corner piece) stats_top_mid stats_top_right (corner piece) stats_side_left stats_side_right stats_fill stats_bottom_left (corner piece) stats_bottom_mid stats_bottom_right (corner piece) I have associated classes for each image with class names being equal to the file name, like this: .stats_top_left { background-image: url(/images/styles/default/stats/stats_top_left.jpg); } and so on... this should be relatively simple to do since i am just going to be modifying the following code to have these frames around it... Code:
<!-- Stats Block --> <table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder"width="100%"> <tr> <td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <phrase 1="$vboptions[hometitle]">$vbphrase[x_statistics]</phrase> </strong></span></td> </tr> <tr> <td class="$getbgrow"><span class="smallfont"> $vbphrase[members]: $numbermembers<br /> $vbphrase[threads]: $totalthreads<br /> $vbphrase[posts]: $totalposts<br /> $vbphrase[top_poster]: <a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$topposter[userid]">$topposter[username]</a> ($topposter[posts])<br /> <br /> <phrase 1="$vboptions[bburl]/member.php?$session[sessionurl]u=$newuserid" 2="$newusername">$vbphrase[welcome_to_our_newest_member_x]</phrase> </span> </td> </tr> <if condition="$birthdays"> <tr> <td class="alt1"><span class="smallfont"> <b>$vbphrase[todays_birthdays]:</b><br /> $birthdays</span></td> </tr> </if> </table> <br /> <!-- End Stats Block --> I would really appreciate if anyone out there could lay this down for me, frames are something i've always seem to have had trouble with. eventually i'll do the whole board this way (maybe) and it would be good to get the concept down with something simple like this. as always- any help is appreciated. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|