Page 1 of 1

VBScript / Javascript

Posted: 29 Jun 2003, 16:22
by Erudite
Do any of you talented people out there know if it's possible to
use the OnMouseOver to apply filters (e.g. blur) to text?

I suspect you need to name the text in some manner - the <P>
tag possibly.

Posted: 29 Jun 2003, 16:58
by Quiff Boy
is this any help:

http://www.ssi-developer.net/css/visual-filters.shtml

dunno about doing it on javascript onmousover thought... i'll see what i can dig up :)

Posted: 30 Jun 2003, 13:01
by Quiff Boy
aha! got it.... sort of

its a bit tricky and only really works with <a> link tags as you use the css a:hover command. :?

eg:

Code: Select all

a&#58;hover&#123; filter&#58; blur&#40;add=false, direction=135, strength=6&#41;; &#125;

the problem is that you have to define the width of the text that you want to effect, and it only really works with link tags.

eg:

Code: Select all

Lorem ipsum <a href="#" style="display&#58; inline; width&#58; 200px;">dolor sit amet</a> consectetuer adipiscing elit.
hope that helps... :|

Posted: 30 Jun 2003, 18:36
by Erudite
I'll give it a go, thanks.