India seo web development website designer freelance

Behaviors

Behaviors let users make their HTML pages interactive. They offer web designers an easy way to assign actions to page elements by filling in an HTML form.

You should write behavior actions when you want to share functions with users or when you want to insert the same JavaScript function repeatedly but change the parameters each time.

Note: You cannot use behaviors to insert VBScript functions directly; however, you can add a VBScript function indirectly by editing the DOM in the applyBehavior() function.

The term behavior refers to the combination of an event (such as onClick , onLoad , or onSubmit ) and an action (such as Check Plugin, Go to URL, Swap Image). The browser determines which HTML elements accept which events. Files that list events that each browser supports are stored in the Configuration/Behaviors/Events folder within the application folder.

Actions are the part of a behavior that you can control; so when you write a behavior, you're really writing an Action file. Actions are HTML files. The BODY of an Action file generally contains an HTML form that accepts parameters for the action (for example, parameters that indicate which layers are to be shown or hidden). The HEAD of an Action file contains JavaScript functions that process form input from the BODY and control the functions, arguments, and event handlers that are inserted into a user's document.

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 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117

India web developer website development India