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

jsm4182

macrumors 6502
Apr 3, 2006
346
12
Beacon, NY
That could easily be done with javascript. It would be pretty similar to the slider used in several places on apple.com except the slide would be on hover instead of on click.
 

Joshua M

macrumors newbie
Original poster
Mar 15, 2010
17
0
Yes! That would work. I do not know js very well. Know of any tutorials or free GNU licensed scripts to get started?
 

brisbaneguy29

macrumors 6502
Nov 27, 2007
370
1
Brisbane
The best thing to use is jquery and some javascript. Just google jquery image scroller. You will find a heap of them, and most are very easy to install and get going.

The jquery library is excellent, and you can do a lot of things that previously required flash.
 

7on

macrumors 601
Nov 9, 2003
4,939
0
Dress Rosa
I built one of these recently for a guy wanting to do this in Wordpress.

HTML:
$(function(){
	$('#content').wrapInner('<table cellspacing="0" cellpadding="0" border="0"><tr>');
	$('#content img').wrap('<td>');
});

Then all the images rest in a #content div and you're done.

HTML:
.home #content img{float:left;height:400px;margin:0 5px}
#content{width:100%;margin-top:290px;display:inline-block}

Didn't write anything for jumping around, but that should be simple enough.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.