javascript - scroll left after onclick load() -


i have problem horizontal website. clicking switches div content. if scrolled far right new content out of sight left. i've done:

<a href="#" class="img" onclick="$('div.container').hide().load('test.html').fadein(1500);return false;.scrollleft()";><img src="images/1.jpg" / height="200px"></a> 

is there possibility in on click action? or in test.html load action?

.animate({'left':'+=50'}); 

worked far, no put scrolling 0. added left...

thanks in advance! cheers, nico


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -