Return to Snippet

Revision: 26038
at April 16, 2010 19:19 by peterbelsky


Initial Code
<script type="text/javascript" language="javascript">
<!--
if((navigator.userAgent.match(/iPhone/i)) ||
   (navigator.userAgent.match(/iPod/i)))
{
     document.getElementById("jj").innerHTML = "<a href=\"VIDEO_URL\"><img src=\"/images/jj.jpg\" /></a>";
}
-->
</script>

Initial URL
http://theflashblog.com/?p=1686

Initial Description

                                

Initial Title
iphone javascript detect

Initial Tags

                                

Initial Language
JavaScript