Hi there,
I am new to drupal with limited php skill, appreciate for your kindly help.
I have created a 3 tabs page with Quicktabs, the first two are used to display formatted content, but the third one need to link to external website.
After doing some homework, I have some idea and write the following jQuery to do it.
if ($quicktabs->machine_name == 'tabzone') {
drupal_add_js('jQuery(document).ready(function($) {
$("a#quicktabs-tab-tabzone-2").attr("href", "http://www.google.com");
});', 'inline');
}
However, it only replace the url displayed in browser's status bar not the html code.
It means, while moving the cursor to the third tab, the status bar shows "www.google.com", but still goto the original block after click.
Therefore, considering for my poor php skill, I am here to ask for some help.
If you find out the root cause, please give me some advice, really appreciate....
Issue fork quicktabs-1953972
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #0.0
mrsekan commentedAdd
...tagsComment #0.1
mrsekan commentedtagsComment #2
smustgrave commentedWith 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