Previous Thread
Next Thread
Print Thread
Rate Thread
jacksonm99 #233681 01/22/2003 7:12 AM
Joined: Feb 2001
Posts: 2,268
Junior Member
Junior Member
Offline
Joined: Feb 2001
Posts: 2,268
The Bookies "Blam effect" of having a graphic at the top and bottom of a table cell is similar to what I've done with this test table. The graphics are not that detailed (it's just a proof of concept), but it gives you an idea of what you can do with a 5x3 table. No CSS is used, but I set it up so that I could easily convert it to using a CSS file if the test worked (all the visible images are background images).

This is what I've found:
  • The minimum size of the table is limited to the minimum size of the images that you want to see. The top left and bottom right image are 80 pixels each, and the corners are 10 pixels each. So the minimum width of a table is 180 pixels. At low resolutions 180 pixels for a menu or a Pal box equals a lot of wasted space.
  • I could have made the top left and bottom right graphic smaller, but when start dropping below 80 pixels the effect of having something special on the table wrapper is lost (especially at high resolutions).
  • The table does scale well, but if you use IIP PAL boxes will be a problem at low resolutions. I have the left hand column on my site set to 15%, and at 800x600 resolution the table in the test file is too big. So, at low resolutions the PAL boxes will not be proportional to the rest of the page. It's not a limitation of IIP, it's just the nature of designing graphics to fit within the limits of a table.
  • Using percentages to set limits on the size of side bars is better than using a fixed pixels size, because percentages scale better.
There is another way to create the "Blam effect": Make a table that contains a single table row, a single cell, and place the graphic that you want to display in it. Set all table borders, cell padding, and cell spacing to zero. Set the alignment in the table cell to left. Place the html for your new table "wrapper" above the table code in the tbopen.tmpl file. Make another table for the bottom graphic, but set the alignment in the table cell to right. Place the script for it at the end of the table script in the tbclose.tmpl file. I'm not going to do it, cause I don't like the way it looks. The graphic doesn't wrap around the table, and on small tables it just looks odd. But it's the only way I know of to pull off the "Blam effect" and still manage a small minimum table size with a wide range of scalability.

I'm gonna experiment with some smaller graphic sizes to see if I can get the minimum table size down to 140 pixels (120 would be ideal). If it doesn't look good / scale well I'm going to drop 5x3 array tables in favor of 3x3 arrays (smaller arrays scale better, but the graphics effects that you can do are limited when compared to larger arrays).

Sorry for the rant, but I thought seeing how this worked would help some of you who are developing table wrappers on your own (maybe I can save you some time).

Sponsored Links
Entire Thread
Subject Posted By Posted
Blam templates and other things. Dalantech 01/21/2003 3:22 PM
Re: Blam templates and other things. Astaran 01/21/2003 5:05 PM
Re: Blam templates and other things. Dalantech 01/21/2003 6:40 PM
Table testing Dalantech 01/22/2003 2:12 PM
Re: Table testing Dalantech 01/22/2003 8:22 PM
Re: Blam templates and other things. Dalantech 01/23/2003 10:20 AM
Re: Blam templates and other things. dimopoulos 01/23/2003 11:16 AM
Re: Blam templates and other things. Dalantech 01/23/2003 11:38 AM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 1835
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 29
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)