Right to Carry

Americans Rushing to Take Gun Training Courses Amid Uncertainty

Reading Time: 2:39 min

The number of American households in which there is at least one firearm continues to surge; at least one million weapons have been sold every month for the past five…

View post

DOJ Files Powerful Amicus Brief in Support of Second Amendment Plaintiffs

Reading Time: 4:6 min

Second Amendment advocates know well that the Department of Justice (DOJ) has not been a friend to gun rights in recent years. This makes last week’s legal action by the…

View post

Jacksonville Lawmaker Accuses City of Compiling Illegal Gun Registry

Reading Time: 2:25 min

Anti-gunners increasingly embrace the mantra that “the end justifies the means.” It matters not if the process violates the law or even the U.S. Constitution, so long as law-abiding citizens…

View post

New Federal ‘Assault Weapon’ Ban Introduced in Congress

Reading Time: 2:32 min

Don’t look now, but rabid congressional anti-gunners are at it again. This time it’s yet another introduction of a nationwide ban on so-called “assault weapons.”   Never mind that there…

View post

North Georgia Homeowner Uses Firearm to Stop Attempted Break-Ins

Reading Time: 2:24 min

A group of people apparently thought they had easy pickings in the early morning hours of Saturday when they targeted the home and vehicle of a North Georgia resident.  …

View post

Lawmakers Make Frivolous Attempt to Ban Glock Handguns in Illinois

Reading Time: 2:24 min

Anti-gunners in Illinois ramped up their attack on popular gunmaker Glock with a shocking bill that would ban these handguns entirely. It’s not enough that Chicago lawmakers sued the manufacturer…

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>