Web Design Forums

HTML and CSS Help

Having problems with these web design scripting? Ask here.

IE's Proprietary Filter CSS Setting



Site of the Month Nominations
ENTER YOUR SITE NOW!

Reply
 
LinkBack Thread Tools
Old July 12 '02, 01:35 PM (#1)
siyan is offline
Inactive
 
siyan's Avatar
 
Join Date: May 2002
Location: Yemen
Posts: 42
siyan
IE's Proprietary Filter CSS Setting

The filter attribute is a proprietary one, I believe. It allows you to do a bunch of graphical effects on the page/element. I believe it is IE6 only.

Anywho, here are the options for the filter attribute:

Alpha(Opacity=?, FinishOpacity=?, Style=?, StartX=?, StartY=?, FinishX=?, FinishY=?)

BlendTrans(Duration=?)

Blur(Add=?, Direction=?, Strength=?)

Chroma(Color=?)

DropShadow(Color=?, OffX=?, OffY=?, Positive=?)

FlipH

FlipV

Glow(Color=?, Strength=?)

Gray

Invert

Light

Mask(Color=?)

RevealTrans(Duration=?, Transition=?)

Shadow(Color=?, Direction=?)

Wave(Add=?, Freq=?, LightStrength=?, Phase=?, Strength=?)

Xray


Most of them should be self explanatory. Do note that they are very slow, very very very slow, if you use it for a full page. I'm on a P4 1.6 and using Blur makes it garbage slow.

Flash files seem to get messed up with the Flip Operations. Not sure about image maps but since those are done in IE, it will prolly work correctly.

Note that using Flip V also inverts your scrolling

Anyways, If someone wants to crack something up with these, here it is. And if you can turn it into more than a cheap gimmick, I bow down.

-C
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old August 2 '02, 11:06 PM (#2)
allusion is offline
New Member!
 
allusion's Avatar
 
Join Date: August 2002
Location: Houston
Posts: 10
allusion
Send a message via AIM to allusion
I’ve found them too clunky to be of any practical use. The alpha filter can be useful, but I would rather have proper support for PNG.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old October 25 '02, 10:43 PM (#3)
filburt1 is offline
bored
 
filburt1's Avatar
 
Join Date: July 2002
Location: Maryland, US
Posts: 11,785
filburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to allfilburt1 is a name known to all
dropshadow also causes havoc with Windows XP's cleartype--a shame because ClearType looks great. Allusion is pretty much right IMHO; you should stick to graphics instead of filters especially for browser compatility (the filters are for only IE).
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 14 '03, 08:45 AM (#4)
ub3r is offline
WDF Member
 
ub3r's Avatar
 
Join Date: May 2003
Location: michigan
Posts: 29
ub3r
Send a message via AIM to ub3r Send a message via Yahoo to ub3r
with mozilla, they have a replacement for alpha which is:

Code:
-moz-opacity:0.5;
the entire css block wouldlook like:

Code:
.whatevah{-moz-opacity:0.5;}

i'm not sure about the rest.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 23 '03, 04:00 PM (#5)
james is offline
WDF Regular
 
james's Avatar
 
Join Date: May 2003
Location: Melbourne, AUSTRALIA
Posts: 364
james has disabled reputation
What are the units for durations? Do you write style: ...(duration=500ms)? I need samples!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 23 '03, 04:12 PM (#6)
james is offline
WDF Regular
 
james's Avatar
 
Join Date: May 2003
Location: Melbourne, AUSTRALIA
Posts: 364
james has disabled reputation
Oooh, this page look good http://www.webreference.com/js/column68/. Apparently you're supposed to add filter: progid : DXImageTransform.Microsoft.Opacity before your filter names.
This has a list of parameters http://webdevelopers.hypermart.net/b...es/filters.htm.

Last edited by james; May 23 '03 at 04:16 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old May 26 '03, 07:51 PM (#7)
swampash is offline
New Member!
 
swampash's Avatar
 
Join Date: May 2003
Posts: 1
swampash
One the best quick references for filters with full code examples is this site:

http://www.fred.net/dhark/demos/css/..._examples.html
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old July 23 '03, 10:30 PM (#8)
herekittykitty is offline
New Member!
 
herekittykitty's Avatar
 
Join Date: July 2003
Location: Canada
Posts: 8
herekittykitty
Send a message via AIM to herekittykitty Send a message via Yahoo to herekittykitty
Well, I've used many of these in style sheets [usually blurs, filters, etc for hovers] mind you the opacity, etc is great for tables on images! In style sheets, I usually use:

#namehere{
filter:alpha(opacity=60, style=0);}

or something along those lines
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 26 '03, 01:37 AM (#9)
tibberous is offline
"I'm addicted to WDF"
 
tibberous's Avatar
 
Join Date: August 2003
Posts: 195
tibberous is on a distinguished road
I'd recommend not using them because...

1) They do not work on other browsers

2) The are very slow to render

3) Some effect, like glow, are poorly over used, and, as such, appear unprofessional to most users

4) Any decent paint program will do most of the image effects. If you want, an image with a shadow, just making the image 10x10 bigger and draw a shadow

