JSFiddle

  • Exit intent Modal #7 is the latest revision

    Exit intent modal fiddle special thanks and credit - https://webdesignerhut.com/create-an-exit-intent-popup-window/

     // Exit intent
    function addEvent(obj, evt, fn) {
        if (obj.addEventListener) {
            obj.addEventListener(evt, fn, false);
        }
        else if (obj.attachEvent) {
            obj ...
  • Center Divs with CSS

    Using two divs to center elements.

    <div class="row">
        <div class="container">
            <div id="outerLogo">           
                <div id="innerLogo">
                    <a href="/" title="Logo Goes Here!!!"><img style="border: 5px dotted #4cff00;" class="img-responsive" alt="Be sure to include alt text for SEO Optimization." src="Logo.png" style="border:none" /></a>
                </div>           
            </div>
         </div>
    </div>
  • Show Ad Center Page #3 is the latest revision

    Shoes and ad center page and only shows it one time on visitor first visit because a cookie is set.

    $('.close').click(function () {
        	$.cookie("noti", "closed", {
    			expires: 30
    		});
    		$('.shoes_ad').hide();		
    	});
    		
    
    $('.delete-cookie').on('click', function () {
    	$.cookie("noti", "open");    
    	$('.shoes_ad').show();
    });  
  • CheckBox Checked Hide Divs #10 is the latest revision

    When onload and you cannot get the id use a span tag to get the child and then hide elements.

    $(document).ready(function(){ 
    
        
        
        $('#UseGradient').change(function() {
            $('#primaryBottomGradient').toggle(this.checked);
            $('#primaryTopGradient').toggle(this.checked);
            $('#secondaryBottomGradient').toggle(this.checked);
            $('#secondaryTopGradient').toggle ...