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

Hi,
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 :)
Grafikart
 
Posts: 6
Joined: Sat Sep 03, 2011 11:59 am

Return to Plugin Development

Who is online

Users browsing this forum: BugFix, buzzsawddog, estmatic, pete340, Yahoo [Bot] and 4 guests