The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
||||
|
||||
![]()
No. additional.css is just for css. Easiest way to add the script is in an ad module. Open site-builder, drag the ad module down on the page, paste the code above in the ad module editor enclosed in script tags. You can also add the code via template hook if you want it on every page.
Code:
<script>$(document).ready(function(){if (pageData['pagetemplateid']== '93'); $('body').css('background', 'red'); }); </script> And on your second question, you almost had it in example two. The braces go between the parenthesis. Code:
.css({ "background-color": "yellow", "font-weight": "bolder" }) |
Благодарность от: | ||
David Karol |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|