jQuery animate font change?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

jQuery animate font change?

Post by JAB Creations »

Here is a great demo page for changing CSS classes...
http://interface.eyecon.ro/demos/animate.html

One of the problems I have encountered is that jQuery does not seem to be able to animate a change of font. Is this true or am I going about this the wrong way?
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

One of the problems I have encountered is that jQuery does not seem to be able to animate a change of font.
To animate something means to display a sequence of frame showing intermediate steps between two outer frames. What font would you use to show transformation from Arial to Comic Sans ?Image
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Post by JAB Creations »

It doesn't matter what the fonts are so long as I can replicate the effect with any given fonts. For example I tried turning Arial in to Wingdings. :D
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

I think you entirely missed his point. He was asking a rhetorical question. There is no way to show an intermediary font somewhere between arial and wingdings (because one doesn't exist).
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Post by JAB Creations »

Ah, so essentially it's dead Jim.
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

As far as I know, it isn't possible with javascript. Not without some very clever scripting. You could do it with flash. :wink:
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Post by JAB Creations »

Flash? Heh heh, no thank you drive through.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You can potentially do it with a cross-fade.
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Post by JAB Creations »

Are there any demos of jQuery and cross-fading such as there are other demos at this page?
http://interface.eyecon.ro/demos/ifx.html
Post Reply