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()
{
[login to view URL] = "[login to view URL]";
}
</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
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
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