India seo web development website designer freelance

Creating null and script links The most familiar kinds of links are those to documents and named anchors (described in Linking files and documents and Linking to a specific place in a document, respectively), but there are other types of links as well.

A null link is an undesignated link. Use null links to attach behaviors to objects or text on a page. Once you have created a null link, you can attach a behavior to it to swap an image or to display a layer when the pointer is moved over the link. For information about attaching behaviors to objects, see Applying a behavior.

Script links execute JavaScript code or call a JavaScript function and are useful for giving visitors additional information about an item without leaving the current web page. Script links can also be used to perform calculations, form validations, and other processing tasks when a visitor clicks a specific item.

To create a null link:
Select text, an image, or an object in the Document window’s Design view.
In the Property inspector, type javascript:; (the word javascript, followed by a colon, followed by a semicolon) in the Link text box.
To create a script link:
Select text, an image, or an object in the Document window’s Design view.
In the Link text box of the Property inspector, type javascript: followed by some JavaScript code or a function call.
For example, typing javascript:alert('This link leads to the index') in the Link text box produces a link that, when clicked, displays a JavaScript alert box with the message This link leads to the index.

Note: Because the JavaScript code appears in the HTML between double quotation marks (as the value of the href attribute), you must use single quotation marks in the script code or “escape” any double quotation marks by preceding them with a backslash (for example, \"This link leads to the index\").

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100

India web developer website development India