Forum Moderators: open

Message Too Old, No Replies

Using Javascript to Preview Custom Greeting Cards

         

DXL

9:18 pm on Mar 3, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



A client showed me a site that sells greeting cards, with a javascript-based feature that allows you to type your own message and preview the card. Is there a prepackaged software that would allow my client to use their existing card designs with that feature? Or was that a custom job that I would have to hire a javascript programmer for?

gergoe

11:22 am on Mar 5, 2008 (gmt 0)

10+ Year Member



If it exists, you will need to look it up with your favorite search engine, otherwise you need to make one. But you actually replied this in your own question :-)

Such a thing would require AJAX, so when the visitor is typing his stuff into the greeting card, the details are sent to the server on the fly, the server generates the image, and returns that to the browser, which then displays it - and during this time the visitor stays on the same "editing" page. If you have the rendering engine for the e-cards already working, it is not that difficult to make it anymore.