answersLogoWhite

0

Hyperlink through the javascript

Updated: 10/24/2022
User Avatar

Wiki User

14y ago

Best Answer

One simple way to involk a URL from within Javascript is to use the location object. For example: 1. Load a new page. <script type="text/javascript"> location.href="http://newpage.htm"; </script> 2. Add a page link to the Open Document. <script type="text/javascript"> documnet.write(location.href="http://newpage.htm"); </script>

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Hyperlink through the javascript
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you add video in webpage using hyperlink?

You can't add a video in a webpage using hyperlink but through embedding instead.


How do you add an icon and hyperlink to a document?

On Insert tab,first highlight text you want to put hyperlink,or just press hyperlink and icon can be added through insert-picture or insert-object


How do you create hyperlink through java script?

i m asking you


What are the three colors for a hyperlink?

You can select three colors for a hyperlink depending upon its statusHyperlink: a hyperlink that has not been visitedActive Hyperlink: a hyperlink that is currently selectedVisited Hyperlink: a hyperlink that has already been visited


How do you put images on a webpage that change from one to the next?

CSS would not do this for you, you need javascript or php or something other web language. You could get CSS to change images on a click to a hyperlink though.


What is a visited hyperlink?

a visited hyperlink is when a hyperlink is clicked on it goes red usually


The mouse pointer appears as what when you point to a hyperlink?

In normal internet browsing and scrolling through a page, the mouse pointer appears as an arrow. However, when you point to a hyperlink, the mouse pointer appears as a hand.


Which is one use for a hyperlink?

Which is one use for a hyperlink


How do you access a hyperlink on website using VBA?

Thisworkbook.FollowHyperlink "Hyperlink"


Field that can store text that can be used as a hyperlink address?

hyperlink


How do you convert a hyperlink email address to regular text?

right click on the hyperlink and click remove hyperlink from the shortcuts menu.


How do you get a window to pop up only after a video finishes using JavaScript or VBscript?

If you are playing the video in Flash you can call a javascript function at the end of the video streaming through getURL. So internally the javascript function will open the pop up window.