> What I want to do now is stop the phone number
> from separating onto
> another line if the text pushes it.
Do you mean that you want to keep the entire phone number together and
not have it break? In that case, you could use the CopyfitLine
function. Also, you probably want to remove the hard-coded <br> tag
that's forcing a new line. Try something like this:
var result = Phone1 + Phone2;
if (Phone1 && Phone2)
result = Phone1 + " or " + Phone2;
return CopyfitLine("", result, "Arial", 12, 3*72, 6, false);
// 12-point Arial, 3-inch wide frame, minimum point size 6
Here you'll have to modify the parameters to the function to match the
font and point size you're using, as well as the width of your frame.
If you're completely new to JavaScript rules, I suggest taking a step
back and trying to learn a bit about the basics first before trying to
do something more complex. Go through some of the tutorials and the
Rules Guide. Printable also offers some excellent training in
JavaScript for FusionPro.
Dan
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
FusionPro 5.0 Now Available!
Variable text on a curve and soft drop-shadows for variable text
LIMITED TIME upgrade offer of $299 per license for current customers:
http://fusionpro.printable.com/store/upgrade
New licenses available for $599 each at:
http://fusionpro.printable.com/store/
All FusionPro 5.0 customers to receive FusionPro 5.1 with
Adobe Acrobat 8 and InDesign CS3 support when released for FREE.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
--
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
--