This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
jQuery(document).ready(function($){ | |
var delayInSeconds = 10;//Update to change the modal open delay (in seconds) | |
var modalUID = 'wpsabc';//Update to force modal to show again for anyone that closed it | |
var $modal = $('.wps-modal_wrapper'); | |
var $form = $modal.find('form'); | |
var modalRef = $form.attr('id') + '_modal_' + modalUID; | |
var hasClosed = localStorage.getItem(modalRef); | |
$modal.prepend('<button type="button" id="wps-button-close" title="Close"><span>Close</span></button>'); | |
if ( hasClosed === null ) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Base Form Styles */ | |
.wps-modal_wrapper, | |
.gform_confirmation_wrapper.wps-modal { | |
font-family: -apple-system, BlinkMacSystemFont, Hevetica Neue, Helvetica, Arial, sans-serif !important; | |
padding: 50px; | |
box-shadow: 30px 30px 80px 0 rgba(0, 0, 0, 0.05); | |
border-radius: 4px; | |
width: 100%; | |
position: fixed; | |
z-index: 999999; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(document).ready(function(){ | |
var $window = jQuery(window), | |
$mainMenuBar = jQuery('#nav-module'), | |
$mainMenuAnchor = jQuery('#anchor-stick'); | |
$window.scroll(function(){ | |
var window_top = $window.scrollTop(); | |
var div_top = $mainMenuAnchor.offset().top; | |
if (window_top > div_top){ | |
$mainMenuBar.addClass('sticky'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//First step | |
sudo gedit /etc/hostname | |
//Second step | |
sudo gedit /etc/hosts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!--[if lt IE 7]><div class="alert">Your browser is <em>SO OLD</em> that George Bush was still president when this was being used! <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</div><![endif]--> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: #f06; | |
background: linear-gradient(45deg, #f06, yellow); | |
min-height: 100%; | |
} | |
p { | |
text-align:center; |