Asked by
manval prasa
in
Computers & Accessories
at
8:38 AM on January 31, 2009
nksinghiitk's Answer
HREF JavaScript links are used to create dynamic web pages. HREF JavaScript links offer visitors the ability to interact with a web page. This allows users the ability to update some contents, navigate from page to page and open new windows. HREF JavaScript links are commonly used in websites that require high interactivity such as forums, games and chat rooms.
Step1
Open your web page editor. A web page editor is a program such as Dream Weaver, Front Page and NVU. Open the page you want to add JavaScript to.
Step2
Add an HREF JavaScript button to your web page. Click on "Insert," then "Button" and choose "JavaScript" from the choices provided. Insert the parameters for the button such as what it will link to, what application it will perform and what the button will look like.
Step3
Connect HREF JavaScript links to text that appears on your web page. Find the text you want to link the JavaScript to. In front of the text, type in ". After the text, type in . "Xxx" represents the function you want the JavaScript to perform. Be sure to replace the "xxx" with the actual function.
Step4
Insert multiple HREF JavaScript links in a page quickly. Include a header that will activates the HREF Javascripts. Type in
.
Step5
Save the web page when you finish adding the script.
Answered at
8:50 AM on January 31, 2009
Read answer