Zoom
Trash
Related: Javascript
JavaScript Kit- Your comprehensive JavaScript, DHTML, CSS, and Ajax stop Solitaire Solitaire and card scripts These scripts produce a game of solitaire (Klondike). The game is fully configurable with several features making it playable on a large range of browsers and devices. The CardGameCore script can be used as a base for many more games. To download the script(s), see the script license, and check details like browser compatibility, use the links on the navigation panel at the top of this page. Demonstration If your browser is capable of running this script, a game of solitaire should appear here. Playing the game The game follows the basic rules of Klondike solitaire. Features Runs on all major browsers, and some minor ones as well. Browser support This script is fairly heavily based on DOM, and should work in all browsers with a reasonable level of DOM support. Opera 7+. Known issues Some browsers may have some little problems: Opera 7.x (fixed in Opera 8+) cannot use the solitaire options. NetFront 3.2- throws an error. Creating a game Creating a basic game Cheats What?
Meze Audiophile wood Headphones & Earphones- perfect natural sound Emulating CSS Timing Functions with JavaScript By Ana Tudor On animation, JavaScript CSS animations and transitions are great! However, while recently toying with an idea, I got really frustrated with the fact that gradients are only animatable in Edge (and IE 10+). Yes, we can do all sorts of tricks with background-position, background-size, background-blend-mode or even opacity and transform on a pseudo-element/ child, but sometimes these are just not enough. Using a lot of examples, this article is going to explain how to smoothly go from one state to another in a similar fashion to that of common CSS timing functions using just a little bit of JavaScript, without having to rely on a library, so without including a lot of complicated and unnecessary code that may become a big burden in the future. This is not how the CSS timing functions work. #A few examples using a linear timing function Let's start with a left to right linear-gradient() with a sharp transition where we want to animate the first stop. #Emulating ease-in/ ease-out
About RocketDock - RocketDock.com tocca Super lightweight script ( ~1kB ) to detect via Javascript events like 'tap' 'longtap' 'dbltap' 'swipeup' 'swipedown' 'swipeleft' 'swiperight' on any kind of device. Demo Donations If this project helped getting your job done consider making a donation for all the time I spend to bring it to you Installation Npm Bower $ bower install Tocca.js -save Usage Include the script into your page: Once you have included Tocca.js you will be able to catch all the new events: elm; It works with jQuery as well: Tocca.js supports also the inline events! API and Examples Anytime you will use a Tocca.js event the callback function will receive a special event object containing the following properties Examples: Anyway you can combine Tocca.js with the default javascript touch events: touchmovetouchstarttouchendtouchcancel To disable the default touch behaviours (zoom on double tap, scroll on swipe...) on a certain element via javascript you can always use the following snippet: Configuration var SWIPE_THRESHOLD = 100
PoemHunter.Com - Thousands of poems and poets. Poetry Search Engine furf/jquery-ui-touch-punch: A duck punch for adding touch events to jQuery UI What’s in a Color? The Unique Human Health Effects of Blue Light