Quote:
Originally Posted by ChrisTERiS
I need some more infor to understand what you're trying to do after getting user's screen resolution. Redirecting to another page, ...or displaying different code (eg {vb:raw short_screen} instead of {vb:raw wide_screen}) etc
|
Thanks for responding!
I have two 300x250 adblocks show up on my forum's main page right now to guests who visit.
If a user has a screen resolution of less than 800px, I would only like to show one adblock.
So something like:
Code:
first adblock code <if screen width 800px or more> second adblock code </if>