India seo web development website designer freelance

Positioning code blocks After writing code blocks in the Server Behavior Builder, you must specify where to insert them in the page’s HTML source code.

In the Insert Code pop-up menu, you can choose to insert the code block above the opening <html> tag, below the closing </html> tag, relative to another tag in the page, or relative to a tag selected by the page designer.

To position a code block above the <html> tag:
In the Insert Code pop-up menu, choose Above the <html> Tag.
Specify a location above the tag by choosing an option in the Relative Position pop-up menu.
You can insert the block at the beginning of the file, just before code blocks that open recordsets, just after code blocks that open recordsets, or just above the <html> tag. You can also specify a custom position.

If you want to specify a custom position, choose Custom Position from the Relative Position pop-up menu, then assign a weight to the code block.
assigns a weight of 50 to all recordset-opening code blocks inserted above the <html> tag. If the weight of two or more blocks match, randomly sets the order among the blocks.

Use the Custom Position option when you need to insert more than one code block in a particular order. For example, if you want to insert an ordered series of three code blocks after the code blocks that open recordsets, you could enter a weight of 60 for the first block, 65 for the second, and 70 for the third.

To position a code block below the closing </html> tag:
In the Insert Code pop-up menu, choose Below the </html> Tag.
Specify a location below the tag by choosing an option in the Relative Position pop-up menu.
You can insert the block just after the </html> tag, just before code blocks that close recordsets, just after code blocks that close recordsets, or just before the end of the file. You can also specify a custom position.

If you want to specify a custom position, choose Custom Position from the Relative Position pop-up menu, then assign a weight to the code block.
assigns a weight of 50 to all recordset-closing code blocks inserted below the </html> tag. If the weight of two or more blocks match, randomly sets the order among the blocks.

Use the Custom Position option when you need to insert more than one code block in a particular order. For example, if you want to insert an ordered series of three code blocks before the code blocks that close recordsets, you could enter a weight of 30 for the first block, 35 for the second, and 40 for the third.

To position a code block relative to another tag on the page:
In the Insert Code pop-up menu, choose Relative To a Specific Tag.
In the Tag text box, enter the tag or select one from the pop-up menu.
If you enter a tag, don’t include the angled brackets (< >).

Specify a location relative to the tag by choosing an option in the Relative Position pop-up menu.
You can insert your code block just before or just after the opening or closing tags. You can also replace the tag with the code, insert the code as the value of an attribute of the tag (a box appears to let you choose the attribute), or insert the code inside the opening tag.

To position a code block relative to a tag selected by the page designer:
In the Insert Code pop-up menu, choose Relative To the Selection.
Specify a location relative to the selection by choosing an option in the Relative Position pop-up menu.
You can insert your code block just before or just after the selection. You can also replace the selection with your code block, or you can wrap the code block around the selection.

If you want to wrap the code block around a selection, the selection must consist of an opening and closing tag with nothing in between, as shown below:

<CFIF Day=”Monday”></CFIF>

The opening tag piece of the code block is inserted before the selection’s opening tag and the closing tag piece of the code block is inserted after the selection’s closing tag.

1 2 3 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 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 422

India web developer website development India