تبلیغات در اینترنت

تبلیغات در اینترنتگیفت کارت گوگل پلی
نمایش نتایج: از 1 به 3 از 3

موضوع: اضافه کردن جدول

  1. Top | #1
    کاربر سایت

    تاریخ عضویت
    Nov 2010
    ورژن ویبولتین
    4.2.1
    نوشته ها
    327
    مورد پسند
    200 بار
    اطلاعات
    میزان امتیاز
    43

    پیش فرض اضافه کردن جدول

    سلام به همه ی دوستان

    می خواستم بدونم آیا میشه جدول یعنی همون جدولی رو که توی ورد هست رو هم به VB 4.0.1 اضافه کرد؟

    ممنون میشم کمکم کنید




  2. گیفت کارت آیتونز

  3. Top | #2
    مدیریت کل سایت

    تاریخ عضویت
    Aug 2009
    ورژن ویبولتین
    4.2.2
    نوشته ها
    21,668
    مورد پسند
    54,768 بار
    نوشته های وبلاگ
    14
    اطلاعات
    میزان امتیاز
    3114

    پیش فرض

    Mod URL: http://www.vbulletin.org/forum/showthread.php?t=250812

    [tbl],[tr],[td],[th]

    Demo URL: http://www.juot.net/forums/showthrea...497#post872497

    This is a comprehensive set of codes for making HTML tables. If you're not familiar with HTML tables this code is probably not for you, if you are this should come in very handy.

    One of the main limitations of bulletin board software is the inability to put tables into posts. The existing [table] BB Code Mod helps but it is not easy to use and the interface isn't similar to traditional HTML tables. This set of table elements mimic traditional <html> tags and allow for advanced elements like background color, alignment, height and width attributes for any element.
    (The existing mod is here: http://www.vbulletin.org/forum/showthread.php?t=107985 you may prefer that to this.)

    All HTML tables are made up of at least 3 sets of HTML tags such as:
    <table><tr><td>Some Info Here</td></tr></table>

    Using this BB Code solution the syntax for the same would simply be:
    [tbl][tr][td]Some Info Here[/td][/tr][/tbl]

    Note "tbl" is being used instead of "table" to keep compatibility with the existing [table] BB Code.

    The code above gives a pretty boring table...

    Where this code really shines is that in any of those elements you can use the "option" part of the tag to add attributes to that element, so if you wanted to make the whole table light-blue you could use:
    [tbl="bgcolor=lightblue"][tr][td]Some Info Here[/td][/tr][/tbl]

    And if you wanted to make the cell 50 pixels high:
    [tbl="bgcolor=lightblue"][tr][td="height=50"]Some Info Here[/td][/tr][/tbl]

    There are many attributes you may be familiar with for HTML tables, all and any can be used in these tags. A more complicated table would be:
    [tbl="border=0 bgcolor=grey align=center"]
    [tr][th="bgcolor=lightblue colspan=3"]Table Header[/th][/tr]
    [tr][td]:pirate:[/td][td="bgcolor=yellow"]:jump:[/td][td]:panic:[/td][/tr]
    [tr="bgcolor=pink height=50"][td][/td][td]wned:[/td][td]:thup2:[/td][/tr]
    [/tbl]

    As you can see you may use other BB Code's within these codes as well as smilies and images.

    There are many resources on the web for learning about HTML tables. This is one of many:
    http://www.quackit.com/html/codes/html_table_code.cfm

    To make this code work its magic we need to install 8 seperate BB Codes (6 if you don't care about table headers).

    For each code we want to install it both with and without an "option" attribute- this will make using the code easier when you have no options needed but let you use them anywhere they are needed.

    For the sake of simplicity I'm going to skip of few of the most basic steps, BB Codes are generally easy but please make sure you've installed a few before this one.

    You can call the tags anything you want, in my examples I used:
    tbl = <table> tag... (for compatibility if you have another [table] BB Code installed.
    tr = <tr> tag (Table Row)
    th = <th> tag (Table Header)
    td = <td> tag {Table Data or Cell)

    For the tags without options use the following replacements:

    [tbl]
    <table>{param}</table>

    [th]
    <th>{param}</th>

    [tr]
    [<tr>{param}</tr>

    [td]
    [<td>{param}</td>

    For each of the above I recommend the following example:
    [tbl][tr][th]Header[/th][/tr][tr][td]test[/td][/tr][/tbl]
    Remember the example won't show correctly until every code in the set is installed.

    Add the following code replacements WITH Option-
    "Use Option = Enabled"

    [tbl]
    <table {option}>{param}</table>

    [th]
    <th {option}>{param}</th>

    [tr]
    [<tr {option}>{param}</tr>

    [td]
    [<td {option}>{param}</td>

    For all the above codes you want to use the following settings:
    Disable Word Wrapping inside BB Code = Yes
    All Other Disable Options = No

    You will now be able to make complete HTML tables using the tags with or without options as needed.
    See the Demo above for this code in action.

  4. Top | #3
    مدیریت کل سایت

    تاریخ عضویت
    Aug 2009
    ورژن ویبولتین
    4.2.2
    نوشته ها
    21,668
    مورد پسند
    54,768 بار
    نوشته های وبلاگ
    14
    اطلاعات
    میزان امتیاز
    3114

    پیش فرض

    2 تشکر توسط:


اطلاعات موضوع

کاربرانی که در حال مشاهده این موضوع هستند

در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)

کلمات کلیدی این موضوع

علاقه مندی ها (Bookmarks)

علاقه مندی ها (Bookmarks)

مجوز های ارسال و ویرایش

  • شما نمیتوانید موضوع جدیدی ارسال کنید
  • شما امکان ارسال پاسخ را ندارید
  • شما نمیتوانید فایل پیوست کنید.
  • شما نمیتوانید پست های خود را ویرایش کنید
  •