This script detects for the presence of FireFox and displays an image accordingly - either Get Firefox or Spread Firefox, for non-detection and detection.
edit: Forgot my script tag format, cheers Mike.
Code:
<script type="text/javascript">
if (navigator.userAgent.indexOf("Firefox")!=-1)
document.write("<img src='http://img46.exs.cx/img46/3493/spreadfirefox180600mv.gif'>")
if (navigator.userAgent.indexOf("MSIE")!=-1)
document.write("<img src='http://img33.exs.cx/img33/3916/getfirefox180604pu.gif'>")
</script>
See it in action at www.afpsupport.r8.org (the top right image)
cr3ative
Bookmarks