Revision f73915d9 ui/src/synnefo/templates/home.pt

b/ui/src/synnefo/templates/home.pt
5 5
	<title>$project</title>
6 6
	<!-- include the Tools -->
7 7
	<script src="static/jquery.tools.min.js"></script>
8
	<link rel="stylesheet" type="text/css" href="static/main.css"/>	
8
	<link rel="stylesheet" type="text/css" href="static/alt-main.css"/>	
9 9
</head>
10 10

  
11 11
<body>
......
34 34
    <!-- activate tabs with JavaScript -->
35 35
    <script>
36 36
		$(function() {
37
			$('ul.css-tabs li').hover(function(){
38
				$(this).find('a').animate({top:'-3px'},{queue:false,duration:150});
39
			}, function(){
40
				$(this).find('a').animate({top:'0px'},{queue:false,duration:150});
41
			});
37
            if ($("link").attr("href") == "static/alt-main.css") {
38
			    $('ul.css-tabs li').hover(function(){
39
				    $(this).find('a').animate({top:'-3px'},{queue:false,duration:150});
40
			    }, function(){
41
				    $(this).find('a').animate({top:'0px'},{queue:false,duration:150});
42
			    });
43
            }
42 44
		});
43 45
        $(function() {
44 46
	        $("ul.css-tabs").tabs("div.css-panes div.pane", {	

Also available in: Unified diff