How to disable automatic back to top window when window's height changes dynamically ?

How to disable automatic back to top window when window's height changes dynamically ?

Hello,

I use the newsTicker plugin developped by Texotela (http://www.texotela.co.uk/code/jquery/newsticker/) on a SPIP website.

Into the <head> page we can find this code :
  1. <script type='text/javascript' src='/squelettes/jquery.js'></script>
  2. <script type='text/javascript' src='/squelettes/jquery.newsticker.js'></script>
  3. <script type="text/javascript">
        $(document).ready(function(){ $("#evenements").newsTicker(); })
    </script>


Into the <body> page we can find this code :
  1. <ul id="evenements">
  2. <BOUCLE_rubrique(RUBRIQUES){id_rubrique}>
  3. <BOUCLE_article(ARTICLES){id_article}>
  4. <li>#TEXTE</li>
  5. </BOUCLE_article>
  6. <BOUCLE_rubrique>
  7. </ul>
For those who don't know SPIP, I take articles of a section with :
  1. <BOUCLE_rubrique(RUBRIQUES){id_rubrique}>
  2. <BOUCLE_article(ARTICLES){id_article}>

 and then I put the text of each article in <li> element with :
  1. <li>#TEXTE</li>

Finally, I have something like that :
  1. <ul id="evenements">
  2. <li>My Text 1 ... </li>
  3. <li>My Text 2 ... </li>
  4. <li>My Text 3 ... </li>
  5. </ul>

The newsTicker plugin works correctly but my ul element has no fixed height (cause of different text size) and my problem is :

When the jquery plugin switch the <li>, the window size changes according to the content size of the <li> but there is automatically a back to top which is an inconvenient for the navigation.

How can I disable the automatic back to top when the window size changes ?