News

The Shooting At Chardon High

Reading Time: 0:60 min

Here is a school shooting that didn’t make major headlines. I am glad they went out of their way not to mention to shooters name or identity. Granted, you can…

View post

Want fewer guns on California streets? Open carry may be the answer

Reading Time: 0:38 min

What’s the best way to minimize the number of guns on California’s streets? That’s the question confronting gun control supporters after this month’s ruling by the U.S. 9th Circuit Court…

View post

Man killed after dispute over texting in theater

Reading Time: 1:3 min

A moviegoer lost his life inside a Pasco County theater Monday afternoon after a dispute over texting with a retired police officer. According to the sheriff’s office, the dispute happened…

View post

‘NO GUNS PERMITTED’ AT TOBY KEITH’S NEW BAR AND GRILL

Reading Time: 0:26 min

Toby Keith’s I Love This Bar and Grill opened in Potomac Town Center in Woodbridge, Virginia, this week with a sign on the door: “No guns permitted.

View post

Wall Street advisor recommends guns, ammo for protection in collapse

Reading Time: 1:18 min

This is nothing new to some of you, but to some this is a far off scenario that could never happen and people are just being paranoid. I am not…

View post

The Glock 42: The Glock No One Asked For

Reading Time: 0:33 min

I’ve been seeing the buzz around the net about a possible new single stack Glock in .380.  Apparently, the rumors may be true, but i’m finding  it hard to make…

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>