You are not logged in.

#1 2007-12-06 15:03:46

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Widget Questions

I am really new to most programming. I can do some html and css if that is considered programming. I have barely scratched the surface when it comes to javascript or php. That is about the extent of my knowledge so far.

To my point. My cousin is starting a vinyl sign/lettering business and wants people to be able to enter text on her site and preview it (font, fontcolor, bgcolor) and have it calculate price based on per letter per size. Here is a site that has what she is looking for:

http://www.vinylwords.com/CustomLettering.php

I was thinking this would be a good opportunity for me to get my feet wet a little so I started looking at the site listed above, but obviously I can't see all the files.

In your opinions what is the best way to go about this php, javascript?

How much would something like this cost to pay one of you fine developers to do?

Offline

#2 2007-12-06 16:41:22

Bison
Member
From: Jacksonville, FL
Registered: 2006-04-12
Posts: 158
Website

Re: Widget Questions

Here is the source for the text element:

<input type="text" id="wording" onkeyup="enterLetter()" value="" />

and look at http://www.vinylwords.com/js/customizer.js.

I would recommend looking at prototype - http://www.prototypejs.org.

PS the better way to write onkeyup="" is to use prototype's Event.observe()

Last edited by Bison (2007-12-06 16:41:47)

Offline

#3 2007-12-06 17:43:29

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Widget Questions

Thanks for the reply.

I did look at that. I actually mimiced everything from that page just to see how it works. All the stuff worked except the quick preview section didn't show any preview it didn't even load the "Enter Text Here" in the preview area like it does on that page. That is the part that I can't figure out.

I would recommend looking at prototype - http://www.prototypejs.org

This site is using that. So I have been looking at that.

PS the better way to write onkeyup="" is to use prototype's Event.observe()

So would you do this instead

<input type="text" id="wording" onkeyup="Event.observe()" value="" />

Last edited by cu3edweb (2007-12-06 17:44:43)

Offline

#4 2007-12-07 14:58:38

cu3edweb
Member
From: USA
Registered: 2007-10-07
Posts: 291

Re: Widget Questions

The only part I can't figure out is the 'preview.php' file. That is the last piece. Not sure how to do that. I am assuming that the preview.php gets the selected font changes to the selected color and puts the text that you have typed in the quick preview box. And each time you change something it changes the preview.

Offline

Board footer

Powered by FluxBB