PHP Classes
elePHPant
Icontem

PHP Touch Swipe Emulator: Track swipe events when user moves the mouse

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2016-11-01 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 94 All time: 9,311 This week: 328Up
Version License PHP version Categories
swiper 0.1Public Domain5HTML, PHP 5
Description Author

This class can be used to track swipe events when user uses the mouse.

It generate HTML attributes for a given HTML element that will track mouse over and mouse out events and redirect to a specific URL.

The URL is of the current page but takes parameters that determine the direction of the swipe events (left, right, up, down), as well the identifier of the page element on which the swipe events happened.

Innovation Award
PHP Programming Innovation award nominee
December 2016
Number 6
Swipe movements are usually performed by users of touch devices. However, if a site is accessed from a computer device without a touch screen, it is not be possible to detect swipe movements performed with the mouse directly.

This class provides means to emulate the detection of swipe movements performed with the mouse. It generates JavaScript to perform the movement detection and then sends HTTP requests to the server side to notify about the detected movements.

Manuel Lemos
  Performance   Level  
Name: Dave Smith <contact>
Classes: 47 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 29x

Winner: 6x

 

  Files folder image Files  
File Role Description
Accessible without login Plain text file example.php Example Usage Example
Plain text file swiper.class.php Class Main Class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:94
This week:0
All time:9,311
This week:328Up