5) Using proprietary technologies only leads to the proliferation of them, which hurts standards all around

just my thoughts, no offence to those who use them
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28 '04, 11:34 AM (#10)
glassowater87 is offline
WDF Member
 
glassowater87's Avatar
 
Join Date: September 2003
Location: Somewhere
Posts: 45
glassowater87 has disabled reputation
Send a message via AIM to glassowater87
6) and IE sucks anyways.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28 '04, 12:20 PM (#11)
glyakk is offline
the voice of reason
 
glyakk's Avatar
 
Join Date: November 2003
Location: Atascocita, TX
Posts: 1,250
glyakk will become famous soon enough
Send a message via AIM to glyakk Send a message via MSN to glyakk Send a message via Yahoo to glyakk
Although I am totally in agreement with tibberous on why not to ever use the propiortary filters in IE. There is one instance where one comes in handly. As I am sure you are aware, IE does not support png transparancy, however if you use 'AlphaImageLoader' you can effectivly use png's alpha transparency in IE. It is not the ideal solution, but its what we have until IE supports png alpha transparency.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old June 28 '04, 07:33 PM (#12)
glassowater87 is offline
WDF Member
 
glassowater87's Avatar
 
Join Date: September 2003
Location: Somewhere
Posts: 45
glassowater87 has disabled reputation
Send a message via AIM to glassowater87
Didn't know about that.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old January 18 '05, 01:20 AM (#13)
n3on is offline
WDF Member
 
n3on's Avatar
 
Join Date: January 2005
Posts: 98
n3on is on a distinguished road
Opacity is actually a valid CSS property, but its just opacity: 0.5.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 8 '08, 03:17 AM (#14)
Spasm is offline
New Member!
 
Spasm's Avatar
 
Join Date: February 2008
Posts: 19
Spasm is an unknown quantity at this point
Can we use any of these to make IE properly display transparency in .png images? They're perfectly aware of the problem, but they're pretty much choosing to leave it broken. They provide a way to fix it at the developer's expense: http://support.microsoft.com/kb/294714

Could the alpha option be used on an img tag instead of that weird div thing?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old February 8 '08, 02:43 PM (#15)
Shadowfiend is offline
Code beautifully and honorably
 
Shadowfiend's Avatar
 
Join Date: June 2005
Location: Atlanta, GA
Posts: 4,143
Shadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond repute
Dunno what weird div thing you're talking about, but yes, AlphaImageLoader can be applied to img tags, as well.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9 '09, 10:11 PM (#16)
ShaneStrong05 is offline
WDF Member
 
ShaneStrong05's Avatar
 
Join Date: April 2009
Location: Saint Johns, MI
Posts: 26
ShaneStrong05 is an unknown quantity at this point
One of the biggest problems with opacity is that it is not valid css through the w3c yet. As for filter: alpha(opacity) this is just another way the IE is trying to be different and they really need to get on the same page as everyone else because speaking as a coder it sucks when you have to go through and just find IE bugs and you know that all the other highly used browsers will work just fine with out checking for bugs.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old April 9 '09, 10:57 PM (#17)
Shadowfiend is offline
Code beautifully and honorably
 
Shadowfiend's Avatar
 
Join Date: June 2005
Location: Atlanta, GA
Posts: 4,143
Shadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond reputeShadowfiend has a reputation beyond repute
Better yet, the filter method doesn't work in IE8. See http://www.quirksmode.org/css/opacity.html . In IE's defense, they were doing filters well before opacity existed in other browsers, or in any CSS standard.

Not that I'm supporting IE. This is the second full version without opacity support. That's just silly.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old November 22 '09, 07:08 PM (#18)
kiranshotgun is offline
New Member!
 
kiranshotgun's Avatar
 
Join Date: November 2009
Posts: 4
kiranshotgun is an unknown quantity at this point
you can achieve transparency in ie 7 on wards now with transparent png images. css may not work always but the present way is to write css for each browser seperate
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

  Web Design Forums » Programming Help » HTML and CSS Help

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
40+ CSS Based Navigation Tutorials mark villey General Web Design Discussion 6 May 11 '10 12:04 AM
CSS Layout Tutorial (Part one) glyakk Coding Articles & Tutorials 34 February 4 '07 03:21 AM
[CSS] Customize your form with CSS - part 1 karinne Coding Articles & Tutorials 7 August 20 '06 10:38 PM
Setting the padding of form fields in CSS will7 HTML and CSS Help 11 March 28 '05 12:21 PM
Can I have a filter in a css link? joelyv HTML and CSS Help 1 December 22 '03 12:52 PM

 
User Infomation
Your Avatar

Site Of The Month

Ticket Cake
Ticket Cake

Ticket Cake is a drupal based event ticketing platform. It features that ability to browse events and share them.

Nominate Your Site Now!

Advertisement
WolfCMS.org

Latest Articles
- by RickM
- by bfsog

Advertisement

Partner Links



All times are GMT -4. The time now is 02:46 AM.


WebDesignForums.net is Copyright © 2010 RikeMedia.

SEO by vBSEO

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163