Heh, you're including jQuery twice. Thus overriding the plugins.

As for $('div.name').localScroll(...);

Try:

$.localScroll();

Cheers

--
Ariel Flesler
http://flesler.blogspot.com

On Sep 29, 10:08 pm, nika <[EMAIL PROTECTED]> wrote:
> Hi
> I have been trying to use the scrollTo plug in.. but i just can't get
> it to work.. can someone please point out where the error is?
>
> This is exactly what I typed:
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/
> TR/html4/strict.dtd">
> <html>
> <head><title>scroll</title>
> <script src="jquery.js" type="text/javascript"></script>
> <script src="jquery.localScroll.js" type="text/javascript"></script>
> <script src="jquery.scrollTo.js" type="text/javascript"></script>
>
> <script src="jquery.js" type="text/javascript">
>  <script>
> $(document).ready(function(){
>   $('div.name').localScroll(...);
>
> });
>
>   </script>
>
> </script>
>
> </head>
>
> <body>
> <div>
> <a href="#H">When I click this it will scroll down to "H"</a>
> </div>
>
> <div style="position:absolute; top:1000;" id="name">
> <a name="H">blah blah</a>
> </div>
>
> </body>
> </html>
>
> Thanks,
> Anika

Reply via email to