what is the error?
On Mon, Oct 27, 2008 at 12:47 PM, jason maina <[EMAIL PROTECTED]> wrote: > That one is not working also producing error... > > > On Mon, Oct 27, 2008 at 7:42 PM, Brian Williams <[EMAIL PROTECTED]>wrote: > >> try javascript:void(); in place of javascript:return false; >> >> >> >> >> On Mon, Oct 27, 2008 at 12: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 http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---