Difference between revisions of "Courses/Schijt aan je Site"
From Publication Station
Arjensuijker (talk | contribs) |
Arjensuijker (talk | contribs) |
||
Line 1: | Line 1: | ||
''' | '''Example jQuery''' | ||
<nowiki> | <nowiki> | ||
Line 20: | Line 20: | ||
''' | '''Common Annoyances''' | ||
* Media autoplaying in the background | * Media autoplaying in the background |
Revision as of 08:25, 12 March 2015
Example jQuery
<html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <script> $(function(){ $("#knop").click(function(){ $(this).hide(); }); }); </script> </head> <body> <input type="button" id="knop" value="klik mij!"/> </body> </html>
Common Annoyances
- Media autoplaying in the background
- Pop-ups
- Annoying hover animations
- Non-pausing sliding pictures
- Pop-up with a question when opening website
- Disable Right Click
- Stop Browser Resize
- Auto Refresh Page
- Make Sure Users Meant To Close The Window
- Resize Window To Certain Resolution
- Disable The Ctrl Key
- Make All Links Open In New Window
- Disable Scrolling
http://kilianvalkhof.com/2011/javascript/annoying-js-how-to-be-an-asshole/
http://www.paulund.co.uk/a-list-of-annoying-jquery-functions