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 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 92 All time: 9,093 This week: 426Up
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 is available for providing paid consulting. Contact Dave Smith .
Classes: 40 packages by
Country: United States United States
Age: 53
All time rank: 10511 in United States United States
Week rank: 6 Up1 in United States United States Up
Innovation award
Innovation award
Nominee: 27x

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:92
This week:0
All time:9,093
This week:426Up