VBScript / Javascript

Does exactly what it says on the tin. Some of the nonsense contained herein may be very loosely related to The Sisters of Mercy, but I wouldn't bet your PayPal account on it. In keeping with the internet's general theme nothing written here should be taken as Gospel: over three quarters of it is utter gibberish, and most of the forum's denizens haven't spoken to another human being face-to-face for decades. Don't worry your pretty little heads about it. Above all else, remember this: You don't have to stay forever. I will understand.
Post Reply
User avatar
Erudite
Slight Overbomber
Posts: 1952
Joined: 24 Apr 2002, 01:00
Location: Lost In Space

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.
You are what you drink - I'm a bitter man!
User avatar
Quiff Boy
Herr Administrator
Posts: 16795
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

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 :)
What’s the difference between a buffalo and a bison?
User avatar
Quiff Boy
Herr Administrator
Posts: 16795
Joined: 25 Jan 2002, 00:00
Location: Lurking and fixing
Contact:

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... :|
What’s the difference between a buffalo and a bison?
User avatar
Erudite
Slight Overbomber
Posts: 1952
Joined: 24 Apr 2002, 01:00
Location: Lost In Space

I'll give it a go, thanks.
You are what you drink - I'm a bitter man!
Post Reply