Title
Summary:
The control just puts the content you want in an html context specified by a number.
Click here for an image example
...More:
The control shows a box. You specify its width, its height and its style. According to the style integer, a different procedure takes place showing a different set to put the content in. You can also specify an ArrowAnchor in case there is an arrow link. This control is fully developped by you: You can specify as much styles you want by altering the vb script file and exporting a different dll. Currently, only one style is supported.
Properties & Specifications:
The control inherits from the Control class.
Width | String | "537" | The width of the table/box. |
ArrowAnchor | String | "#top" | If there is an arrow link, use this property for convenience. |
Usage:
You can either use the control through script by referring to TPControls.Title (according to the install instructions), or either through placing a control instance on an .aspx page like this:
<TP:Title runat="server" [Style=Integer] [Width="String"] [Height="String"] [ArrowAnchor="String"] > [Content to show as title] </TP:Title>
The brackets [ ] are used to show the optional. Italics are used to show the text you need to type according to your preferences.
e.g. <TP:Title runat="server"> What is this website and this "problem"?!?</TP:Title>
Comments:
This control has no other function than comfort. Instead of writing the same code over and over again for a title for example, you can make things easier with this control. You write the stable code in the control and assign it with a style number. Then you just put a line of code and the title in between the tags. You can make this control far better, so plz send me any improvements.
It's also a start for newbies in developping controls.