Changeset 2002094
- Timestamp:
- 12/27/2018 06:35:50 AM (7 years ago)
- Location:
- mega-ad/trunk
- Files:
-
- 3 edited
-
assets/css/style.css (modified) (1 diff)
-
assets/js/mega-ad-cookie.js (modified) (4 diffs)
-
mega-ad-plugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
mega-ad/trunk/assets/css/style.css
r1317381 r2002094 34 34 width: 80px; 35 35 height: 80px; } 36 37 body.has-message, 38 html.has-message { 39 overflow-x: hidden!important; 40 } -
mega-ad/trunk/assets/js/mega-ad-cookie.js
r1101718 r2002094 10 10 /* Cookie Not Detected Show Mega Ad */ 11 11 jQuery( '#mega_ad_wrap' ).fadeIn(0); 12 jQuery( ' body' ).addClass( 'has-message' );12 jQuery( 'html, body' ).addClass( 'has-message' ); 13 13 14 14 /* Mega Ad CSS Scroll Fix */ 15 15 jQuery( 'html, body' ).css({ 16 16 'overflow': 'hidden', 17 'overflow-x': 'hidden', 17 18 'height': '100%' 18 19 }); … … 25 26 } 26 27 27 /* User Clicks Dismiss Mega Ad Drops Cookie */ 28 jQuery( "#dismiss").click(function() {28 /* User Clicks Dismiss Mega Ad Drops Cookie */ 29 jQuery( '#dismiss','#mega_ad_wrap', '#mega_ad' ).click(function() { 29 30 30 31 jQuery.cookie( "mega-ad", 1, { path: '/', expires : 1 }); … … 32 33 33 34 /* Mega Ad CSS Scroll Reset */ 34 jQuery( ' body' ).css({35 jQuery( 'html, body' ).css({ 35 36 'overflow': 'scroll', 37 'overflow-x': 'scroll', 36 38 'height': '100%' 37 }); 39 }); 38 40 39 41 }); … … 45 47 jQuery( '#mega_ad_wrap' ).hide(); 46 48 49 /* Mega Ad CSS Scroll Reset */ 50 jQuery( 'html, body' ).css({ 51 'overflow': 'scroll', 52 'overflow-x': 'scroll', 53 'height': '100%' 54 }); 55 47 56 }); 48 57 -
mega-ad/trunk/mega-ad-plugin.php
r2002033 r2002094 6 6 * Author: Simon Web Design, LLC 7 7 * Author URI: http://simonwebdesign.com 8 * Version: 1.1. 08 * Version: 1.1.2 9 9 * License: GPLv2 10 10 */
Note: See TracChangeset
for help on using the changeset viewer.