JQuery effect of scroll ads

Asked

Viewed 536 times

-3

I need a jQuery library that does the effect that is presented on that website.

The effect I need is that of the 3 banners at the top of the page that stay with an effect of scroll to the left, someone has some idea?

2 answers

1


May suit your need http://logicbox.net/jquery/simplyscroll/

This library creates an effect that does not exactly the same thing as the question example, but is similar:

HTML:

<ul id="scroller">
    <li><img src="imagem1.jpg" width="290" height="200"></li>
    <li><img src="imagem2.jpg" width="290" height="200"></li>
    <li><img src="imagem3.jpg" width="290" height="200"></li>
    ...
</ul>

Javascript:

// Inclui as bibliotecas
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="jquery.simplyscroll.js"></script>
// O CSS que vem na SimplyScroll
<link rel="stylesheet" href="jquery.simplyscroll.css" media="all" type="text/css">

<script type="text/javascript">
(function($) {
    $(function() { //executa quando o DOM estiver pronto 
        $("#scroller").simplyScroll();
    });
})(jQuery);
</script>
  • Show, that’s exactly what I needed!

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.