設萬維讀者為首頁 廣告服務 技術服務 聯繫我們 關於萬維
簡體 繁體 手機版
分類廣告
版主:彎刀
萬維讀者網 > 競技沙龍 > 跟帖
Test
送交者: ztyixia 2008月06月24日07:29:43 於 [競技沙龍] 發送悄悄話
回  答: testztyixia 於 2008-06-24 07:27:02
What is UBB Code?

UBB Code ,which is used by used by Ultimate Bulletin Board--a BBS program,is a variation on
the HTML tags you may already be familiar with. Basically,it allows you to add functionali-
ty or style to your message that would normally require HTML. You can use UBB Code even if
HTML is not enabled for the forum you are using. You may want to use UBB Code as opposed to
HTML, even if HTML is enabled for your forum, because there is less coding required.

UBB Syntax Description(UBB Code is in red):

* URL Hyperlinking

To add a hyperlink to your message, just encase the link as shown in the following example
(UBB Code is in red).

www.Flashgsm.com
In the example above, the UBB Code automatically generates a hyperlink to the URL that is
encased. It will also ensure that the link is opened in a new window when the user clicks
on it. Note that the "http://" part of the URL is completely optional.

Another example:

Flashgsm

* Bold and Italics

You can make italicize text or make text bold by encasing the applicable sections of your
text with the or tags.

Hello, Karlson
Hello, Superman
* Underlined

Flashgsm English Version 4.0

* Word Align

You can align any words by encasing the applicable sections of your text with the
[ALIGN=center] [/ALIGN], [ALIGN=left][/ALIGN],[ALIGN=right] [/ALIGN] or [ALIGN=justify][/ALIGN] tags.(UBB Code is in red)

[ALIGN=center]
Your any words.
[/ALIGN]

* Email Links


To add a hyperlinked email address within your message, just encase the email address as
shown in the following example (UBB Code is in red).

webmaster@Flashgsm.com
In the example above, the UBB Code automatically generates a hyperlink to the email address
that is encased.

Another example:

Flashgsm

* Adding Images

To add a graphic within your message, just encase the URL of the graphic image as shown in
the following example (UBB Code is in red).


In the example above, the UBB Code automatically makes the graphic visible in your message.
Note: the "http://" part of the URL is REQUIRED for the forums may disable the [img] tag support to prevent objectionable images from being viewed.

The following example is to make your image to be previewed in a new window.

[IMGA]http://www.Flashgsm.com/images/flag.gif[/IMGA]

If you want to align your images and specify their border.The following example can help you.
Here are the align codes: absmiddle left right top middle bottom absbottom baseline texttop

[IMG=2,center]http://www.Flashgsm.com/images/flag.gif />
[IMGA=2,center]http://www.Flashgsm.com/images/flag.gif[/IMGA]


* The way to insert a MicroMedia Flash file.




[Flash=width value,height value]http://www.Flashgsm.com/flag.swf[/Flash]

* Code Tag

Like the Quote tag, the Code tag displays a blockquoted portion of text. However, the Code
tag will neutralize any HTML in the text, and display the text with white space preserved.
This is useful for displaying programming code, for instance.

[CODE]
#!/usr/bin/perl

use CGI;
my $q = new CGI;
print $q->header(-type => "text/html");
print "Hello, world!";
exit;

[/CODE]

* Quoting Other Messages (with a form)

To reference something something specific that someone has posted, just cut and paste the
applicable verbage and enclose it as shown below (UBB Code is in red).

[QUOTE]This is what you quote.[/QUOTE]
In the example above, the UBB Code automatically blockquotes the text you reference.

* The way to make a menu like one by HTML code.

[UL]Words[/UL] - It is equivalent to <UL> in html.Shrink the typesetting
[OL]Words[/OL] - It is equivalent to <OL> in html. List the lines.
[*]Words[/*] - It is equivalent to <li> in html. It is used with the codes above.

* To make words fly horizontally.It is equivalent to <marquee> in html.

[FLY]Words[/FLY]

* To insert a horizontal line.




* To make words glow. The parameters are width,color,border width in order.

[GLOW=255,RED,2]Words[/GLOW]

* To have a shadow effect on the words.The parameters are width,color,border width in order.

[SHADOW=255,RED,2]Words[/SHADOW]

* To make words change colors frequently.

[COLOR=color]Words[/COLOR]

* To make words change size.

[SIZE=value]Words[/SIZE]

* To make words shift fonts.

[FACE=Font]Words[/FACE]

* To insert Strikethrough

[STRIKE]Words[/STRIKE]

* To insert rm files with RealPlayer format.The parameters are width,length in order.

[RM=width value,height value]http://....[/RM]

* To insert a Midia Player file.The parameters are width,length in order.

[MP=width value,height value]http://....[/MP]

* Superscript word

Words.Effect: Flashgsm2

* Subscript word

Words.Effect: Flashgsm2

* To specify word color and back color.

[BGCOLOR=face color,word color]Words[/BGCOLOR]

* To insert background music.

[SOUND]the address of the music[/SOUND]

* To insert a column frame.

[FIELDSET=Title]Your content.[/FIELDSET]

* To have a flashing-word-by-word effect.

[LIGHT]Flashing words[/LIGHT]

* To inseert a nested table. NULLTR and NULLTD can be used repeatedly.It's mainly uset to typesetting.

[NULLTABLE][NULLTR][NULLTD]Your content.[/NULLTD][/NULLTR][/NULLTABLE]

[NULLTABLE=background picture][NULLTR][NULLTD]Your content.[/NULLTD][/NULLTR][/NULLTABLE]

* To insert a table.

[TABLE][TR][TD]Your content.[/TD][/TR][/TABLE]

To insert a complex table.The 8 parameters must be used.


[TABLE=border color,cell space,edge space,table width,align,back color,border width,back image][TR][TD]Topic Title[/TD][/TR][/TABLE]

* Arranged Style.It is equivalent to <PRE> tag in HTML.

[PRE]Words[/PRE]

Of Note
You must not use both HTML and UBB Code to do the same function. Also note that the UBB Code is not case-sensitive (thus, you could use Incorrect UBB Code Usage:

[url] www.Flashgsm.com


[url] www.Flashgsm.com target=_blank> or [url]).
Incorrect UBB Code Usage:

[url] www.Flashgsm.com


[url] www.Flashgsm.com
---don't put spaces between the bracketed code and the text
you are aplying the code to.

support@Flashgsm.com[email] - the end brackets must include a forward slash ()

This is animportantmessage - the ubb tags can't be enclosing. They cannot be
combined.
0%(0)
0%(0)
  test - ztyixia 06/24/08 (121)
標  題 (必選項):
內  容 (選填項):
實用資訊
回國機票$360起 | 商務艙省$200 | 全球最佳航空公司出爐:海航獲五星
海外華人福利!在線看陳建斌《三叉戟》熱血歸回 豪情築夢 高清免費看 無地區限制