Closed

Swipe make an a fade effect we you change the page

Hello!

I need some code that made a fade effect when i change my page with my swipe.

the fade must to be added to my swipe code.

<script>

var touchStartTimeStamp = 0;

var touchEndTimeStamp = 0;

[login to view URL]('touchstart', handleTouchStart, false);

[login to view URL]('touchmove', handleTouchMove, false);

[login to view URL]('touchend', handleTouchEnd, false);

var xDown = null;

var yDown = null;

var xDiff = null;

var yDiff = null;

function getTouches(evt) {

return [login to view URL] || // browser API

[login to view URL]; // jQuery

}

function handleTouchStart(evt) {

const firstTouch = getTouches(evt)[0];

xDown = [login to view URL];

yDown = [login to view URL];

touchStartTimeStamp = [login to view URL];

}

function handleTouchMove(evt) {

if ( ! xDown || ! yDown ) {

return;

}

var xUp = [login to view URL][0].clientX;

var yUp = [login to view URL][0].clientY;

xDiff = xDown - xUp;

yDiff = yDown - yUp;

}

function handleTouchEnd(evt) {

touchEndTimeStamp = [login to view URL];

var timeDifference = touchEndTimeStamp - touchStartTimeStamp;

if(timeDifference > 75){

if ( [login to view URL]( xDiff ) > [login to view URL]( yDiff ) ) {/*most significant*/

if ( xDiff > 0 ) {

/* left swipe */

tabUnshow();

[login to view URL] ='[login to view URL]';

} else {

}

} else {

if ( yDiff > 0 ) {

/* up swipe */

[login to view URL]('up');

} else {

/* down swipe */

[login to view URL]('down');

}

}

/* reset values */

xDown = null;

yDown = null;

}

}

</script>

Skills: Javascript, jQuery / Prototype, PHP, AJAX, HTML

See more: asp net print change page layout, pull menu dynamic change page, dynamically change page content, php change page, boonex dolphin change page colors, wordpress change page format, javascript change page content, logo fade effect, flash header loading change page, image change page refresh, change page title, flash change page, commerce change page layout, ajax javascript change page, usercontrol fade effect, change page title cnet, aspx change page title, zen cart change page width, message rotator background fade effect, actionscript change page effect

About the Employer:
( 2 reviews ) Leghorn, Italy

Project ID: #21623656

16 freelancers are bidding on average €29 for this job

fattahaabdul

I can add a fade effect for you. I have 8+ years of experience in HTMl, CSS and javaScript. I assure you that i will give 100% quality work. Let us discuss and proceed further in chat. I am online. Please reply.

€30 EUR in 7 days
(179 Reviews)
8.2
suryabeniwal

Dear Hiring Manager, I can help you in the project. Please let me know when we can discuss in more details so that we could proceed further. Looking forward for your response. Thanks. Kind Regards, Surya

€20 EUR in 7 days
(45 Reviews)
6.7
michealperfect

Hi, I've got your requirements. I can design and build you an exceptional website just the way you need it. Be sure to get quality work and assistance you required. Anyways, I've vast experience with web development More

€100 EUR in 2 days
(191 Reviews)
6.9
devops724

Hi There I have 10 years experience in Python and web development. 8 years developing Django sites and services. I did lots of projects in scrapy and crawler. i offer/accept lower price to get more rank. technology tha More

€30 EUR in 7 days
(52 Reviews)
6.3
freelancerdanie9

Hi, I have just read your requirements carefully. As professional web developer has over 8 years of experience in development. I have rich experience with Laravel, CodeIgniter, Django, Wordpress and Angular.js,React.js More

€15 EUR in 7 days
(17 Reviews)
5.8
romansokolv708

Perfect job posting! How are you, dear? Here is web expert you are looking for. If you contact me, then I'm sure you can save your time. I can start right now and fulfill your aim perfectly in a short time. Waiting he More

€50 EUR in 1 day
(34 Reviews)
5.6
vladzolotukhin

Hi,client. Swipe and Fade action is good I can deliver successfully. I have been working for 8 years working in freelancer. In these times , I have a lot of experiences in Javascript , HTML5, PHP ,Node.js and Angular. More

€30 EUR in 1 day
(44 Reviews)
5.7
hassanmustafa01

Hi, I have read your project description and willing to do this for you in your required time spam with 100% Satisfaction. Kindly message me so we can discuss in detail over chat......

€20 EUR in 1 day
(55 Reviews)
5.4
seniorcoder024

Dear client. I have read your all descriptions carefully and I am sure that I can complete your project in time and at high quality. As a full-stack developer, I have recommended skills in Front-end and Back-end develo More

€20 EUR in 1 day
(18 Reviews)
4.6
aswebsmart

Hi, I have read through your job descriptions, and I understand all of the requirements. I am applying because I believe that I have the required skill set to complete your project. I have been working as a WordPress More

€18 EUR in 1 day
(34 Reviews)
4.8
lesteraguilar

Dear Client.. I can do Angular.js, React.js, Vue.js, PHP, Laravel, node.js, Python, Django, MySQL, MongoDB, PostgreSQL, Docker, Javascript, CSS, Bootstrap, HTML. Fingers crossed for your job..

€30 EUR in 1 day
(14 Reviews)
4.0
smileitsolu

"Sir we are company with rich experience into website, mobile apps development and seo too and as query asked by you we can give you round the clock project manager for regular updates and communication" we are in mark More

€20 EUR in 1 day
(42 Reviews)
5.1
nomankhan007

I have three years of experience in web development I have worked as senior php developer in software development company.i have made many wordpress and codiegniter website.I have develop many websites, online store, s More

€15 EUR in 7 days
(6 Reviews)
3.2
dizitalogic

Greetings! We have gone through project description and we know what you are looking for. We have done similar work in the past, so it won’t take much of your time. Do not pay us until you get full satisfaction. W More

€15 EUR in 1 day
(5 Reviews)
2.6
rajatkumcom

Hi Sir, I am having 7+ years of HTML/CSS/Wordpress/Drupal/ JavaScript development experience and have done more than 200 projects in these technologies. Thanks, Rajat

€30 EUR in 3 days
(2 Reviews)
1.9
agulraze

Dear Employer Thanks for submitting project. Very Short Introduction We are Professional Private Limited Company having international joint ventures and managing offshore companies in UK,USA,C More

€15 EUR in 2 days
(0 Reviews)
0.0