The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Forum Only conditional
I currently have banners running above subfurms. I am scaling images by using auto height and width="80%". The problem is that they stretch to wide on larger screens and look bad.
I would like to have the subforum ads display as width="80%" on forum home above the subforum but everywhere else display as width="728px". I figured I could accomplish this with conditionals but I am not sure. So I need a conditional with an else statement that will display the % image on forum home and the "px" image everywhere else. Is this possible? BTW - I know I can do this with max-width but I think 2 images would be better. Thoughts? --------------- Added [DATE]1574443249[/DATE] at [TIME]1574443249[/TIME] --------------- #I figured out an easy way. I was way overthinking this. width="100%" style="max-width:728px; height:auto; max-height:90px; |
Благодарность от: | ||
scottkoz20 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|