click anywhere to close notifications -> zeros and bubbles
This commit is contained in:
		
					parent
					
						
							
								e12706e825
							
						
					
				
			
			
				commit
				
					
						bf7425c591
					
				
			
		
					 8 changed files with 39 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,22 @@
 | 
			
		|||
<?php
 | 
			
		||||
 | 
			
		||||
/*
 | 
			
		||||
 * Name: Dark Bubble
 | 
			
		||||
 * Version: 1.0
 | 
			
		||||
 * Maintainer: Mike Macgirvin <mike@macgirvin.com>
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
$a->theme_info = array(
 | 
			
		||||
  'extends' => 'testbubble',
 | 
			
		||||
);
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
$a->page['htmlhead'] .= <<< EOT
 | 
			
		||||
<script>
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
 | 
			
		||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 | 
			
		||||
});
 | 
			
		||||
</script>
 | 
			
		||||
EOT;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -15,6 +15,8 @@ $a->page['htmlhead'] .= <<< EOT
 | 
			
		|||
<script>
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
 | 
			
		||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 | 
			
		||||
 | 
			
		||||
$('.group-edit-icon').hover(
 | 
			
		||||
	function() {
 | 
			
		||||
		$(this).addClass('icon'); $(this).removeClass('iconspacer');},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,6 +16,8 @@ $a->page['htmlhead'] .= <<< EOT
 | 
			
		|||
<script>
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
 | 
			
		||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 | 
			
		||||
 | 
			
		||||
$('.group-edit-icon').hover(
 | 
			
		||||
	function() {
 | 
			
		||||
		$(this).addClass('icon'); $(this).removeClass('iconspacer');},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,6 +5,8 @@ $a->page['htmlhead'] .= <<< EOT
 | 
			
		|||
<script>
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
 | 
			
		||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 | 
			
		||||
 | 
			
		||||
$('.group-edit-icon').hover(
 | 
			
		||||
	function() {
 | 
			
		||||
		$(this).addClass('icon'); $(this).removeClass('iconspacer');},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,6 +7,8 @@ $a->page['htmlhead'] .= <<< EOT
 | 
			
		|||
<script>
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
 | 
			
		||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 | 
			
		||||
 | 
			
		||||
$('.group-edit-icon').hover(
 | 
			
		||||
	function() {
 | 
			
		||||
		$(this).addClass('icon'); $(this).removeClass('iconspacer');},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,6 +7,8 @@ $a->page['htmlhead'] .= <<< EOT
 | 
			
		|||
<script>
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
 | 
			
		||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 | 
			
		||||
 | 
			
		||||
$('.group-edit-icon').hover(
 | 
			
		||||
	function() {
 | 
			
		||||
		$(this).addClass('icon'); $(this).removeClass('iconspacer');},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,6 +7,8 @@ $a->page['htmlhead'] .= <<< EOT
 | 
			
		|||
<script>
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
 | 
			
		||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 | 
			
		||||
 | 
			
		||||
$('.group-edit-icon').hover(
 | 
			
		||||
	function() {
 | 
			
		||||
		$(this).addClass('icon'); $(this).removeClass('iconspacer');},
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -7,3 +7,12 @@
 | 
			
		|||
 * Author: Devlon Duthied
 | 
			
		||||
 * Maintainer: Mike Macgirvin <mike@macgirvin.com>
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
$a->page['htmlhead'] .= <<< EOT
 | 
			
		||||
<script>
 | 
			
		||||
$(document).ready(function() {
 | 
			
		||||
 | 
			
		||||
$('html').click(function() { $("#nav-notifications-menu" ).hide(); });
 | 
			
		||||
});
 | 
			
		||||
</script>
 | 
			
		||||
EOT;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue