how can i.. |
how can i.. |
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?
|
|
|
|
![]() |
| *Kathleen* |
Aug 8 2004, 02:23 PM
Post
#2
|
|
Guest |
I've never heard of that before...do you have an example?
|
|
|
|
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?
|
|
|
|
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...
|
|
|
|
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. |
|
|
|
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.
|
|
|
|
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.
|
|
|
|
![]() ![]() |