Tag Archives: iframe

Scrolling content in fixed-height container for iPad

A real elegant solution from iScroll, after viewing several unworkable or out-dated solutions in stackoverflow. 1. Load iScroll script if iPad device detected, or you can check in more general. <script type=”text/javascript”> var isiPad = navigator.userAgent.match(/iPad/i) != null; if (isiPad) … Continue reading

Posted in Web Related | Tagged , , , , , | Comments Off

Embedding Youtube and HTML5 Video Option

A couple of things I changed to make use of the new iframe code for embedding Youtube videos on the website. The new code supports both Flash and HTML5 video. Only users of supported browsers who opt into the Youtube … Continue reading

Posted in Web Related | Tagged , , , | Leave a comment