top left
The HTML Source Logo


 html
Top Right
    
 Getting StartedHow Do I...TroubleShootingPromotionContact Us
 html
HTML
SEARCH THE SITE
advanced search



CATEGORIES
Home
Getting Started
HTML Cheat Sheet
Webmaster Tools
HTML Help Forum
Color Codes
Link to us









































bottom
HTML HTML HTML HTML

Call Me


Home/JavaScript Archive/Menus/Call Me

Call Me

Credits: TheHTMLSource.com

Description: This script allows you to dial in a number and you will be transfered to the coresponding page.

Demo:

Click Here To see Demo


Directions

Step 1: Insert the following code into the <head> section of your page:


Step 2: Copy the following into the <body> section of your page where you would like the Call Me key pad to apear:


Configuring the menu

Configuring the menu is pretty simple, first change the site address's from Step 1 to your own, you can also change the numbers to be dialed. So for example if you wanted 99991111 to go to your home page, this is what it would look like:

                              if (phone_num=="99991111")
                              location="http://www.yourhomepage.com.com";

See what I did, I just changed the phone_num, to "99991111", and the location of the link to "www.yourhomepage.com".

You can add as many numbers as you wish

After you edit the numbers and address from Step 1, you have to edit the Names of the links from the bottom of Step 2 so that your users will know the number to dial to get a web page. Or this could even use this to go to a secret area of your site. Only give people you want the numbers. The main idea is to be creative!

Enjoy!
























Company   |   Careers   |   Partners   |   Advertising   |   Help
Privacy Policy   |   Trademark Notices   |   User Agreement
© 2001 TheHTMlSource.com, INC. All Rights Reserved.



Site hosted by Angelfire.com: Build your free website today!