| |
|
Welcome to KnowledgeSutra - Dear Guest | |
Flashing Text?
Started by truman69, Apr 02 2005 05:44 PM
14 replies to this topic
#2
Posted 03 April 2005 - 05:03 PM
I know there is the 'blink' property under text-decoration in CSS.
eg. <a style="text-decoration: blink;">This text link should blink</a>
But, this not implemented in some browsers. I know it does work in Firefox, therefore should work in other modern Mozilla-based browsers but I couldn't get any text blinking in my version of Internet Explorer 6.
eg. <a style="text-decoration: blink;">This text link should blink</a>
But, this not implemented in some browsers. I know it does work in Firefox, therefore should work in other modern Mozilla-based browsers but I couldn't get any text blinking in my version of Internet Explorer 6.
#5
Posted 07 April 2005 - 04:33 AM
Tasteful uses of the <blink> are rare, but I find that Superbad does a pretty good job.
If you want blinking text that will work in all browsers, you'd have to use animation, such as in a GIF image or a Flash movie. It might be possible to use javascript to do it, also, but I wouldn't know where to start.
To make it work with a GIF, you could take two approaches. One, create a GIF image with text that flashes on and off. Two, create a gif that alternates between the background color and being completely transparent. Then, using CSS, position the blinking GIF over text so that it alternates between showing the text and covering it.
So that's how you could do it. It's really not worth the trouble, if you ask me.
If you want blinking text that will work in all browsers, you'd have to use animation, such as in a GIF image or a Flash movie. It might be possible to use javascript to do it, also, but I wouldn't know where to start.
To make it work with a GIF, you could take two approaches. One, create a GIF image with text that flashes on and off. Two, create a gif that alternates between the background color and being completely transparent. Then, using CSS, position the blinking GIF over text so that it alternates between showing the text and covering it.
So that's how you could do it. It's really not worth the trouble, if you ask me.
#8
Posted 23 April 2005 - 11:46 AM
truman69, on Apr 2 2005, 01:44 PM, said:
Hi there,
How comfortable are you with java scripts? Link in ref: http://stud1.tuwien....vaa/jflash.html
Follow the direction on that page. Replace the text to the display you need. Make sure to download the java applet and place them in the correct directory.
Although java may not run on all browsers or anyone who turns off the java, you will have at least fun wathing it work. I think I might add this to my own site...
Cheers.
Reply to this topic

1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users















