Closed (outdated)
Project:
Quick Tabs
Version:
7.x-3.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2011 at 02:16 UTC
Updated:
11 Dec 2024 at 21:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
pacmanfan commentedI would like to know how to do this, as well as disable it entirely!
Comment #2
trigdog commentedsubscribe
Comment #3
darrylmabini commentedI'm altering the
Drupal.ajax.prototype.beforeSendto do that thing.Comment #4
aasarava commentedThis used to work well in the D6 version of quicktabs. The throbber was an actual progress bar inside the tabpage, instead of the blue circle in the tab itself.
You can hide the blue circle with CSS:
But then the user has no indication of why there's a delay when loading some tabs.
It seems that with the simplification of the javascript code in the D7 version, there's no longer a start() and stop() callback for the tabpage itself, so we can't stick a progress bar in the tab container while the content is loading.
Is there any way to add those back in D7? Darrylmabini, can you share what you did?
Comment #5
darrylmabini commentedSure Sir aasarava,
Note: This solution maybe not a very good solution - I just did this for my clients needs. And If someone can improve it or give suggestions or opinions, it will be good for us.
Here's how:
In my theme I created "mythemeAjax.js" file - please see code below. What I did there was to get the last first child element of quicktab container. And make a condition if undefined meaning it's not a quicktab the default will be use. So far I don't experience bad on this method. I already ask here: http://drupal.org/node/1518378 to ask for any suggestions or opinions regarding this ajax alter, but no one answering.
This can also be done in module. Maybe if the quicktab developer can fix this they can have an option what progress to use (throbber, or bar), because right now it is hardcoded and defaulted to throbber. and meassage is "" (empty text);
I attached sample image.
Thanks,
Darryl
Sorry bad english, but I practiceComment #6
xandeadx commentedEasy solution:
1. add in theme js file:
2. add in theme css file:
Comment #7
smustgrave commentedWith D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue. This doesn't appear to have any code so believe this may not make it, sorry! Thanks though!
If still an issue or needed for 4.0.x (latest branch) feel free to reopen