View Full Version : Highlighted browser tabs . . . how do they do it?

02-07-2012, 11:47 PM
I've changed this post as to not reference a post in another CodingForums board, lest I cross post.


If you click on the url, the browser tabs change color, each time it's a different color scheme: magenta, green, purple, yellow . . .

How do they do this? It's kind of cool. It provides a color reference path to how you arrived at that page. Is it css and html or javascript?



02-08-2012, 01:45 AM
You linked to CF’s home page. My browser tabs don’t change any color.

02-08-2012, 04:00 AM
Hi VIPStephan,

I can see why you are confused about what I posted. I did a terrible job at explaining myself, especially since I heavily edited my initial post. At first, I thought the colored tab issue happened only when leaving CodingForums, going to a different site. Then I realized that I shouldn't be posing a link on this board, which would take you to another CodingForums board, only to show a link to an outside site.

Then I realized that the browser tabs change colors when any page link in a message is clicked. That's why I posted a link to CodingForums' main page. The tabs change colors, with the current page having only a little color, and the page that was just left has the whole tab colored.

How is this colored tabs feature accomplished? I think it's pretty cool.




02-08-2012, 12:37 PM
Ha, that’s funny. I suppose you’re using Windows? Because this doesn’t happen for me in Mac OS (and I suppose even in Windows XP). I have no idea how that’s done but it’s definitely nothing one could do with HTML and CSS, and not even with JavaScript, I suppose.

It looks like this is a browser feature where multiple tabs with the same site or related pages open get the same color for easy identification. But that’s something only a person with Windows OS could tell you. You might wanna look into your browser settings.