Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Font Sample - changes image when font choice changes?


Guest

Recommended Posts

We would like a font that changes the text to show you the sample font that you have selected. Example: http://www.leavesandletters.com/product_in...products_id=443 or http://www.leavesandletters.com/product_in...;products_id=46

 

Please choose different fonts from the drop down menus in order to see the sample font change. Would it be possible to have whatever text that the customer types in the name/monogram field to show the sample fonts in the typed text? Does that make sense? Basically, if I typed in Jonathan McKenzie in the name field and then chose a font from the drop down menu….I would see “Jonathan McKenzie” in the font that I selected. If I then chose a different font from the drop down menu…it would then show “Jonathan McKenzie” in a different font.

 

If that is not possible…then I guess we will go with the way the above site (www.leavesandletters.com) has it....any idea how to do that? It simply calls an image for each font that is selected from a drop down menu.

 

I am no coder....so I am sure it is MUCH harder than I make it sound. But it seems that you could edit the php page that contains the attributes for the products and assign an image to each font choice in the drop down menu. So when a user selects a font from the drop down menu, the code would call the image and it would appear on the page. Any ideas? THANKS!

Link to comment
Share on other sites

The site that you linked to is using images for the font samples. That is currently the most practical way to do this. For the customer's browser to render random text in a given font, that font has to be installed on their computer. There are ways of downloading fonts, and there are plugins such as Flash that might work, but not necessarily for everyone. The safest is to just use an image.

 

Regards

Jim

See my profile for a list of my addons and ways to get support.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...