Log In · Register

 
how can i..
hwangalicious
post Aug 8 2004, 02:15 PM
Post #1


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2004
Member No: 38,451



is there a way to use a filter on ur entire page on a right mouse click? like when someone right clicks, it could make the entire page do the xray filter or something? and even further, with just css, not javascript? whistling.gif
 
 
Start new topic
Replies (1 - 6)
*Kathleen*
post Aug 8 2004, 02:23 PM
Post #2





Guest






I've never heard of that before...do you have an example? blink.gif
 
cyphervi
post Aug 8 2004, 02:23 PM
Post #3


local html help
****

Group: Member
Posts: 146
Joined: Mar 2004
Member No: 9,395



i dont think you can do that with just css, since there's no such thing as a css function. whats wrong with using javascript though?
 
Phischie
post Aug 8 2004, 02:31 PM
Post #4


The Phisch
****

Group: Member
Posts: 195
Joined: Aug 2004
Member No: 38,433



I think you might need CSS to do the invert part but javascript would have to do the rest... I never heard of this script before tho... huh.gif
 
cyphervi
post Aug 8 2004, 02:44 PM
Post #5


local html help
****

Group: Member
Posts: 146
Joined: Mar 2004
Member No: 9,395



you just have to use a javascript function that says document.body.style="filter: invert;"; and changes a status variable
then set another function that does the opposite and changes the status variable
then set another function that checks the variable and decides which function to call

then do the onclick thing to load the function that checks the variable.
 
hwangalicious
post Aug 9 2004, 09:23 PM
Post #6


Newbie
*

Group: Member
Posts: 2
Joined: Aug 2004
Member No: 38,451



okay thanks. i just wasnt sure if it was doable or not, haha. happy.gif
 
Phischie
post Aug 9 2004, 10:24 PM
Post #7


The Phisch
****

Group: Member
Posts: 195
Joined: Aug 2004
Member No: 38,433



Anything is doable... someone just has to make it first. happy.gif
 

Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: