Connect with Facebook Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Tutorials > Javascript

Javascript Javascript Tutorials and Code

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-02-2006, 12:36 PM
TcM's Avatar   
TcM TcM is online now
Code Warrior
 
Join Date: Aug 2006
Posts: 9,841
Blog Entries: 6
Rep Power: 82
TcM is a name known to allTcM is a name known to allTcM is a name known to allTcM is a name known to allTcM is a name known to allTcM is a name known to all
Default JavaScript:Tutorial, Redirect URL

Introduction:-
Welcome to another JavaScript tutorial of mine..This will code will Redirect the user to a specified website

Solution:-
This code goes in the <head> tags:-

Code:
<SCRIPT language="JavaScript"> 
 function redirUrl()
  {
    top.location="http://forum.codecall.net";
   }
 
   if (top.frames.length==0)
    {
     alert("You will be redirected to forum.codecall.net in 3 seconds!");
     setTimeout('redirUrl()',3000);
     }
</SCRIPT>
Explanation:-
I think it's self explanatory no need of explanations! Its too simple

A Preview:-


Conclusion:-
As Always Feedback is welcome and the full source is attached!!
Attached Files To view attachments in this forum your post count must be 1 or greater. You currently have 0 posts.

Last edited by TcM; 12-03-2006 at 06:57 AM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 12-02-2006, 10:10 PM
xXHalfSliceXx's Avatar   
Co-Administrator
 
Join Date: Oct 2006
Age: 25
Posts: 1,626
Blog Entries: 3
Rep Power: 20
xXHalfSliceXx is an unknown quantity at this point
Send a message via AIM to xXHalfSliceXx Send a message via MSN to xXHalfSliceXx Send a message via Yahoo to xXHalfSliceXx
Default

0_o Not quite custom. I made that script to an intro class in Tech School. I can look that up in my java book here at home...

Good redirector, but you can find that anywhere.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 12-03-2006, 04:42 AM
TcM's Avatar   
TcM TcM is online now
Code Warrior
 
Join Date: Aug 2006
Posts: 9,841
Blog Entries: 6
Rep Power: 82
TcM is a name known to allTcM is a name known to allTcM is a name known to allTcM is a name known to allTcM is a name known to allTcM is a name known to all
Default

Well Its simple and can be done by anyone and found anywhere but still.. its a tutorial
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
JavaScript:Tutorial, Display MsgBox TcM Javascript 12 06-11-2009 06:49 AM
JavaScript:Tutorial, MouseOver Image Change TcM Javascript 4 06-06-2009 08:49 AM
Search Engine Redirect TcM Search Engine Optimization 3 08-25-2007 01:23 PM
JavaScript:Tutorial, Confirmation Box TcM Javascript 4 02-14-2007 08:25 AM
JavaScript:Tutorial, Prompt TcM Javascript 2 01-21-2007 03:58 AM


All times are GMT -5. The time now is 03:39 PM.

Freelance Jobs

XML/XSL: Need code for Book with Chapers using XML
Create an XML file for a book of your creation, and a basic CSS file that will format it to display ...
Earn: $40.00


C++/C: Simple firework cue sequencer
What I require is a rework of a simple cue sequencer. I have a piece of hardware (an Arduino boar...
Earn: $50.00


HTML/XHTML: Menu Rework - ASCIIBin
I'm placing this in the HTML/XHTML section of the Freelance site but you are not limited to HTML. Wh...
Earn: $20.00



CodeCall Goal

Goal #1: 1,000 Blogs
Goal #2: 1,000 Wiki Pages
Goal #3: 300,000 Posts
Goal #4: 20,000 Threads
Done: 30%, 23%, 56%, 75%

Ads