Hi Jason,

Try adding evt.stop() to your anFunction handler.  Details:

T.J. Crowder
tj / crowder software / com

On Oct 27, 4:22 pm, "jason maina" <[EMAIL PROTECTED]> wrote:
> Hi all,
> Im having this page with tabs in another page but added through php.
> Thing is when I click on a tab and the page was like halfway it scrolls to
> the top I know it is connected to the hashes in the href bit but dont know
> how to tweak it to stop from this behaviour. Tried remedying with replacing
> it(#) with "javascript:return false;" but it generates an error though it
> doesnt scroll.
> Here is my code:
> http://pastie.org/301494
> on the page the code is like :
> <ul id="tablist">
>   <li><a href="#" id="tb1" class="">Race 1</a></li>
>   <li><a href="#" id="tb2" class="">Race 2</a></li>
>   <li><a href="#" id="tb3" class="">Race 3</a></li>
> </ul>
> Kind regards
> Jason
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 

Reply via email to