Click here for an image example
Property | Assignment Type | Default Value | Comments |
Width | String | "95%" | The width of the box (can also be for example "50%") |
Title | String | "Undefined Title" | The news title |
byStr | String | "by -Unknown- (Unknown date)" | The one who created the news and the date. |
UseRandomBottomBorder | Boolean | True | If the bottom border of the box should be different for each news box (random width) |
fOpened | Boolean | False | Specifies if the content is opened or not in the first place. |
aOpened | Boolean | If the content is opened or not. (Should be used only for reading or changing the hidden status. Should not be used for example in the tag) |
CSS Style Class | Description |
defaulttext | The default text of the news. |
News-News | The style of the top-left cell which writes "News". |
News-By | The style of the cell which writes the one who wrote the piece of news. |
News-Main | The style of the main cell. |
News-HideShow | The style of the cell with the Show/Hide link. |
<TP:News runat="server" [Width="Width of box String"] [Title="String"] [byStr=String]
[UseRandomBottomBorder=Boolean] [fOpened=Boolean] > [News Details Content] </TP:News>
The brackets [ ] are used to show the optional. Italics are used to show the text you need to type according to your preferences.