Try this out for size. I've incorporated small images that trigger a scroll effect when you hover over them, directing you to different sections of text (although the text in each section is minimal at the moment).
$(document).ready(function() {
$(".scroll").hover(function(event) {
$('html,body').animate({
scrollTop: $(this.hash).offset().top
}, 500);
});
});
#btm {
background-color: #21b81e;
width: 50%;
height: 300px;
}
#mid {
background-color: #2d80e8;
width: 50%;
height: 300px;
}
#tp {
background-color: #c00;
width: 50%;
height: 300px;
}
img {
width: 25px;
height: 25px;
}
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<body>
<div>
<p><a id="top">Hover over an img:</a>
<a href="#middle" class="scroll"><img src="http://www.musicmatters.ie/images/4.jpg" alt="middle" title="middle"></a>
<a href="#bottom" class="scroll"><img src="http://www.musicmatters.ie/images/3.jpg" alt="bottom" title="bottom"></a>
</p>
<div id="tp">Top</div>
<p><a id="middle">Hover over an img:</a>
<a href="#top" class="scroll"><img src="http://www.musicmatters.ie/images/11.jpg" alt="top" title="top"></a>
<a href="#bottom" class="scroll"><img src="http://www.musicmatters.ie/images/3.jpg" alt="bottom" title="bottom"></a>
</p>
<div id="mid">Middle</div>
<p>
Greetings, I am Rachel. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam ultricies odio ac est gravida, nec hendrerit lectus bibendum. Quisque vehicula mauris eu mattis varius. Vivamus ut semper mi. Sed dapibus.
<br>
<strong>Please note that this paragraph does not have the scroll class, so it will not be scrolled to when hovering over the images. However, you can add a scroll class anywhere by using a hashtag.</strong>
</p>
<p><a id="bottom">Hover over an img:</a>
<a href="#top" class="scroll"><img src="http://www.musicmatters.ie/images/11.jpg" alt="top" title="top"></a>
<a href="#middle" class="scroll"><img src="http://www.musicmatters.ie/images/4.jpg" alt="middle" title="middle"></a>
<div id="btm">Bottom</div>
</div>
</body>
Check out the Fiddle here