Home Download Buy Blog Forum Support

Colored Tabs depending of filename

Colored Tabs depending of filename

Postby Grafikart on Mon Jun 11, 2012 10:46 am

I would like to create a theme where every tab is colored depending of the file opened (blue for PHP, green for CSS...) but I can't find how to get this result
For instance
// - Hover tab state
"class": "tab_control",
"attributes": ["hover"],
"layer2.opacity": 1.0

Is there a way to use a condition (like attributes) but for file name ? For instance "label" : ".php$"

A workaround would be to add "attributes" using a plugin but i'm not even sure it would work :(

If someone has a solution :)
Posts: 6
Joined: Sat Sep 03, 2011 11:59 am

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 2 guests