Browse files

Tabs change color hover

  • Loading branch information...
1 parent f2d3615 commit 0eaef469f97b83d6494fd3296847a2d1c8b314f1 @mattpass committed Dec 17, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.php
View
2 index.php
@@ -124,7 +124,7 @@
<div id="tabsBar" class="tabsBar" onContextMenu="return false">
<?php
for ($i=1;$i<=100;$i++) {
- echo '<div id="tab'.$i.'" class="tab" draggable="true" onClick="ICEcoder.canSwitchTabs ? ICEcoder.switchTab('.$i.') : ICEcoder.canSwitchTabs=true"></div>';
+ echo '<div id="tab'.$i.'" class="tab" draggable="true" onClick="ICEcoder.canSwitchTabs ? ICEcoder.switchTab('.$i.') : ICEcoder.canSwitchTabs=true; thisColor=\'#000\'" onMouseOver="thisColor=this.style.color;this.style.color=\'#000\'" onMouseOut="this.style.color=thisColor"></div>';
}
?><div class="newTab" onClick="ICEcoder.newTab()"><img src="images/nav-new.png"></div>
</div>

0 comments on commit 0eaef46

Please sign in to comment.