The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
||||
|
||||
![]()
It would be easier for the script to simply add a css class in the body tag based on the template id. Then use that class to style in css whatever elements on the page you want to style.
Code:
<script>$(document).ready(function(){ $('body').addClass('pagetemplate-', pageData['pagetemplateid']); }); </script> Code:
.pagetemplateid-93 #outer-wrapper { background-color: red; } |
2 благодарности(ей) от: | ||
David Karol, Replicant |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|