Title: Need Java html coder to stop mouse wheel scrolling on my site. Post by: KingTylerVVS on March 09, 2017, 12:39:57 AM HELP WITH MY WEBSITE FOR A BITCOIN BOUNTY!
edit* bounty claimed, modify code to claim more see most recent reply* If you can deactivate mouse wheel scrolling on my site I will send you $5 in bitcoin. the page in question is here: http://www.d3fc.me/2014/08/good-game-empire.html (http://www.d3fc.me/2014/08/good-game-empire.html) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ the code needing editing is this:[/b] <!--more--><script language="JavaScript" type="text/javascript"> <!-- Copyright 2005, Sandeep Gangadharan --> <!-- For more free scripts go to http://www.sivamdesign.com/scripts/ --> <!-- if (document.getElementById) { document.writeln('<style type="text/css"><!--') document.writeln('.texter {display:none} @media print {.texter {display:block;}}') document.writeln('//--></style>') } function openClose(theID) { if (document.getElementById(theID).style.display == "block") { document.getElementById(theID).style.display = "none" } else { document.getElementById(theID).style.display = "block" } } // --> </script> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <script language="JavaScript" type="text/javascript"> this.canvas.addEventListener('mousewheel',function(event){ mouseController.wheel(event); return false; }, false); </script> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <!-- HERE IS THE MOUSE WHEEL CODE THAT IS *NOT* WORKING TO STOP SCROLL --> <br /> <div style="background-image: url(http://2.bp.blogspot.com/-PscWsgg-kGk/Vc_5ZbqXutI/AAAAAAAABHA/vlq1JNDxwP4/s1600/SEAL.png);"> <div style="text-align: center;"> <span style="font-size: x-large;"><b><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" />Earn free bitcoins for managing your castle!<img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /></b></span></div> <h3> <span style="font-family: "verdana" , sans-serif; font-weight: normal;"><span style="background-color: white; font-size: x-large;"><br /></span></span></h3> <h3> <span style="font-family: "verdana" , sans-serif; font-weight: normal;"><span style="background-color: #ffe599; font-size: x-large;">NOTE: the bitcoin faucet is currently down, bitcoin dividends will be awarded directly from King Tyler. Message the King in chat to claim your share.</span></span> <span style="font-family: "verdana" , sans-serif;"><span style="background-color: white; color: #6aa84f; font-size: x-large;"><b><br /><div style="text-align: center;"> <b><br /></b></div> <div style="text-align: center;"> <b>☟ Scroll down to play! ☟</b></div> </b></span></span></h3> <hr /> <div align="left"> <table><tbody> <tr><td valign="top"><img alt="Good Game Empire" border="0" height="180" src="https://2.bp.blogspot.com/-_b82bQDWCJc/VIVTWn-im9I/AAAAAAAAAyI/Mcnil0A7oD4/s1600/good%2Bgame%2Bempire.jpg" title="Good Game Empire" width="320" /></td><td valign="top"><a href="http://www.d3fc.com/2016/04/play-good-game-empire.html#CENTER"><img alt="CENTER GAME SCREEN" data-pin-no-hover="true" height="180" onmouseout="this.src='http://4.bp.blogspot.com/-9nunGVzyHxM/VZ8udX-hEkI/AAAAAAAAA74/48AgbYQmfFk/s1600/CenterU1.jpg'" onmouseover="this.src='http://3.bp.blogspot.com/-ytB1fbt8kJw/VZ8uco1DbpI/AAAAAAAAA8I/bf7AMK-sBxU/s1600/CenterD3.jpg'" src="https://4.bp.blogspot.com/-9nunGVzyHxM/VZ8udX-hEkI/AAAAAAAAA74/48AgbYQmfFk/s1600/CenterU1.jpg" title="CENTER GAME SCREEN" /></a></td><td valign="top"><script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- Medium Square --> <ins class="adsbygoogle" data-ad-client="ca-pub-7737529611636167" data-ad-slot="3999574065" style="display: inline-block; height: 250px; width: 300px;"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script></td></tr> </tbody></table> </div> <br /> <br /> <br /> <div style="text-align: left;"> <div onclick="openClose('a1')" style="cursor: hand; cursor: pointer;"> <span style="background-color: #990000; color: white; font-family: "times" , "times new roman" , serif; font-size: x-large;"><b> ☞ ABOUT Goodgame Empire: </b></span></div> <div class="texter" id="a1"> <b><span style="font-family: "times" , "times new roman" , serif;">Click ☝ again to close.</span></b><br /> <br /> Goodgame empire is a MMO (massive multiplayer online) castle building strategy game filled with action, calculation and courage. The ultimate empire simulator; build your first barracks and go on an adventure that will make any boy or girl feel like a King or Queen - of your very own civilization!<b> 5/5 stars!</b> <br /> <div class="separator" style="clear: both; text-align: center;"> <img border="0" height="100%" src="https://3.bp.blogspot.com/-Iiu1KGQnpAo/VIZmnHaJZGI/AAAAAAAAAzU/oqT1osaHL2M/s1600/Herald.png" width="700" /> <img border="0" height="100%" src="https://4.bp.blogspot.com/-BGFNBt-WApU/U-bjCw7wizI/AAAAAAAAArI/UTKouFkk8p0/s1600/goodgame_empire_flyer_en.png" width="700" /></div> </div> </div> <div onclick="openClose('a2')" style="cursor: hand; cursor: pointer;"> <b><span style="background-color: #3d85c6; color: white; font-family: "times" , "times new roman" , serif; font-size: x-large;"> ☞ PLAY Another Game: </span></b></div> <div class="texter" id="a2"> <span style="font-family: "verdana" , sans-serif;"><b><span style="font-family: "times" , "times new roman" , serif;">Click ☝ again to close.</span></b> </span><iframe height="1600" scrolling="no" src="http://d3fc.blogspot.com/2016/04/games.html#CENTER" width="986"></iframe> </div> <div onclick="openClose('a3')" style="cursor: hand; cursor: pointer;"> <span style="background-color: orange; color: white; font-size: x-large;"><span style="font-family: "times" , "times new roman" , serif;"><b> ☞ COLLECT Free Bitcoins! </b></span><span style="background-color: white; color: orange;"></span></span></div> <div class="texter" id="a3"> <span style="background-color: white;"><span style="background-color: white; font-family: "verdana" , sans-serif;"><b><span style="font-family: "times" , "times new roman" , serif;">Click ☝ again to close.</span></b><br /> <span style="color: orange; font-family: "verdana" , sans-serif;"><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /><img src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /></span></span></span><br /> Scroll up here and open this section at any time to collect LIMITLESS Bit©OiNS while you play! This is especially useful if you are waiting on any in-game progress timers. <a href="http://www.d3fc.me/2015/08/do-you-need-bitcoin-wallet.html" style="font-family: Verdana, sans-serif; font-size: small;" target="_blank">Need a Bitcoin Wallet? ☞ Click here for free wallets loaded with coins! ☜</a><br /> <br /> <br /> <div onclick="openClose('a4')" style="cursor: hand; cursor: pointer;"> <span style="background-color: #990000; color: white; font-family: "times" , "times new roman" , serif; font-size: large;"><b> ☞ FIRST TIME USERS: </b>IMPORTANT! Click Here. ☜ </span></div> <div class="texter" id="a4"> <span style="font-family: "verdana" , sans-serif;"><span style="font-family: "times" , "times new roman" , serif;"><span style="color: #990000;">How to use the "land of bitcoin" below...</span><a href="http://www.d3fc.me/2015/07/how-to-get-free-bitcoins-7-min-tutorial.html" target="_blank"> VIDEO TUTORIAL HERE.</a></span><br /><br /><span style="font-family: "verdana" , sans-serif;">1. Click "register" and sign up. </span></span><br /> <div onclick="openClose('help1')" style="cursor: hand; cursor: pointer;"> <span style="color: #6aa84f; font-size: x-small;">☞ Show Me!</span></div> <div class="texter" id="help1"> <img border="0" height="100%" src="https://2.bp.blogspot.com/-N6RLAtVNzIo/VaBs7EaaqdI/AAAAAAAAA-8/c7akFhDPWj0/s1600/1.png" width="800" /><br /> <img border="0" height="100%" src="https://3.bp.blogspot.com/-g6KWUR-meXE/VaBtC8YdcZI/AAAAAAAAA_A/lDWbk_bOD1c/s1600/2.png" width="800" /></div> <br /> <span style="font-family: "verdana" , sans-serif;"> 2. Click "account" and enter your email and bitcoin address. Use the link above if you need a wallet. ☝</span><br /> <div onclick="openClose('help2')" style="cursor: hand; cursor: pointer;"> <span style="color: #6aa84f; font-size: x-small;">☞ Show Me!</span></div> <div class="texter" id="help2"> <img border="0" height="100%" src="https://4.bp.blogspot.com/-5Ud9jx43SBo/VaBs7fm2M2I/AAAAAAAAA_A/UGab1IWtbpA/s1600/3.png" width="800" /><br /> <img border="0" height="100%" src="https://3.bp.blogspot.com/-hFhbICc7AQU/VaBs-oyQvPI/AAAAAAAAA_A/RiIuNiyAwqc/s1600/4.png" width="800" /></div> <br /> <span style="color: #e06666; font-family: "verdana" , sans-serif;"><i>(Find your bitcoin address in the xapo.com wallet menu by clicking "wallet" then "address".)</i></span><br /> <div onclick="openClose('help3')" style="cursor: hand; cursor: pointer;"> <span style="color: #6aa84f; font-family: "verdana" , sans-serif; font-size: x-small;">☞ Show Me!</span></div> <div class="texter" id="help3"> <span style="font-family: "verdana" , sans-serif;"><img border="0" height="100%" src="https://3.bp.blogspot.com/-Rh3T8kbCRvY/VaBtTDhC0lI/AAAAAAAAA-4/aCSJ-Pvup2s/s1600/A.png" width="800" /><img border="0" height="100%" src="https://1.bp.blogspot.com/-77tlAbAvej0/VaBtM5ihCBI/AAAAAAAAA-s/JSOEJ_1tvRk/s1600/B.png" width="800" /></span></div> <span style="font-family: "verdana" , sans-serif;"><br /> 3. Once you have entered a bitcoin address on the account page, <b>save the info</b> and click "Home".</span><br /> <div onclick="openClose('help4')" style="cursor: hand; cursor: pointer;"> <span style="color: #6aa84f; font-family: "verdana" , sans-serif; font-size: x-small;">☞ Show Me!</span></div> <span style="font-family: "verdana" , sans-serif;"> </span> <br /> <div class="texter" id="help4"> <span style="font-family: "verdana" , sans-serif;"><img border="0" height="100%" src="https://2.bp.blogspot.com/-HFufE-xvZHc/VaBs_R4x1DI/AAAAAAAAA_A/JuXqj9WNz3A/s1600/5.png" width="800" /></span></div> <span style="font-family: "verdana" , sans-serif;"> 4. Turn on the land of bitcoin faucet by clicking "Open the faucet and get free bitcoins." Solve the captcha.<br /> </span> <br /> <div onclick="openClose('help5')" style="cursor: hand; cursor: pointer;"> <span style="font-family: "verdana" , sans-serif;"><span style="color: #6aa84f; font-size: x-small;">☞ Show Me!</span></span></div> <span style="font-family: "verdana" , sans-serif;"> </span> <br /> <div class="texter" id="help5"> <span style="font-family: "verdana" , sans-serif;"><img border="0" height="100%" src="https://1.bp.blogspot.com/-DayXFEYAn3A/VaBtJJqpb5I/AAAAAAAAA-w/0oiO-g93P30/s1600/6.png" width="800" /><img border="0" height="100%" src="https://4.bp.blogspot.com/-ChT5Gfn1u9U/VaBtDtS840I/AAAAAAAAA_A/10vWkpCibF8/s1600/7.png" width="800" /></span></div> <span style="font-family: "verdana" , sans-serif;"> 5. Click "Collect free bitcoins from faucets" and solve another captcha for free bitcoins. Then click "VISIT NEXT SITE". Solve as many captchas as you can, <i>increasing your typing and problem solving skills while in the process of simultaneously earning you an appreciating asset.</i></span><br /> <div onclick="openClose('help6')" style="cursor: hand; cursor: pointer;"> <span style="color: #6aa84f; font-size: x-small;">☞ Show Me!</span></div> <div class="texter" id="help6"> <img border="0" height="100%" src="https://3.bp.blogspot.com/-P4uKgQc2evM/VaBtGAgm5mI/AAAAAAAAA_A/nAUfeMLFkBg/s1600/8.png" width="800" /></div> <br /> <span style="font-family: "verdana" , sans-serif;"> 6. After you are done collecting from the multiple Bitcoin faucets, click the Land of Bitcoin "Home" </span><span style="font-family: "verdana" , sans-serif;">button again - otherwise Good Game Big Farm will run slow... :(</span><span style="font-family: "verdana" , sans-serif;"> If the game still runs slow, try refreshing the page. NOTE: you can collect coins even while in full screen mode by scrolling down whilst in full screen mode. </span><br /> <div onclick="openClose('help7')" style="cursor: hand; cursor: pointer;"> <span style="font-family: "verdana" , sans-serif;"><span style="color: #6aa84f; font-size: x-small;">☞ Show Me!</span></span></div> <span style="font-family: "verdana" , sans-serif;"> </span> <br /> <div class="texter" id="help7"> <span style="font-family: "verdana" , sans-serif;"><img border="0" src="https://2.bp.blogspot.com/-DK4YcvFQ_VU/VaB5yelGukI/AAAAAAAAA_Q/IfSui-P9da8/s1600/Castle1.png" width="800" /><img border="0" src="https://4.bp.blogspot.com/-l9eF0BBFs-s/VaB5ycSOyAI/AAAAAAAAA_U/zAQbJRmQfAw/s1600/Castle2.png" width="800" /></span></div> <span style="font-family: "verdana" , sans-serif;"> 7. Lastly, make sure the blue "Land of Bitcoin faucet" is always on. <i>After you finish, close the red and orange buttons above this tutorial to hide this info and play the game!</i></span></div> <br /> <br /> <iframe frameborder="0" height="2000" src="https://www.landofbitcoin.com/?r=SonWKcKuBtNJjtxn" style="-webkit-transform: scale(1);" width="988"></iframe></div> </div> <div onclick="openClose('aa')" style="cursor: hand; cursor: pointer;"> <span style="background-color: #6aa84f; color: white; font-size: x-large;"><span style="font-family: "times" , "times new roman" , serif;"><b> ☞ Empire Players Guide! </b></span><span style="background-color: white; color: orange;"></span></span></div> <div class="texter" id="aa"> <iframe height="686" frameborder="0" scrolling="no" src="http://d3fc.blogspot.com/2016/05/gge-guides.html#GGE" width="996"></iframe> </div> <div style="text-align: right;"> <a href="http://www.blogger.com/null" name="CENTER"></a><span style="font-size: x-small;"><a href="http://www.d3fc.com/2016/04/empire-defense-guide.html"><span style="color: #e06666;">EMPIRE DEFENSE GUIDE</span></a> | Screen doesn't fit? Try zooming out under browser settings, or play in full screen mode: </span> <span style="font-family: "verdana" , sans-serif; font-size: x-small;"><a href="http://d3fcgames.blogspot.com/2014/09/play-good-game-empire-fullscreen.html"><span style="color: #e06666;">回 FULL SCREEN MODE 回</span></a></span></div> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <iframe height="686" scrolling="no" src="http://empire.goodgamestudios.com?ic=5N-3X2FD&w=199947&refer_method=link" width="978"></iframe> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <!-- GAME SCREEN IFRAME HERE, IF POSSIBLE MOUSE WHEEL SHOULD NOT AFFECT PAGE AS IT ZOOMS IN THE GAME --> <br /> <div style="text-align: center;"> <a href="http://www.d3fc.com/2016/04/play-good-game-empire.html#CENTER"><img alt="CENTER GAME SCREEN" data-pin-no-hover="true" height="180" onmouseout="this.src='http://3.bp.blogspot.com/-pJBaZCOm5ds/VZ8ucm0RhGI/AAAAAAAAA8A/DyhKs8HSdZA/s320/CenterD1.jpg'" onmouseover="this.src='http://1.bp.blogspot.com/-mX5aiirnql4/VZ8uc28sGjI/AAAAAAAAA78/X8OlxaS_yTk/s1600/CenterD2.jpg'" src="https://3.bp.blogspot.com/-pJBaZCOm5ds/VZ8ucm0RhGI/AAAAAAAAA8A/DyhKs8HSdZA/s320/CenterD1.jpg" title="CENTER GAME SCREEN" /></a> </div> <br /> <hr /> <br /> <div style="text-align: center;"> <script async="" src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- SQUARE --> <br /> <ins class="adsbygoogle" data-ad-client="ca-pub-7737529611636167" data-ad-slot="4139174863" style="display: inline-block; height: 280px; width: 336px;"></ins><script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> <iframe scrolling="no" src="//coinurl.com/get.php?id=32899" style="border: 0; height: 280px; width: 336px;"></iframe> </div> <br /> <img border="0" src="https://1.bp.blogspot.com/-XBVhxbIpanI/U8VgeUcNpwI/AAAAAAAAAd4/lpb746vQCHk/s1600/point_here_animated.gif" /><span style="font-size: x-large;"><img border="0" src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /> <span style="font-family: "arial" , "helvetica" , sans-serif;"><u>Like, tweet, in-share, pin and g+ this page to earn free Bitcoins!</u> </span><img border="0" src="https://2.bp.blogspot.com/-TEzRcgPOwzg/U9TQY7gafSI/AAAAAAAAAoE/mcn0ax6a1Tk/s1600/Coin-1.gif" /></span><br /> <br /> <div class="addthis_native_toolbox"> </div> <div id="fb-root"> </div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/sdk.js#xfbml=1&appId=207857896017882&version=v2.0"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script> <br /> <div class="fb-comments" data-colorscheme="light" data-href="http://www.d3fc.me/2014/08/good-game-empire.html" data-numposts="3" data-width="974"> </div> <div style="text-align: center;"> <span style="color: #999999; font-family: "verdana" , sans-serif; font-size: x-small;"> ¨¨°º©♕©º°¨¨ The King Has Returned & ∞ Free Coins Have Arrived ¨¨°º©♕©º°¨¨</span></div> Title: Re: Need Java html coder to stop mouse wheel scrolling on my site. Post by: falala69 on March 09, 2017, 01:22:50 AM Its just mouse wheel, right?
Try this one: Code: window.onwheel = function(){ return false; } Btc addy: 1HMvnZa1UTwVNLDrauema4RKwdu4v8FSCQ Title: Re: Need Java html coder to stop mouse wheel scrolling on my site. Post by: KingTylerVVS on March 09, 2017, 01:54:59 AM Its just mouse wheel, right? Try this one: Code: window.onwheel = function(){ return false; } Btc addy: 1HMvnZa1UTwVNLDrauema4RKwdu4v8FSCQ I added <script language="JavaScript" type="text/javascript"> window.onwheel = function(){ return false; } </script> at the top of my html. WORKS! several other people sent codes that were more complex and did NOTHING. https://blockchain.info/tx/6fa3d11e7012d82ec219ebeb8779c334c862ed2271c8ca6e63ea42cfd12c68cd (https://blockchain.info/tx/6fa3d11e7012d82ec219ebeb8779c334c862ed2271c8ca6e63ea42cfd12c68cd) already sent you $5, but if you want more this would help: make the scroll only disabled if the cursor is in the game window. SEE CODE GAME IFRAME IS AT BOTTOM OF CODE I SUBMITED IN ORIGINAL POST I will mark it GREEN upon edit Title: Re: Need Java html coder to stop mouse wheel scrolling on my site. Post by: KingTylerVVS on March 09, 2017, 02:25:12 AM Damn, while the code does stop mouse wheel scrolling on the page, if my mouse is over the game window it still scrolls the entire page! Then once mouse is off game window it stops scrolling again.
Its an iframe, how to deactivate scrolling while in iframe Title: Re: Need Java html coder to stop mouse wheel scrolling on my site. Post by: KingTylerVVS on March 09, 2017, 03:34:35 AM the answer is here, I just dont know how to create the code on blogger.
1. http://stackoverflow.com/questions/30486787/prevent-parent-page-from-scrolling-when-mouse-is-over-embedded-iframe 2. http://stackoverflow.com/questions/19982722/disabling-main-window-scrolling-onmouseenter-iframe-in-firefox Title: Re: Need Java html coder to stop mouse wheel scrolling on my site. Post by: divinemaniac on March 09, 2017, 05:15:56 AM To disable scrolling only when over the game window:
First, give an id to your iframe like so: Quote <iframe id="target-iframe" height="686" scrolling="no" src="http://empire.goodgamestudios.com?ic=5N-3X2FD&w=199947&refer_method=link" width="978"></iframe> Just add this javascript snippet somewhere after the iframe html Quote <script type="text/javascript"> var frame = document.getElementById('target-iframe'); frame.onmouseenter = function() { document.body.style.overflowY = "hidden"; document.body.scroll = "no"; } frame.onmouseleave = function() { document.body.style.overflowY = ""; document.body.scroll = "yes"; } </script> You can see this in working here: http://jsfiddle.net/t0nanx7x/1/ (http://jsfiddle.net/t0nanx7x/1/) Address: 12b3FXtyCkiEv4q9goZzPhUKHKNhzqFitf Title: Re: Need Java html coder to stop mouse wheel scrolling on my site. Post by: KingTylerVVS on March 10, 2017, 12:36:45 AM WORKS PERFECT. Here is your tip!
https://blockchain.info/tx/02b5246f90b6334a74a8f9a99b64181a5e7a48dcb95731fd32579877b6101076 (https://blockchain.info/tx/02b5246f90b6334a74a8f9a99b64181a5e7a48dcb95731fd32579877b6101076) To disable scrolling only when over the game window: First, give an id to your iframe like so: Quote <iframe id="target-iframe" height="686" scrolling="no" src="http://empire.goodgamestudios.com?ic=5N-3X2FD&w=199947&refer_method=link" width="978"></iframe> Just add this javascript snippet somewhere after the iframe html Quote <script type="text/javascript"> var frame = document.getElementById('target-iframe'); frame.onmouseenter = function() { document.body.style.overflowY = "hidden"; document.body.scroll = "no"; } frame.onmouseleave = function() { document.body.style.overflowY = ""; document.body.scroll = "yes"; } </script> You can see this in working here: http://jsfiddle.net/t0nanx7x/1/ (http://jsfiddle.net/t0nanx7x/1/) Address: 12b3FXtyCkiEv4q9goZzPhUKHKNhzqFitf Title: Re: Need Java html coder to stop mouse wheel scrolling on my site. Post by: Warkop on March 10, 2017, 04:12:54 AM may seem complicated and very difficult to be seen and understood because I'm not part of the script worker html for it, but I just listen to what you're talking about and apply what you are doing here so I can know that a little of it will see and understand from html that. ;D ;)
Title: Re: Need Java html coder to stop mouse wheel scrolling on my site. Post by: divinemaniac on March 10, 2017, 12:32:44 PM WORKS PERFECT. Here is your tip! https://blockchain.info/tx/02b5246f90b6334a74a8f9a99b64181a5e7a48dcb95731fd32579877b6101076 (https://blockchain.info/tx/02b5246f90b6334a74a8f9a99b64181a5e7a48dcb95731fd32579877b6101076) Payment received. Thank you man :D |