Dan,
Sorry to jump in, but I am running into a similar situation with a dynamic
table markup generator we built. If I understand what you are saying, i
may be able to use your function to determine the largest text string in a
"cell", which in turn can be stacked or collected as an object and
compared to the other table "cells". This would in turn be passed over to
the "column width" markup below?


function generateMarkup(schoolName, metalList) {


                        var metalTitles;

                        var markupBegin;

                        var markupMiddle='';

                        var markupEnd = "</table>";

                        if (metalList == '10K 14K') {

                                markupBegin = '<table columns = "3" 
margins="top:35;bottom:15" alignment="left"> \n<column width = 15222>\n<column 
width = 7221>\n<column width = 7221>';

                                metalTitles = ['10K','14K'];

                        }

                        else {

                                markupBegin = '<table columns = "4" 
margins="top:35;bottom:15" alignment="left"> \n<column width = 14616>\n<column 
width = 5016>\n<column width = 5016>\n<column width = 5016>';

                                if (metalList == '10K 14K 18K') {

                                        metalTitles = ['10K','14K','18K'];

                                }

                                else {

                                        metalTitles = ['CEL','10K','14K']

                                }

                        }

+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 
Calling all FP Web Users!

Do you have a question or lots of knowledge to share about FusionPro Web?

If so, join our Printable Web to Print Users' Forum today!

Send email to [EMAIL PROTECTED] to find out how! 
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-


--
Users of FusionPro Desktop have unlimited free email support. Contact Printable 
Support at [EMAIL PROTECTED] 
--
View FusionPro Knowledge Base, FusionPro Samples at
www.printable.com/vdp/desktop.htm

--
You are currently subscribed to fusionpro as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
--


--
Note:  All e-mail sent to or from this address will be received or otherwise 
recorded by the e-mail recipients of this forum. It is subject to archival, 
monitoring or review by, and/or disclosure to someone other than the recipient. 
Our privacy policy is posted on www.printplanet.com
--

Reply via email to