I'm trying to find out if there is a simple script or program out there that can change the font style dynamically on the web by the user. We manufacture products where there is an option of several different fonts and would like the ability to let the customer preview their text on line immediately. We have seen other sites doing this in both .asp and java. Any help in the matter would be appreciated. We would need the fonts installed on our server as they are not common. The user must be able to enter their own text and preview it on line.
Changing user font style on line
Collapse
X
-
Hi,Originally posted by rjw43I'm trying to find out if there is a simple script or program out there that can change the font style dynamically on the web by the user. We manufacture products where there is an option of several different fonts and would like the ability to let the customer preview their text on line immediately. We have seen other sites doing this in both .asp and java. Any help in the matter would be appreciated. We would need the fonts installed on our server as they are not common. The user must be able to enter their own text and preview it on line.
I think you need Javascript perhaps, but anyways if it has something to do with server side programming then JSP would be an option.I think our Java forum experts will be able to shed more light on this.
Do you have any code which you've written so far?
Will you be able to post the links to those sites which you've mentioned above?
P.S: Try posting in the Javascript and the Html/CSS forum as well if you like, if it can be resolved using CSS or some client side scripting then they should be able to help you with it. -
go through some good documents on "css".I hope you will get the answer
Originally posted by rjw43I'm trying to find out if there is a simple script or program out there that can change the font style dynamically on the web by the user. We manufacture products where there is an option of several different fonts and would like the ability to let the customer preview their text on line immediately. We have seen other sites doing this in both .asp and java. Any help in the matter would be appreciated. We would need the fonts installed on our server as they are not common. The user must be able to enter their own text and preview it on line.Comment
-
Copied to javascript forumOriginally posted by rjw43I'm trying to find out if there is a simple script or program out there that can change the font style dynamically on the web by the user. We manufacture products where there is an option of several different fonts and would like the ability to let the customer preview their text on line immediately. We have seen other sites doing this in both .asp and java. Any help in the matter would be appreciated. We would need the fonts installed on our server as they are not common. The user must be able to enter their own text and preview it on line.Comment
-
If they aren't common fonts, then you'll need some server side code to deal with that - possibly generate images on the fly with the fonts.Originally posted by rjw43I'm trying to find out if there is a simple script or program out there that can change the font style dynamically on the web by the user. We manufacture products where there is an option of several different fonts and would like the ability to let the customer preview their text on line immediately. We have seen other sites doing this in both .asp and java. Any help in the matter would be appreciated. We would need the fonts installed on our server as they are not common. The user must be able to enter their own text and preview it on line.
In terms of javascript, you could use Ajax to connect to the server on selection or onchange/onclick depending on your code and what functionality you require. Post your code.Comment
Comment