MediaWiki:Wikia.js

/*** Checking my JS from that forum: http://community.wikia.com/wiki/Forum:MediaWiki:Sitenotice_isn%27t_working ***/ $('.WikiaActivityModule').before(' '); $('#AirhogsModule').append('Notifications ');

$('#AirhogsModule').prepend(' '); $('#AirhogsModule .tally').append(' '); if($('#bubbles_count').html == '') { $('#AirhogsCount').html('0'); } else if(document.getElementById('bubbles_count').innerHTML.length < 3) { $('#AirhogsCount').html($('#bubbles_count').html); } else { $('#AirhogsCount').html('99+'); } $('#AirhogsModule .tally em').after(' unread messages ');

$('#AirhogsModule').append(' ')

$('#AirhogsModule').append('&#9662;  ');

var AirhogsNavigationShow = false; function airhogsNavigationShowHideFunction { if (AirhogsNavigationShow == false) { AirhogsNavigationShow = true; $('#AirhogsNotificationsShowHideSpan').css('transform','rotate(180deg)').css('-ms-transform','rotate(180deg)').css('-moz-transform','rotate(180deg)').css('-webkit-transform','rotate(180deg)').css('-o-transform','rotate(180deg)'); $('#AirhogsNotificationsList').css('min-height', '100px').css('max-height', '100px').css('opacity', '255'); $('#AirhogsNotificationsHR').css('opacity','0'); } else { AirhogsNavigationShow = false; $('#AirhogsNotificationsShowHideSpan').css('transform','rotate(0deg)').css('-ms-transform','rotate(0deg)').css('-moz-transform','rotate(0deg)').css('-webkit-transform','rotate(0deg)').css('-o-transform','rotate(0deg)'); $('#AirhogsNotificationsList').css('min-height', '1px').css('max-height', '1px').css('opacity', '0'); $('#AirhogsNotificationsHR').css('opacity','255'); } }

$('#AirhogsNotifictionsHeader').css('margin-bottom','0px');

function AirhogsNotificationsFillContent { $('#AirhogsNotificationsList').html(document.getElementsByClassName("notifications-for-wiki-list")[0].innerHTML); } setTimeout(AirhogsNotificationsFillContent, 600);