Cancelled

Very simple script

Hello,

I need a very simple script.

currently, I'm redirecting users after x seconds to another page, but what I want to do is, redirect users after y seconds and the timer will start only after user click a link on my page, currently the timer starts only after the user visit my page.

Here is the code I found doing google search -

---------

<head>

<script>

function js_wait()

{

setTimeout (js_go(), 3000); // 3000 ms = 3 secs

}

function js_go()

{

[url removed, login to view] = "[url removed, login to view]";

}

</script>

</head>

<body>

<a href="" onclick="js_wait(); return false;">My link</a>

</body>

- The body shows a link

- On click, it calls the javascript function "js_wait"

- js_wait starts a timer for x seconds, then calls js_go

- js_go redirects to the page.

----------

I was able to make it redirect onclick but it redirects immediately after clicking the link, but I want it to wait y seconds before redirecting.

This is very simple and I'm paying very low for this 30 seconds help.

Thanks

Skills: Javascript, PHP, Script Install, Software Architecture

See more: simple search javascript, php head script, javascript redirect seconds, script function, php link redirect script, simple timer script, php script search shows, script search return, redirect click script, php wait function, simple php google search, 3000 immediately, redirect php timer, javascript timer php, google search script, php script google search, need simple script, simple timer, google script function, redirect page clicking, simple script php, redirect script google, jinglewhale, script click redirect, simple search function

About the Employer:
( 60 reviews ) bangkok, Thailand

Project ID: #2583806

13 freelancers are bidding on average $37 for this job

Ajcm623

hi i can help u sir let's start

$30 USD in 1 day
(58 Reviews)
6.1
hvtuananh

Hi, I am able to help you now

$30 USD in 1 day
(132 Reviews)
6.1
xpertzdevelopers

lets start..:)

$30 USD in 0 days
(31 Reviews)
5.8
rajibdebslg

Hi, Give me 15 mins only, I can do it ASAP.

$30 USD in 0 days
(48 Reviews)
5.3
ViDeDe

Check PM, please

$30 USD in 0 days
(30 Reviews)
4.9
ChronicSoft

Ready to redirect you after a few seconds. Regards

$30 USD in 0 days
(20 Reviews)
3.8
milestoneweb

Hi, we have check all details with all points and now we are interested with this job so please provide one chance to us related this job please check your PMB for more details Thanks

$30 USD in 0 days
(2 Reviews)
3.4
MatKauton

I can do it.

$45 USD in 1 day
(6 Reviews)
3.1
imfsolution

HI Sir! Please read PM. thanks!

$30 USD in 0 days
(8 Reviews)
3.1
blackthorn

please check PMB 20$

$30 USD in 1 day
(0 Reviews)
0.0
nixialexandru

Hi, here is your code < a href="#" onClick="setTimeout(function() {window.location='http://www.yourpage.com';},timeBeforeRedirection);">click here fore delay redirection </>

$30 USD in 0 days
(1 Review)
0.0
pk85797

This is very simple to me ,i can help you ,let me help you!

$30 USD in 1 day
(0 Reviews)
0.0
Ramavtar2012

I am from Rise Matrix Technologies Pvt. Ltd. and we are proffestional Developer and Desinger so we can complete this project for more information please visit your pm

$100 USD in 1 day
(0 Reviews)
0.0