473,503 Members | 1,655 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

cancelling filter effects


Hi there :D

I have made my images all transparent with a basic
img {filter:mask; height:0; }

and then, when i mouseover(oh i mean hover :P )
i want the images to come up inverted

img:hover {filter:invert(); height:0; }
now the problem is obvious, you can not invert the colours of something
thats invisible :)

so i just want to cancel the previous filter

something like

img:hover {filter:mask(color:none;) filter:invert(); }

allthough i havent exactly tried it, i assume this is the wrong way to
go about things :D

any suggestions ?
--
Silent Fire
------------------------------------------------------------------------
Silent Fire's Profile: http://www.highdots.com/forums/m103
View this thread: http://www.highdots.com/forums/t184469

Aug 3 '06 #1
4 1471
Deciding to do something for the good of humanity, Silent Fire
<Si****************@no-mx.forums.yourdomain.com.audeclared in
comp.infosystems.www.authoring.stylesheets:
Hi there :D
G'day.
img {filter:mask; height:0; }
Have you tried validating that?
now the problem is obvious,
Indeed.
any suggestions ?
Stop using made-up CSS.

--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html
Aug 3 '06 #2

ah all right
you busted me
I'm using css for myspace, it is all made up there.

look, i am just after the proper way to do things.

you could tell me instead of scoffing
--
Silent Fire
------------------------------------------------------------------------
Silent Fire's Profile: http://www.highdots.com/forums/m103
View this thread: http://www.highdots.com/forums/t184469

Aug 3 '06 #3
Rik
Silent Fire wrote:
ah all right
you busted me
I'm using css for myspace, it is all made up there.
look, i am just after the proper way to do things.
you could tell me instead of scoffing
He told you: filter: mask isn't valid css.

Grtz,
--
Rik Wasmus
Aug 3 '06 #4
Silent Fire wrote:
so i just want to cancel the previous filter
The way CSS selectors work make it difficult to "cancel" things. It's
much better to instead only apply them just where you want them - Try
adding a class attribute "foo" to where you want it and adding .foo to
the CSS rule selector.
And what's MySpace ? Is that like web hosting, only broken?
If you _insist_ on using MySpace, then don't expect anything webby to
work right.

Aug 3 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
12219
by: Robin Cull | last post by:
Imagine I have a dict looking something like this: myDict = {"key 1": , "key 2": , "key 3": , "key 4": } That is, a set of keys which have a variable length list of associated values after...
1
1858
by: Paul THompson | last post by:
I have been working for some time to 1) detect tab and shift tab events 2) control the focus on the basis of these events. I have found that I can do this, but continue to have nagging problems. ...
8
602
by: InvisibleDuncan | last post by:
I have a ListView that populates some fields whenever the user selects an item. However, if they change the data in the fields and then select a new item without saving, I want to display a message...
1
2885
by: GregM | last post by:
I have a read only datagrid that is designed to coordinate itself with textboxes. When the user clicks on a row in the datagrid, detailed data for that row is displayed for editing in the...
1
3367
by: Ajab Gajab | last post by:
Hi All, I am developing an application in VB.Net where I need to provide user with cancelling or stopping the current print job. Like, if a user clicks on "stop" button, then printer should print...
3
10209
by: Pablito | last post by:
Hi at all please can you inform me how I can use style="FILTER:alpha(opacity=0 to obtein dinamics image effects like fade ? Infact I tryed to use it from javascripts but I am unable from ...
0
2250
by: Lasdjfk | last post by:
Anyone knows about an audio filter module for Python? Snack (http://www.speech.kth.se/snack/ ) seems to be able to do something things. However what I'm mostly interested in is to run audio...
0
796
by: Ufit | last post by:
when I apply any style to <html tag f.ex. style="filter:progid:DXImageTransform.Microsoft.Wave (Add='false', LightStrength=0, Phase=0, Strength=0, Freq=3)" and theres dropdown list on the page it...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7330
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5578
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3167
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.