PDA

View Full Version : Hide a div unless viewing with Firefox


Pt1994
07-28-2009, 10:13 PM
Ok i want to hide a <div> unless the user is viewing my site with firefox how exactly can i go about doing this?

Any help is appreciated thanks!:up:

Deceptor
07-29-2009, 01:03 AM
In a template:
<if condition="is_browser('firefox')">
<div>You're seeing this because you're using Firefox, cool eh?</div>
</if>

Pt1994
07-29-2009, 01:46 AM
if this works you sir are a genius

EDIT:- It worked thanks so much :D no rep sytem here so i cant really reward you but thanks all the same!