title: if variable is true, DON'T SHOW alert? Javascript
body: <p>So basically, what I'm trying to find out, is if there is any way to set a variable to false, and NOT SHOW an alert message if said variable is changed to true.</p>
  
  <p>example:</p>
  
  <pre><code>function pausePop() {
      $("#signatures").hover(function() {
          var shown = false;
          alert('If you hover over the signatures or the cleared sides, it will pause the scroll');
          var shown = true;
  
          if (shown = true) {
  
          }
      });
  }
  </code></pre>
  
  <p>Is there any way to do this? If so, is there a SIMPLE way to do this? I am a mere beginner and would like to do some cool things right off the bat.</p>