XS emailed me a solution. It worked!!!

How to stop screen from jumping up when tab is clicked:

Wrap the div that contains the tabs in a div with a fixed height.

See example here: http://5bosses.com/examples/tabs/sample_tabs.html


On Nov 1, 10:25 am, Ed <[EMAIL PROTECTED]> wrote:
> Klaus,
>
> Do you see any errors in my example? I added your code and double
> checked everything (w/ firebug).
>
> Clicking the tabs still causes the page to jump to top.
>
> Can you take a look?  What am I doing wrong?
>
> http://5bosses.com/examples/tabs/sample_tabs.html
>
> -Ed
>
> On Oct 31, 8:13 am, Klaus Hartl <[EMAIL PROTECTED]> wrote:
>
> > Well, you copied that stuff into the wrong place producing a syntax
> > error, thus the tabs don't work at all. Just append what I posted to
> > the end of the ui.tabs.js file or paste it into a separate file and
> > include it after the ui.tabs.js.
>
> > You should use Firebug - or at least the error console - to get
> > informed of such JavaScript errors.
>
> > --Klaus
>
> > On 31 Okt., 10:11, Nicky <[EMAIL PROTECTED]> wrote:
>
> > > Thanks Klaus!
>
> > > It didn't fix the problem for me, my example still jumps to the 
> > > top:http://www.sandstream.se/tabs_test3.html
>
> > > As you say one solution might be to make the tabs the same hight by
> > > putting content of the same size in them.
>
> > > If you find another solution please let me know.
>
> > > //Sandstream

Reply via email to