Hi there,

I wanted tabs to work on mouse hover. Managed to find few patches but they all are for D6, nothing for D7 yet.

Can this option be included within the module for mouse hover and mouse click for D7 version?

Please help me.

Thanks & Regards,
Anand

CommentFileSizeAuthor
#8 quicktabs_patches.tar_.gz1.73 KBwalkero

Comments

CinemaSaville’s picture

I'd also like to use this for D7 so +1 for me.

jumoke’s picture

Does anyone have any ideas for making this work on hover?

neraprojects’s picture

Any new information about this subject would be welcomed . Please .

Anandyrh’s picture

The best thing I could do was creating 'Views Slideshow'.

yes, using 'Views Slideshow' I was able to write my own CSS styles and get the tabs structure and display as block and place it in to a region with all the wonderful sliding effects :D.

AnAnD | www.myclicksstory.com

Ndesign’s picture

this worked for me...
replace "'#quicktab_block_name"

<script>
jQuery(document).ready(function () {
  if (jQuery( '#quicktab_block_name').length > 0) {
    jQuery('#quicktab_block_name .quicktabs-tabs li').each(function() {
      jQuery('a', this).bind({
        mouseenter: function(){
          jQuery(this).click();
        }
      });
    });
  }
});
</script>
FrancoisL’s picture

Hello,

I tried this solution on my test site and it only works with Chrome and not in Firefox and IE.

I'm not sure but I implemented this in a OM MaxiMenu (Mega menu). Perhaps there could have some intereferences but I don't know. Is anyone have same problem or some ideas to solve it?

thanks

FrancoisL’s picture

Issue summary: View changes

within

basvredeling’s picture

Solution in #5 probably only works if set as a behaviour instead of document.ready.

walkero’s picture

Issue summary: View changes
StatusFileSize
new1.73 KB

The attached patches are the changes that I did on one of my projects to get this working on every browser without problems.

  1. Added a checkbox in the quicktab config screen, which is only available if the "quicktabs" renderer is selected.
  2. Added a new field in quicktabs table by an update procedure (7304). So it is mandatory to update your database before you use it.
  3. Added some javascript code in the behavior to check if the user wants the tabs to change on hover or on click. Created a new hoverHandler and copied the one from clickHandler, because it has to do exactly the same thing. I kept two different handlers in case someone wants to change more things on each one of these.

The changes are based on the latest 7.x-3.x-dev version of the module. Hope it works for you too

smustgrave’s picture

Status: Active » Closed (outdated)

With 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