looking to do a scrolling feature as the one on.....

Discussion in 'HTML & Website Design' started by MrMoolah.com, Aug 11, 2008.

  1. #1
    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!!!
     
    MrMoolah.com, Aug 11, 2008 IP
  2. rouseout

    rouseout Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    isn't that based on browser recognition??
     
    rouseout, Aug 11, 2008 IP
  3. Nxiel

    Nxiel Peon

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    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.
     
    Nxiel, Aug 11, 2008 IP