Looking to do a scrolling manufacture list as shown on Crucial.com the code is <script type="text/javascript"> var fo = new FlashObject("/images/mflash/system-manufacturers.swf", "animationName", "953", "106", "9", "#FFFFFF"); fo.addParam("allowScriptAccess", "sameDomain"); fo.addParam("quality", "high"); fo.addParam("scale", "noscale"); fo.addParam("wmode", "transparent"); fo.addParam("FlashVars", "baseURL=http://www.crucial.com"); fo.write("rotateMFR"); </script> Code (markup): What i like is that it scrolls when on a computer, but when on a iphone it puts the icons in 2 rows, and the flash is disabled. Can anyone tell me how this is done??? Also is it possible to do just in javascript? Thanks!!!
There are alot of ways but bascially as rouseout mentioned, it is browser recognisition. A simple way to do this is by using .CSS In one browser you can set an elements inside a div to display:none; while in a different browser you can block this container while displaying another.