News

Daniel Defense makes the Inc. 500/5000 list two years in a row

Reading Time: 1:4 min

After spending some time with their DDM4 V1 rifle I walked away really impressed with Daniel Defense, especially considering all of the excellent custom rifle shops they have to compete…

View post

OC High School Student Ordered To Remove NRA T-Shirt Because It Promotes Gun Violence

Reading Time: 0:29 min

What the hell is going on in our schools? It’s like the public school system has convinced itself that the Gun is the Anti-Christ and they are the worlds reckoning.

View post

Ex British PM Tony Blair’s daughter held at gunpoint

Reading Time: 0:40 min

Let Piers Morgan tell it, gun violence in the UK? What gun violence in the UK? Someone tell me how someone was able to hold up Tony Blair’s daughter in…

View post

An Open Letter from Howard Schultz, ceo of Starbucks Coffee Company

Reading Time: 1:18 min

Howard Schutlz, Ceo of Starbucks, writes an open letter. In the letter Schultz expounds on the companies recent request for no guns in their stores. This letter is going to…

View post

Starbuck’s Public Request: No Weapons (Guns) in our Stores

Reading Time: 0:44 min

We are not pro- or anti- (So, you’re bi-gun?),  but recently activist (2nd Amendment Advocates) groups on both sides of the gun debate have politicized our company and brand for their…

View post

Daily News and their EPIC FAIL

Reading Time: 0:22 min

This is what an agenda looks like. This is what desperation looks like. Screw the facts, screw respecting the families of the dead, by pushing an agenda before all the…

View post
<script>
  /*Source: https://github.com/Krzysztof-Antosik/Two-direction-Sticky-Sidebar*/
  
  // Verificar el ancho de pantalla al cargar y redimensionar
  function checkScreenWidth() {
    if (window.innerWidth <= 767) {
      // Si la pantalla es menor o igual a 676px, no ejecutar el código
      return;
    }

    const stickyElement = document.querySelector('.fb-sidebar__aside');
    const startPosition = stickyElement.getBoundingClientRect().top;

    let endScroll = window.innerHeight - stickyElement.offsetHeight - 500;
    let currPos = window.scrollY;
    let screenHeight = window.innerHeight;
    let stickyElementHeight = stickyElement.offsetHeight;
    let topGap = 40;
    let bottomGap = 40;

    setTimeout(() => {
      if (stickyElement.hasAttribute('data-top-gap')) {
        const dataTopGap = stickyElement.getAttribute('data-top-gap');
        topGap = dataTopGap === 'auto' ? startPosition : parseInt(dataTopGap);
      }

      if (stickyElement.hasAttribute('data-bottom-gap')) {
        bottomGap = parseInt(stickyElement.getAttribute('data-bottom-gap'));
      }
    }, 100);

    stickyElement.style.position = 'sticky';
    stickyElement.style.top = `${topGap}px`;
    stickyElement.style.height = 'fit-content';

    function positionStickySidebar() {
      endScroll = window.innerHeight - stickyElement.offsetHeight - bottomGap;
      const stickyElementTop = parseInt(stickyElement.style.top.replace('px', ''));

      if (stickyElementHeight + topGap + bottomGap > screenHeight) {
        if (window.scrollY < currPos) {
          if (stickyElementTop < topGap) {
            stickyElement.style.top = `${stickyElementTop + currPos - window.scrollY}px`;
          } else if (stickyElementTop >= topGap && stickyElementTop !== topGap) {
            stickyElement.style.top = `${topGap}px`;
          }
        } else {
          if (stickyElementTop > endScroll) {
            stickyElement.style.top = `${stickyElementTop + currPos - window.scrollY}px`;
          } else if (stickyElementTop < endScroll && stickyElementTop !== endScroll) {
            stickyElement.style.top = `${endScroll}px`;
          }
        }
      } else {
        stickyElement.style.top = `${topGap}px`;
      }
      currPos = window.scrollY;
    }

    function stickyElementToMe() {
      stickyElement.style.top = `${topGap}px`;
    }

    function updateSticky() {
      screenHeight = window.innerHeight;
      stickyElementHeight = stickyElement.offsetHeight;
      positionStickySidebar();
    }

    setTimeout(() => {
      window.addEventListener('resize', () => {
        currPos = window.scrollY;
        updateSticky();
      });

      document.addEventListener('scroll', updateSticky, {
        capture: true,
        passive: true
      });
    }, 1000);
  }

  // Verificar el ancho de pantalla al cargar y redimensionar
  window.addEventListener('load', checkScreenWidth);
  window.addEventListener('resize', checkScreenWidth);
</script>