David Sweet wrote:
Here's the function that I call tabCount and is put into the javaScript Global 
area...
function tabCount(xline,str)  {
var dataOut = '';
var s = str;
for (x=1;x<xline;x++)  {
        dataOut += '<t>';
}
dataOut += s;
return dataOut;
}
Here's the text rule that I call tabbedLineOut that you place into the text 
box...

lineNbr = 0;
strOutput = '<p 
tabstops=0;900,Left,,;1800,Left,,;2700,Left,,;3600,Left,,;4500,Left,,;5400,Left,,;>';
if (Field("Name") != "")  {
        lineNbr++;
        strOutput += '<br>' + tabCount(lineNbr, Field("Name"));
}
if (Field("Title") != "")  {
        lineNbr++;
        strOutput += '<br>' + tabCount(lineNbr, Field("Title"));
}
return strOutput;
---
David A. Sweet
Hi Everyone,

A couple weeks ago I received several great tips on how to create a rule that would apply a tab value to each text line within a Paragraph.
Therefore,    Line 1 = tab 0.125; line 2 = tab 0.25 etc...

The following rule is working even with compression on with one exception.
This rule increases the tab with each line. I need to decrease the tab with each line. Making the second tab less than the first tab is not working.

I need: Line 1 = tab 0.25; Line 2 = tab 0.125 etc...

Does anyone know how to make the adjustment??
Thanks again for all of the help!!

--
Nicola DosSantos

Ambit Press / Minuteman Press of Cambridge
Five Cambridge Center
Cambridge, MA 02142
Tel: 617.876.3688 Fax: 617.876.3896 www.ambitpress.com

Please send all jobs to [EMAIL PROTECTED]



+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+- 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