hPage.com Forum
Remember Me?
  #1 (permalink)  
Old 03-15-2009, 10:40 AM
Member
 
Join Date: Dec 2008
Location: Germany, in the near of hamburg
Posts: 34
Thanks: 1
Thanked 16 Times in 9 Posts
Default Automatic forwarding

I've created a new Javascript.

The visitor be forwarded after x secondes.

You must only write the time, and the ambition.

This is the Script:

Code:
<script type="text/javascript">
var w = "5" //How long must the visitor wait?
var z = "http://www.hpage.com" //To which website?

var we = w*1000
setTimeout("go()", we)
function go()
{
  window.location.href = z;
}
</script>
Have a lot of fun with it.
If you have an Idea, write it down.
__________________
www.potterfans.hpage.com

I hope, you can understand me
Reply With Quote
  #2 (permalink)  
Old 03-17-2009, 05:07 AM
Junior Member
 
Join Date: Feb 2009
Location: Mumbai, India
Posts: 3
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via Yahoo to bimastudy
Lightbulb Automatic forwarding solution to my website ?

Please give me a script of automatic forwarding if i want that my visitors should be transferred to http://bimastudy.hpage.com after 5 seconds.

Then what will be the Script ?

Please reply with the solution of my query at refer_online@in.com.

Thanks,
Santosh.

Last edited by bimastudy; 03-17-2009 at 05:10 AM.
Reply With Quote
  #3 (permalink)  
Old 03-17-2009, 11:51 AM
Member
 
Join Date: Dec 2008
Location: Germany, in the near of hamburg
Posts: 34
Thanks: 1
Thanked 16 Times in 9 Posts
Default

Sorry, but I write it here, because, the other users can see the example:

Code:
<script type="text/javascript">
var w = "5" //How long must the visitor wait?
var z = "http://bimastudy.hpage.com" //To which website?

var we = w*1000
setTimeout("go()", we)
function go()
{
  window.location.href = z;
}
</script>
__________________
www.potterfans.hpage.com

I hope, you can understand me
Reply With Quote
  #4 (permalink)  
Old 03-17-2009, 12:07 PM
Junior Member
 
Join Date: Mar 2009
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default hi

i dont understand how can this code be usefull.........can u explain
__________________

http://cricinfo.hpage.com/
Reply With Quote
  #5 (permalink)  
Old 03-17-2009, 01:35 PM
Member
 
Join Date: Dec 2008
Location: Germany, in the near of hamburg
Posts: 34
Thanks: 1
Thanked 16 Times in 9 Posts
Default

Look: If you want to make a circuit on your website, so must the visitor not push on a button (link) , because the script is forwarding him.
__________________
www.potterfans.hpage.com

I hope, you can understand me
Reply With Quote
  #6 (permalink)  
Old 03-23-2009, 01:56 PM
Junior Member
 
Join Date: Jan 2009
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
Default

good script...
funny....
Reply With Quote
  #7 (permalink)  
Old 03-25-2009, 09:07 AM
musawiz's Avatar
Member
 
Join Date: Jan 2009
Location: Tuzla (Bosnia and Hercegovin)
Posts: 52
Thanks: 0
Thanked 4 Times in 3 Posts
Default

A useful Script, but you can also use a meta-tag
Reply With Quote
  #8 (permalink)  
Old 03-25-2009, 01:01 PM
Junior Member
 
Join Date: Jan 2009
Posts: 18
Thanks: 0
Thanked 1 Time in 1 Post
Default

well, but you must work with javascript if you want to write a variable script.
if you works with a meta-tag, you only in this one page diverted.
else you !can! deternine where you want...
-->
<script type="text/javascript">
var w = "5" //How long must the visitor wait?
var z = prompt("To wich website do you want?" , "") //To which website?

var we = w*1000
setTimeout("go()", we)
function go()
{
window.location.href = z;
}
</script>

Last edited by dungeon; 03-25-2009 at 01:04 PM.
Reply With Quote
  #9 (permalink)  
Old 01-09-2010, 11:57 AM
Member
 
Join Date: Nov 2009
Posts: 30
Thanks: 5
Thanked 11 Times in 6 Posts
Post Cool

That's cool POTTERFANS!


I tried it out...
IT IS WORKING VERY PERFECTLY!!!!!!!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 09:56 PM.
Archive - Top