Pin Tabs

Pin Tabs

Postby srazzano » Thu Nov 24, 2016 7:25 am

Image Pin Tabs
Updated Nov. 26, 2016

Image
Last edited by srazzano on Wed Nov 30, 2016 12:47 am, edited 38 times in total.
srazzano
 
Posts: 1508
Joined: Sat Mar 31, 2012 6:42 pm
Location: Las Vegas, Nevada

Re: Pin Tabs

Postby makondo » Thu Nov 24, 2016 4:40 pm

Great stuff, srazzano, thanks!
Now, i still would like the right tabs (just have to remember that they will un-pin there as well and not in their previous 'pre-pinned' position, it's all right).
Also wonder if you could make it change icon depending on active tab state. There's a button by Odyseus that does something like that.
makondo
 
Posts: 1636
Joined: Sun Dec 25, 2011 7:17 pm

Re: Pin Tabs

Postby srazzano » Thu Nov 24, 2016 8:53 pm

Updated button in first thread.
srazzano
 
Posts: 1508
Joined: Sat Mar 31, 2012 6:42 pm
Location: Las Vegas, Nevada

Re: Pin Tabs

Postby makondo » Thu Nov 24, 2016 10:27 pm

Great! What the yellow pin means?
makondo
 
Posts: 1636
Joined: Sun Dec 25, 2011 7:17 pm

Re: Pin Tabs

Postby srazzano » Thu Nov 24, 2016 10:34 pm

"Also wonder if you could make it change icon depending on active tab state."
The yellow pin displays when any tab is in a pinned state. Yes, No? Or do you want the yellow pin displaying when a pinned tab is selected? If so, easily done.
srazzano
 
Posts: 1508
Joined: Sat Mar 31, 2012 6:42 pm
Location: Las Vegas, Nevada

Re: Pin Tabs

Postby makondo » Fri Nov 25, 2016 12:26 am

Yeap, change the icon depending on the state of the active (selected) tab. Just adds a bit of a 'play' to the button Image
That is, of course, if it doesn't add unjustifiable amount of code.
Last edited by makondo on Fri Nov 25, 2016 2:23 am, edited 1 time in total.
makondo
 
Posts: 1636
Joined: Sun Dec 25, 2011 7:17 pm

Re: Pin Tabs

Postby srazzano » Fri Nov 25, 2016 1:30 am

Button updated in first thread for your icon request.
srazzano
 
Posts: 1508
Joined: Sat Mar 31, 2012 6:42 pm
Location: Las Vegas, Nevada

Re: Pin Tabs

Postby makondo » Fri Nov 25, 2016 2:28 am

There's a problem: i select tabs on hover (TMP option) not on click. The button seems to recognize clicks only. So, when i switch tabs by hover, it doesn't change. I think it needs some other method to recognize a tab in focus w/out any clicks.
makondo
 
Posts: 1636
Joined: Sun Dec 25, 2011 7:17 pm

Re: Pin Tabs

Postby srazzano » Fri Nov 25, 2016 4:41 am

Done. Updated button link in first post.
srazzano
 
Posts: 1508
Joined: Sat Mar 31, 2012 6:42 pm
Location: Las Vegas, Nevada

Re: Pin Tabs

Postby makondo » Fri Nov 25, 2016 5:40 am

Awesome! Thanks a lot!
Image
makondo
 
Posts: 1636
Joined: Sun Dec 25, 2011 7:17 pm


Return to Buttons made by forum users