Closed (fixed)
Project:
Quick Tabs
Version:
6.x-2.0-rc3
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2009 at 20:19 UTC
Updated:
15 Dec 2014 at 20:16 UTC
Jump to comment: Most recent
Comments
Comment #1
chrismiller627 commentedAfter I click on a tab the 2nd time, it no longer jumps. Only the first time a tab is clicked does the screen jump.
Comment #2
pasqualleyou have a full page reload at tab click, that must be a javascript problem.
could be the missing $scripts variable..
#548714: Need for keeping page position when transitioning between tabs
#432094: Quick Tabs jumps to menu when clicked
Comment #3
chrismiller627 commentedPasqualle - Thanks for the prompt reply. Quick Tabs is pretty awesome!
I'm using Garland, and I verified that the scripts variable is in fact in page.tpl.php ...
I also verified that Safari has JS enabled, which it does. Tried it on a separate system too. The fact that it is happening in both Safari/Chrome makes me think it's a JS problem as well. Something isn't playing nice, but I don't have much clue as to where I can solve it... any input would be appreciated.
Comment #4
chrismiller627 commentedAlso, I don't think it's actually a full page reload, because I can't hit the back button following tab click, nor does the URL change from foo to foo?quicktabs_1=1#quicktabs-1 ... HTH
Comment #5
pasqualledoes the mouse cursor change when you click on the tab?
Comment #6
pasquallecan you provide a link where this quicktab could be tested?
Comment #7
chrismiller627 commentedThe cursor changes to the hand when I mouseover tab, but nothing specifically changes when I click the tab, and it returns to the normal pointer when I mouseout.
Comment #8
chrismiller627 commentedI setup an environment for it at: http://disato.com
The quicktab is on the front page. Scroll down so that the tabs are centered and the scrollbar is not at the top or the bottom (but can still be scrolled, I had to make my window smaller) and click on the 2nd or 3rd tab in Safari/Chrome, it will jump upwards after the first tab click, and then work fine afterwards.
Comment #9
pasquallethis is strange. It a simple non-ajax quicktab, and there is no page reload. I can reproduce the problem in Safari and Opera, and it works for me in IE7 and Firefox..
can you try out the -dev release? The tab show/hide functionality was changed a little bit.
Comment #10
chrismiller627 commentedlooks like you hit it. wow, thanks! take a look at that link again and you'll see it no longer jumps in Safari/Chrome. Looks like it works in Opera10 too.
Comment #11
roneill commentedI have installed the latest dev version and I still get the jumping behaviour in IE7, IE8 and FF 3.5
It seems as though the jQuery event is not returning false and is following the default behaviour of the anchor '#'. The jumping behaviour happens when you first click on a tab that is loading its content through ajax. Once the content for that tab is loaded then the jumping behaviour goes away. It happens consistently across multiple themes and tab css styles. It also happens when 'No Style' is selected.
All 'return false' statements inthe js seem to be as they should be?
A real pain on an otherwise fantastic module that does everything I want it to do :-(
Comment #12
pasqualleComment #13
netw3rker commented