![]() |
Using is_browser with version - in a plugin
Can anyone help me with the correct syntax for using is_browser and checking the version in a plug in?
Basically I need to have a different value for IE7 (or ideally IE7 and below!). I have tried this: Code:
if (is_browser('ie,7')) |
I was just trying to do the same in a template and found your post trying to figure it out. Just change the vb template if's to php if's
Came up with this. <vb:if condition="is_browser('ie')"> <vb:if condition="is_browser('ie',8)"> <vb:else /> IE7 and below </vb:if> </vb:if> |
All times are GMT. The time now is 02:44 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|