Domain Discussion Board

Go Back   Domain Discussion Board > General > Tutorials

 
Reply
 
LinkBack Thread Tools Display Modes
1st tutorial here (Redirection)
Old
  (#1 (permalink))
mtorregiani
mtorregiani is on a distinguished road
 
mtorregiani's Avatar
 
Status: Offline
Posts: 1,793
Points: 3.8
Bank: 3,620.0
Total Points: 3,623.8
Donate
Join Date: Apr 2006
Location: Montevideo, Uruguay
Rep Power: 4
1st tutorial here (Redirection) - 08-20-2006, 01:19 PM

First tutorial in this section

JavaScript redirection can be done in 3 ways:

1) Alert Redirect:

Quote:
<html>
<script>
alert("This page has been moved to a new location. Click OK to be redirected.");
location = "http://www.yoursite.com";
</script>
</html>


2) Confirm and Redirect:

Quote:
<html>
<script>
if(confirm("This page has been moved to a new location. Would you like to be redirected"))
{
location = "http://www.yoursite.com";
}
else
{
history.back();
}
</script>
</html>
3) Stealth Redirect:


Quote:
<html>
<script>
location = "http://www.yoursite.com";
</script>
</html>
I hope you enjoy this
   

Reply With Quote
Re: 1st tutorial here (Redirection)
Old
  (#2 (permalink))
glors
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: 1st tutorial here (Redirection) - 08-20-2006, 01:51 PM

ooh thanks for sharing man
   
Reply With Quote
Sponsored Links
Re: 1st tutorial here (Redirection)
Old
  (#3 (permalink))
holypanl
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: 1st tutorial here (Redirection) - 08-22-2006, 11:26 AM

Could you give a link to a good Js tutorial?
   
Reply With Quote
Re: 1st tutorial here (Redirection)
Old
  (#4 (permalink))
mtorregiani
mtorregiani is on a distinguished road
 
mtorregiani's Avatar
 
Status: Offline
Posts: 1,793
Points: 3.8
Bank: 3,620.0
Total Points: 3,623.8
Donate
Join Date: Apr 2006
Location: Montevideo, Uruguay
Rep Power: 4
Re: 1st tutorial here (Redirection) - 08-28-2006, 11:02 AM

I just know www.javascript.internet.com
   

Reply With Quote
Re: 1st tutorial here (Redirection)
Old
  (#5 (permalink))
kiwiisgood
Banned
kiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these partskiwiisgood is infamous around these parts
 
Status: Offline
Posts: 0
Points: 0.0
Bank: 0.0
Total Points: 0
Donate
Join Date: Mar 2007
Rep Power: 0
Re: 1st tutorial here (Redirection) - 04-03-2007, 10:27 PM

Thanks man for this tutorial. I apreciate sharing.
   
Reply With Quote
Re: 1st tutorial here (Redirection)
Old
  (#6 (permalink))
nioton
nioton will become famous soon enough
 
nioton's Avatar
 
Status: Offline
Posts: 2,186
Points: 133.0
Bank: 4,531.6
Total Points: 4,664.7
Donate
Join Date: Oct 2006
Location: P.H.P.T.O.N
Rep Power: 5
Re: 1st tutorial here (Redirection) - 04-04-2007, 05:56 AM

well, there is another best tutorial here : http://www.w3schools.com/js/default.asp


CODE IS POETRY
» Free Link Directory () : Submit your links now
» PHPTON : Open Source CMS
! Welcome to DDBoard !

Free Scripts
Programming Team » Join

.ooo0 ........
....[.....].....0ooo.
.....\...[......[.....]
......\_].......].../
................[_/



..... DDBoard Moderator .....
Read Rules | Warning Points | Prices Of Domains In DDpoints | Earning DDpoints | Private Messages To Staff
Protect Yourself From Scammers
   
Reply With Quote
Re: 1st tutorial here (Redirection)
Old
  (#7 (permalink))
montsa007
Banned
montsa007 is infamous around these partsmontsa007 is infamous around these partsmontsa007 is infamous around these partsmontsa007 is infamous around these partsmontsa007 is infamous around these partsmontsa007 is infamous around these partsmontsa007 is infamous around these partsmontsa007 is infamous around these parts
 
Status: Offline
Posts: 0
Points: 0.0
Bank: 0.0
Total Points: 0
Donate
Join Date: Mar 2007
Rep Power: 0
Re: 1st tutorial here (Redirection) - 04-05-2007, 02:33 AM

w3schools is the best place to get along btw the tutorial given here is good too
   
Reply With Quote
Re: 1st tutorial here (Redirection)
Old
  (#8 (permalink))
tphilakone
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: 1st tutorial here (Redirection) - 04-05-2007, 03:28 AM

wow that's really useful thank a lot i'll try that
   
Reply With Quote
Re: 1st tutorial here (Redirection)
Old
  (#9 (permalink))
hydroburn
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: 1st tutorial here (Redirection) - 04-05-2007, 04:07 AM

Thanks alot. But could u like add a way to make a timer for the redirection? Like say 5 seconds?
   
Reply With Quote
Re: 1st tutorial here (Redirection)
Old
  (#10 (permalink))
me801
 
Status:
Posts: n/a
Points: 0
Bank: 0
Total Points: 0
Donate
Re: 1st tutorial here (Redirection) - 04-05-2007, 08:41 AM

Thanks for the tutorial. Personally I prefer to use php redirection for a stealth redirect, as it works even if the user has disabled javascript.
   
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

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

Points Per Thread View: 1.0
Points Per Thread: 15.0
Points Per Reply: 5.0


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial Management Script Momo Scripts 5 11-10-2006 06:56 AM
Fireworks Userbar Tutorial IamShipon1988 Member Advertising 10 11-02-2006 03:30 PM
The best redirection service on the web mtorregiani Domain Name Discussion 22 06-30-2006 11:50 AM


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 ©2007, Crawlability, Inc.