Using Modernizer.js to redirect if page doesn't support drag and drop
<p>I have successfully configured modernizer.js to tell if a page can support drag and drop or not.  Originally I configured it so that if it was supported to show one div and if not to show the other which worked well until I discovered that two of the js scripts running on this page didn't play nicely with each other.</p>

<p>At this point I decided that the best thing to do is just redirect the user to another page if their browser doesn't support drag and drop.</p>

<p>The problem that I have is that my javascript isn't all that great yet (I'm a works in progress) and although I have managed to configure it to redirect as the else part of an if/else statement I would like it to just redirect using the if without the else (if you know what I mean?).</p>

<p>This what I currently have...</p>

<pre><code>window.onload = function() {
   if (window.FileReader &amp;&amp; Modernizr.draganddrop){
      //code left from when it was showing hidden divs
      document.getElementById('yes').style.display = 'block';
      document.getElementById('page_blurb').style.display = 'block';
   }else{
      window.location = "http://www.dentaldigs.co.uk/image_upload_non5.php"

   }
};
</code></pre>

<p>This is what I want to do...</p>

<pre><code>window.onload = function() {
   if (window.FileReader &amp;&amp; Modernizr.draganddrop not true){
      window.location = "http://www.dentaldigs.co.uk/image_upload_non5.php"   
   }
};
</code></pre>

<p>I hope that makes sense?</p>

<p>Thanks</p>
