Forum Moderators: open

Message Too Old, No Replies

getElementById and innerHtml Query

Should i use these and how do i?

         

Kiwiguy48

12:27 am on Mar 14, 2010 (gmt 0)

10+ Year Member



Hi I'm Rod from New Zealand and I do Sign Writing (Computer cut lettering)on the side. Below is a list of info I want from Visitors. I know enough to format my webpage and have this info emailed to me. What I want to do is display this info in real time on the same page, maybe even over top of a jpg of a car door. So visitors can play with the look before they order.
Like a cut down version of this website <snip>
Line 1 of your sign:&nbsp;<input type=text name="" id="line1" size=21 maxlength=20 value="" ><br>
Line 2 of your sign:&nbsp;<input type=text name="" id="line2" size=21 maxlength=20 value="" ><br>
Line 3 of your sign:&nbsp;<input type=text name="" id="line3" size=21 maxlength=20 value="" ><br>
<hr width=40% align=left>
<br>
<select name="Color">
<option selected>Choose Text Colour</option>
<option>Red</option>
<option>Blue</option>
<option>Green</option>
<option>Orange</option>
<option>Black</option>
<option>Yellow</option>
<option>Light Blue</option>
</select>
<hr width=40% align=left>
<br>
<select name="fonts">
<option selected>Choose a Font</option>
<option>Arial</option>
<option>Comic Sans MS</option>
<option>Balloonist</option>
<option>Verdana</option>
<option>Blue Highway</option>
<option>Bolts SF</option>
<option>Chigago</option>
</select>
<hr width=40% align=left>
<br>
<select name="height">
<option selected>Choose a Line Height</option>
<option>20mm</option>
<option>30mm</option>
<option>40mm</option>
<option>50mm</option>
<option>100mm</option>
</select>

One other problem is people wont have some of the fonts that I offer on their computer. So I guess fonts need to be embedded maybe?
Any help appreciated.
I would seriously consider buying a script of someone, if it's not too expensive
~Rod

[edited by: eelixduppy at 2:37 am (utc) on Mar 15, 2010]
[edit reason] no URLs, please [/edit]

Fotiman

4:13 pm on Mar 15, 2010 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



When you start getting into custom fonts, your best bet is probably going to be a Flash solution. You could try using embedded fonts, but not all browsers support them. With Flash, though, you can embed them into the swf.

Kiwiguy48

9:15 am on Mar 16, 2010 (gmt 0)

10+ Year Member



Cheers thanks Fotiman I'll look in to that option.
Oops sorry eelixduppy my bad.