I’m trying to link an item on the home page to a separate page that is utilizing “tabs”. The problem is I would like to link to the 3rd tab out of 4. When the user clicks the link it directs them to the 3rd tab instead of having them click the actual tab?
Sorry for any confusion. Just trying to see if this is possible?
It depends on the specific javascript toolkit used to make the tabs work. A couple of the ones I use allow you to do this either by adding an anchor with the ID of the tab you want to pop forward, or by adding it as a query after the URL.
It was a guess on my part. Two of the tab toolkits I use work that
way. I have no idea which toolkit you are using, whether it’s Action-
based or something you got from one of the many script sites out
there. Can you post a link to your page (and indicate which tab you
want to “light up”?
Walter
On May 29, 2009, at 9:45 PM, brm98 wrote:
are you referring to using this as an external hyperlink?
if so, I’ve tried both with no success. The link still opens the
first tab and the product I’m trying to link to is on the 3rd tab???
This looks like it uses Paul Dunning’s Tabs Action. I don’t see (in
the code) any way to trigger the function from the URL. You may also
want to download a newer version of the Action, because this one still
uses a function name that conflicts with Prototype.js, and thus will
clobber any Softpress FX Actions or anything based on my Protaculous
Action.
I use a completely different system for my tabs – you can see it in
action at http://goodserviceguide.com on the home page. Those tabs are
individually addressable:
I haven’t made this into an Action, but I might be able to at some
point. It’s built using the same sort of message-and-listener approach
as Carousel, so it’s a good fit for Freeway and for mixing up with
other Actions.