Closed (fixed)
Project:
References Tabs
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
27 Aug 2012 at 09:54 UTC
Updated:
14 Sep 2012 at 17:51 UTC
Hi,
Thanks for your module.
Is it possible to define a link which is sibling a particular tab, as an anchor ?
Best
Comments
Comment #1
bforchhammer commentedI don't think that's possible at the moment, but definitely sounds useful...
I think the javascript library does support anchor tags (at least core vertical tabs), but the module will probably need to generate and add an #id attribute for tabs... I'm a bit short on time at the moment, but the first thing I would try is to change l. 171 (.module file) to the following:
Comment #2
brulain commentedThanks a lot bforchhammer,
This hack works fine in my case.
Best
Comment #3
bforchhammer commentedWell, if that's all it needs I'd be happy to just commit the change above...
Do you know if this works with both horizontal and vertical tabs?
Is the naming of id values acceptable?
Comment #4
brulain commentedHi,
I never use vertical tabs.
Maybe the naming of id values is a bit long, but it is not a problem for me.
Best
Comment #5
bforchhammer commentedCommitted and pushed. Note that I slightly adjusted the id value.