lib/generators/social_stream/templates/public/javascripts/menu.js in social_stream-0.4.2 vs lib/generators/social_stream/templates/public/javascripts/menu.js in social_stream-0.4.3
- old
+ new
@@ -1,9 +1,25 @@
function initMenu() {
-$('.menu ul').hide();
-$('.menu li a').click(
-function() {
-$(this).next().slideToggle('normal');
+ $('.menu ul').hide();
+ $('.menu li a').click( function() {
+ $(this).next().slideToggle('normal');
+ }
+ );
+ //Logo menu for current subject
+ //Full Caption Sliding (Hidden to Visible)
+ $('.logo_grid.logo_full').hover( function() {
+ $(".logo_menu", this).stop().animate({top:'101px'},{queue:false,duration:160});
+ }, function() {
+ $(".logo_menu", this).stop().animate({top:'1119px'},{queue:false,duration:160});
+ });
}
-);
+
+function expandSubMenu(id) {
+ $('#' + id + '_menu').next().show();
}
-$(document).ready(function() {initMenu();});
+
+$(document).ready(function() {
+ initMenu();
+});
+
+
+