<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sat, 13 Jun 2026 14:28:41 +0000</lastBuildDate>
    <item>
      <title>(JavaScript) Disable document scrolling when using mouse-wheel in Flash elements - singalongwithdavehotmailcom</title>
      <link>https://snipplr.com/view/63718/disable-document-scrolling-when-using-mousewheel-in-flash-elements</link>
      <description>&lt;p&gt;Often in Flash, the mouse is used to zoom or scroll, and by default the document &lt;body&gt; tag will also pick this up, making the page scroll away - which is annoying when you just want to view the Flash element. &#13;
&#13;
This snippet intercepts mouse scroll over object or embed tags, and prevents the default behaviour.&#13;
&#13;
The code is cross-browser, not dependent on a 3rd party library, and executes inside a self-executing function, so it won't pollute your global scope.&lt;/p&gt;</description>
      <pubDate>Mon, 05 Mar 2012 21:32:42 UTC</pubDate>
      <guid>https://snipplr.com/view/63718/disable-document-scrolling-when-using-mousewheel-in-flash-elements</guid>
    </item>
  </channel>
</rss>
