• Search

































































    • English

    • Français

    • Español

















    This post is also available in:
    Français Español





























    /* */

    /* */

    /* */

    function grveReadCookie(name) var nameEQ = name + '=';var ca = document.cookie.split(';');for(var i=0;i < ca.length;i++) var c = ca[i];while (c.charAt(0)==' ') c = c.substring(1,c.length);if (c.indexOf(nameEQ) === 0) return c.substring(nameEQ.length,c.length);return null;function grvePrivacyCookieConsent( cookie_name, cookie_days ) var privacyAgreement = jQuery('.grve-privacy-agreement');privacyAgreement.on( 'click', function() var theDate = new Date();var later = new Date( theDate.getTime() + cookie_days*24*60*60*1000 );document.cookie = cookie_name + '=true; Path=/; Expires='+later.toGMTString()+';';jQuery('#grve-privacy-bar').fadeOut(900););if( !document.cookie.match( cookie_name ) ) jQuery('#grve-privacy-bar').fadeIn(900);function grvePrivacyPopupConsent() var privacyPopupButton = jQuery('.grve-privacy-popup-btn'),privacyRefreshButton = jQuery('.grve-privacy-refresh-btn'),privacyPopup = jQuery('#grve-privacy-popup'),privacyOverlay = jQuery('#grve-privacy-overlay');privacyPopupButton.on( 'click', function(e) e.preventDefault();privacyPopup.fadeIn(600,function()jQuery(window).on( 'click.grve_close_privacy_popup', function( event ) if( !jQuery(event.target).closest('.grve-privacy-popup-wrapper').length ) privacyPopup.fadeOut(600,function()jQuery(window).off( 'click.grve_close_privacy_popup' ););privacyOverlay.fadeOut(600);););privacyOverlay.fadeIn(600););privacyRefreshButton.on( 'click', function() window.location.reload(true);); grvePrivacyCookieConsent('grve-privacy-consent', '30'); grvePrivacyPopupConsent();function grvePrivacyCookieSwitch( cookie_name, initial_state ) var theDate = new Date();var oneYearLater = new Date( theDate.getTime() + 31536000000 );var privacySwitch = jQuery('.' + cookie_name);privacySwitch.each( function() if( document.cookie.match( cookie_name ) ) if ( 'false' == grveReadCookie(cookie_name) ) this.checked = false; else this.checked = true; else if( !initial_state ) this.checked = false;);privacySwitch.on( 'click', function() if( this.checked ) document.cookie = cookie_name + '=true; Path=/; Expires='+oneYearLater.toGMTString()+';';privacySwitch.each( function() this.checked = true;); else document.cookie = cookie_name + '=false; Path=/; Expires='+oneYearLater.toGMTString()+';';privacySwitch.each( function() this.checked = false;);); grvePrivacyCookieSwitch('grve-privacy-content-gtracking', '1' ); grvePrivacyCookieSwitch('grve-privacy-content-gfonts', '1' ); grvePrivacyCookieSwitch('grve-privacy-content-gmaps', '1' ); grvePrivacyCookieSwitch('grve-privacy-content-video-embeds', '1' );
    (function(document, history, location)
    var HISTORY_SUPPORT = !!(history && history.pushState);

    var anchorScrolls =
    ANCHOR_REGEX: /^#[^ ]+$/,
    OFFSET_HEIGHT_PX: 95,

    /**
    * Establish events, and fix initial scroll position if a hash is provided.
    */
    init: function()
    this.scrollToCurrent();
    window.addEventListener('hashchange', this.scrollToCurrent.bind(this));
    document.body.addEventListener('click', this.delegateAnchors.bind(this));
    ,

    /**
    * Return the offset amount to deduct from the normal scroll position.
    * Modify as appropriate to allow for dynamic calculations
    */
    getFixedOffset: function()
    return this.OFFSET_HEIGHT_PX;
    ,

    /**
    * If the provided href is an anchor which resolves to an element on the
    * page, scroll to it.
    * @param String href
    * @return Boolean - Was the href an anchor.
    */
    scrollIfAnchor: function(href, pushToHistory)
    var match, rect, anchorOffset;

    if(!this.ANCHOR_REGEX.test(href))
    return false;


    match = document.getElementById(href.slice(1));

    if(match)
    rect = match.getBoundingClientRect();
    anchorOffset = window.pageYOffset + rect.top - this.getFixedOffset();
    window.scrollTo(window.pageXOffset, anchorOffset);

    // Add the state to history as-per normal anchor links
    if(HISTORY_SUPPORT && pushToHistory)
    history.pushState(, document.title, location.pathname + href);



    return !!match;
    ,

    /**
    * Attempt to scroll to the current location's hash.
    */
    scrollToCurrent: function()
    this.scrollIfAnchor(window.location.hash);
    ,

    /**
    * If the click event's target was an anchor, fix the scroll position.
    */
    delegateAnchors: function(e)
    var elem = e.target;

    if(
    elem.nodeName === 'A' &&
    this.scrollIfAnchor(elem.getAttribute('href'), true)
    )
    e.preventDefault();


    ;

    window.addEventListener(
    'DOMContentLoaded', anchorScrolls.init.bind(anchorScrolls)
    );
    )(window.document, window.history, window.location);

    Popular posts from this blog

    What is the best defense strategy for Survival in Grand Theft Auto Online?What is JP used for in Grand Theft Auto Online?How do I setup a Crew HQ in Grand Theft Auto Online?How does stealth work in Grand Theft Auto Online?Is it possible to own more than 10 cars in Grand Theft Auto online?Where to find truck/trailers in Grand Theft Auto OnlineWhat are some of the best missions to do on Grand Theft Auto 5 onlineFastest Car in Grand Theft Auto V PCHow to setup a Crew vs Crew online session in Grand Theft Auto Online?Grand theft auto 5 crossplayingRestart Grand Theft Auto V Online?

    What are all of the named locations?Are the location based achievements in BL2 bugged?What are the locations of the traveling merchants for the Market Research achievement?Are Loot Midget locations fixed or do they spawn randomly?What exact locations are covered by Arctic Explorer?Are all Bosses farmable?Where are all the chickens?Where are all the gambling locations?Where are all the purple eridium totems?What are all the Vigor combos?Does the area Bandit Freighter actually exist as a named place on the map?What are all the achievements in WWF?

    Is it possible to log your Steam account into two computers at once? The Next CEO of Stack OverflowHow do I continue downloading a game in Steam while playing?Can I safely uninstall games purchased from Steam?Steam repeatedly pauses downloadsSteam game from Mac to PCCan I choose which library to install a game to using the remote-download feature?How to download Windows games from Steam onto a Linux computer?Steam Chat completely dropping messagesThe Steam App Won't Connect to WifiWhy is my Steam Client acting so slow?What else do I need to copy over/edit to make my game appear in the Steam Library?Downloading Steam games on different family laptops