added tab navigation
[unfold.git] / portal / static / js / onelab_slice-resource-view.js
index 9ec5df1..c1722e7 100644 (file)
@@ -1,3 +1,8 @@
 $(document).ready(function() {
-
+       $('ul.nav-resources a').click(function() {
+        $('ul.nav-resources li').removeClass('active');
+        $(this).parent().addClass('active');
+        $('div.panel').hide();
+        $('div#'+$(this).data('panel')).show();
+    });
 });
\ No newline at end of file