Sym Paradise
The Boxes Paradise
Home
  • My Menu
    • Log In
  • Contents
    • Discussion
    • Help
      • User Help
        • Installation
        • Others
      • Developer Help
        • Drupal
        • Others
      • Box Request
  • Library
    • Main Library
    • Search Boxes
  • Handbooks
    • User Handbook
    • Developer Handbook
    • Using This Site

Where to put table when creating 3 boxes

jjj123
2nd Apr 2010, 10:26:41 PM
Tags:
  • User Help

Following on from instructions to create 3 boxes next to each other, I am struggling to work out where to put the the table.

Also, the instructions advise to put the API code in the <tr> What is the API code?

I have found the API page but not sure how much of the code to put in.

Any advice would be very helpful and thank you for a wonderful site full of rounded corners - been searching for something like this for months!

Kind Regards,

Julie

 

  • Login or register to post comments
  • 1594 reads
Share

Brilliant, thank you so much,

4th Apr 2010, 03:38:39 PM

Brilliant, thank you so much, worked a treat!

I found the original information in response to a post titled 'Box Sizes.'

 

 

 

jjj123
  • Login or register to post comments

Here's a sample code

3rd Apr 2010, 06:50:00 PM

Hi,

You mentioned the instructions advise you to put the API code in the <tr>. I have looked through the handbooks once more, and I wasn't able to locate what you claimed. Could you kindly point me to it? The code found in the handbooks highlights how you can use the API to "print" a TBP Box.

You may place the API code anywhere you wish accordingly to your web design and layout. For e.g, to have 3 boxes side by side, we can visualise the layout in a high level that looks like this:

    <table width="100%"border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="33%">
               Cell 1
            </td>
            <td width="34%">
               Cell 2
            </td>
            <td width="33%">
                Cell 3
            </td>
        </tr>
    </table>

Thus, to output a TBP Box in each <td>, we place the API code inside it:

<html>
<head>
<script type="text/javascript" src="http://theboxes.paradise.sg/
sites/theboxes.paradise.sg/files/Box/75/files/theboxesparadise_75.js"></script>
<script type="text/javascript" src="http://theboxes.paradise.sg/
sites/theboxes.paradise.sg/files/Box/93/files/theboxesparadise_93.js"></script>
<script type="text/javascript" src="http://theboxes.paradise.sg/
sites/theboxes.paradise.sg/files/Box/95/files/theboxesparadise_95.js"></script>

<script type="text/javascript"> tbp_75_getHeader(); </script>
<script type="text/javascript"> tbp_93_getHeader(); </script>
<script type="text/javascript"> tbp_95_getHeader(); </script>
</head>
<body>
    <table width="100%"border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td width="33%">
                <script type="text/javascript"> tbp_75_getStartTitle(); </script>
                    Box 1
                <script type="text/javascript"> tbp_75_getMid(); </script>
                    Box 1's contents
                <script type="text/javascript"> tbp_75_getEnd(); </script>
            </td>
            <td width="34%">
                <script type="text/javascript"> tbp_93_getStartTitle(); </script>
                    Box 2
                <script type="text/javascript"> tbp_93_getMid(); </script>
                    Box 2's contents
                <script type="text/javascript"> tbp_93_getEnd(); </script>
            </td>
            <td width="33%">
                <script type="text/javascript"> tbp_95_getStartTitle(); </script>
                    Box 3
                <script type="text/javascript"> tbp_95_getMid(); </script>
                    Box 3's contents
                <script type="text/javascript"> tbp_95_getEnd(); </script>
            </td>
        </tr>
    </table>
</body>
</html>

TBP
  • Login or register to post comments

Box Usage Statistics

Box Countersort icon
TBP 16 150514
TBP 50 120877
TBP 66 99309
TBP 36 87354
TBP 83 52689

Popular Boxes

  • TBP 72 (4,986)
  • TBP 66 (4,682)
  • TBP 3 (3,617)
  • TBP 71 (3,447)
  • TBP 30 (3,431)

Recent Box Requests

  • Blue response box
  • slightly embossed box that can be color filled to reqs
  • Panels 3 - Nice normal box
  • 3D Box, Bevel, Aqua-like

Recent Developer Help Posts

  • I have been unsuccessfully trying to create my client's design of a highly stylized box in Drupal 6 using Panels 3.

Recent User Help Posts

  • TBP for nice-menus?
  • Page load time
  • Where to put table when creating 3 boxes
  • print box for each content posted
  • $idstr empty?
  • Box Sizes
  • Can't find Javascript code on download
  • Panels 3
  • Can I customize the font or color, of the title and the contents inside the Box?
  • How can I embed a TBP Box on my web page?

User login

  • Create new account
  • Request new password
Copyright © 2009 Sym Paradise. All rights reserved. Terms of Use | Copyright Information