Apple Store Online Gallery

Discussion in 'HTML & Website Design' started by 6jin-Jing, May 3, 2008.

  1. #1
    When you go to a product and click on gallery

    How does the smooth left/right image scrolling work? Doesn't appear to be flash
     
    6jin-Jing, May 3, 2008 IP
  2. itcn

    itcn Well-Known Member

    Messages:
    795
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #2
    You can use mootools for that, and much better effects.
     
    itcn, May 3, 2008 IP
  3. itcn

    itcn Well-Known Member

    Messages:
    795
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #3
    And it's free - mootools.net
     
    itcn, May 3, 2008 IP
  4. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #4
    because throwing several hundred K of javascript at a problem is ALWAYS a good idea. Mootools, yet another fat bloated steaming pile of crap.
     
    deathshadow, May 3, 2008 IP
  5. Stomme poes

    Stomme poes Peon

    Messages:
    3,195
    Likes Received:
    136
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's a huge pile of JS, but turn JS off on your computer-- it's still a nice sliding (with scrollbar) gallery without. Of course Apple uses a huge amount of code to get that effect, but you start with something simple http://stommepoes.nl/Tests/slideshow.html and then if you want, you can use JS to both hide the scrollbar and make everything slide. You only really need two containers to get a slideshow but for some reason every Javascript version has one or two or more extra containers... not sure if that's really needed.
     
    Stomme poes, May 4, 2008 IP
  6. itcn

    itcn Well-Known Member

    Messages:
    795
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    118
    #6
    LOL - true, noone likes fat bloated scripts, but mootools is different because you don't have to use the whole steaming pile of crap, you can only reference the modules you want.

    Besides, if this is a new programmer a few extra K load time is better than the 3 years learning curve it would take them to learn how to replicate mootool's functions.
     
    itcn, May 4, 2008 IP
  7. veckd

    veckd Peon

    Messages:
    1,065
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    0
    #7
    agreed, there is no need for that effect or others like it.
     
    veckd, May 4, 2008 IP