Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Terrex

macrumors newbie
Original poster
Jun 16, 2013
1
0
How do you make the same sliding gallery that has text and images like on Apple.com. I only see how to make one with images.
 

SrWebDeveloper

macrumors 68000
Dec 7, 2007
1,871
3
Alexandria, VA, USA
How do you make the same sliding gallery that has text and images like on Apple.com. I only see how to make one with images.

There are many moving regions on the site, but what is common to all of them when you break it down is a div has some HTML in it (text + graphics, i.e. content) and an ID attribute for each. The Javascript they use references individual div's by ID and applies motion triggered by either timing or clicks to thumbs to affect (move) entire divs, some up/down, others left/right as a carousel. All this can be done by you with jQuery plugins and some excellent graphics design and careful planning.
 

definitive

macrumors 68020
Aug 4, 2008
2,050
893
You can use a slider such as Nivo Slider or any other JQuery slider to achieve the same effect (as long as you know how to edit the code).
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.