javascript - I want a similar effect with the one from this website. Can it be done with jQuery? -



javascript - I want a similar effect with the one from this website. Can it be done with jQuery? -

i need jquery effect similar 1 website:

[site removed]

if go hover right menu (right of slider), top visit smwf see slider changing. want similar.

anyone knows jq plugin or @ to the lowest degree can share how it? can done in jquery?

thanks lot!

well, 'good start' hope.

demo fiddle

download jsbin

$('#nicemenu ul li>img').clone().appendto('#imgholder'); $('#nicemenu img').addclass('thumb'); $('#nicemenu li:eq(0)').addclass('hovered'); $('#nicemenu li').mouseenter(function(){ var imgsliderw = $('#imgslider').width(); $('#imgholder').width( imgsliderw * ($('#imgholder img').length) ); $(this).addclass('hovered').siblings().removeclass('hovered'); var liindex = $(this).index(); $('#imgholder').animate({left: '-'+ imgsliderw * liindex +'px'}, {queue:false, duration: 800}); });

this gallery made bit rude. start! it grabs images contained li elements , clone them slider area. when hover li element moves #imgholder by: #imgslider * li .index() --> left using simple cms can edit gallery can see simple html.

javascript jquery

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -