6

To make this short, I have a site with two tags, one fixed to the left and one fixed to the right of the screen. When you're not hovering them, you can scroll as usual but when you mouse over them you can no longer scroll until you mouse out of them.

The site is - http://www.kuhlswaine.com

Here are the two tags I'm referring to along with their CSS -

CSS & HTML

    #hover-zone-left {
      background-color: transparent;
      height: 100%;
      left: 0;
      position: fixed;
      top: 0;
      width: 10%;
      z-index: 9;
    }
    #hover-zone-right {
      background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
      height: 100%;
      position: fixed;
      right: 16px;
      top: 0;
      width: 10%;
      z-index: 99999;
    }
<a id="hover-zone-left" class="prev-button special-anchor hover-zone" href="#"></a>
<a id="hover-zone-right" class="next-button special-anchor hover-zone" href="#"></a>
user3817824
  • 81
  • 1
  • 4

0 Answers0