English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

Aloha,
Okay, so I have this script working:
http://www.triviacafe.com/stamps/fonttest-working.php

However, there are a FEW things I need help with.

1) I need it to use a multiline box, instead of an input box.
a) I need the GD Exported image to MIRROR that of the typed text. So line breaks MUST appear where they are in the multiline box.
Example:
GD Output:
This is a
Test

Content in the Multiline box:
____________________________________
|This is a
|Test
|
|
|
|
|____________________________________

b) Each individual line must be centered.
That means calculating the width of the font (which will be variable, detemined by a dropdown box, I'll add that in myself) and dividing it by half of something or other... I don't understand the math, I'm a designer. That's why I'm here.

If anyone can help me, without just spouting a bunch of numbers at me and expecting me to understand, I would greatly appreciate it.

If you need to email me, my addy is jon [at] phazm dot net

2006-10-03 13:42:39 · 1 answers · asked by Fuzzy Logic 1 in Computers & Internet Programming & Design

1 answers

Right now, you have:

onKeyUp="doText(document.getElementById('typer').value)"/>

Replace it with:

2006-10-05 05:25:30 · answer #1 · answered by NC 7 · 1 0

fedest.com, questions and answers