Hello,

I'd like to know if there is a way to implement a new feature (or perhaps its already exist...) on the title.

I'm using Quicktabs for a mega menu (integrating it with OM Maxi menu.
The way I use it is simple. My Quicktabs has 3 entries all linked to different menus. I applied a script for a rollover so when you pass hover the first menu level, it display the tab content.

What I need to have also is a link on the first level so that when you click on the title you go to a different page.

At the end my quicktab should have two states:
- on hover, it display the tab content
- on click its goes to another page

Is it something possible?

Thanks in advance

Comments

demonrage’s picture

i also need that feature. can anybody help please

awdesign’s picture

Was this figured out? It seems simple enough with just jquery.
Example JSFiddle

HTML might look like:

<div id="tabs">
    <ul>
        <li><a href="#tab-1">Regular Tab 1</a>
        </li>
        <li><a href="#tab-2" title="page1.php" class="openpage">Preview Tab 1</a>
        </li>
        <li><a href="#tab-3" title="page2.php" class="openpage">Preview Tab 2</a>
        </li>
    </ul>
    <div id=tab-1>This is tab 1 content</div>
    <div id=tab-2>This is tab 2 preview</div>
    <div id=tab-3>This is tab 3 preview</div>
</div>

The javascript:

$("#tabs").tabs({
    event: 'mouseover'
});
$('.openpage').click(function () {
    window.location = $(this).attr('title');
});
smustgrave’s picture

Issue summary: View changes
Status: Active » Closed (outdated)

With D7 EOL approaching in a month I'm starting to triage the D7 side of quicktabs queue.

If still an issue or needed for 4.0.x (latest branch) feel free to reopen