Streaming live at 10am (PST)

Accessing tabs from address bar


#1

Hello all,

I put together a fiddle that lets you access tabs from the address bar if anyone needs it.

http://jsfiddle.net/S78Bt/36/1


#2

Could you provide a clearer explanation of what it’s trying to do?


#3

It’s a show and tell. Some code that allows users to link directly to a tab from the address bar.

Here is the code without the -tab suffix:

http://jsfiddle.net/S78Bt/38/


#4

This is the same as “Linking to Specific Tab from another Link or Button” and “Linking to a specific tab from a button link” then?


#5

No. This code is an alternative. These posts are looking at tabbing in from button links. The code above lets you tab in from the address bar and lets you set the hash to a unique ID for each tab.

Just trying to help the community.


#6

No, the direct links to the specific posts in those threads refer to address bar/URL linking directly to a tab. (ignore the first post or thread tities - the thread went out of topic and discussed alternatives)

Oh I see, yours uses hashes,

http://fiddle.jshell.net/S78Bt/36/show/#download-tab

while danro’s solution uses query parameters:


#7

That’s a good thing. I’m just seeing if there is any way your post could be improved with instructions/tutorial on how it can be implemented in Webflow, instead of just an external link.