Log in

View Full Version : Filters With Onclick?



TheBradAcad
08-11-2005, 07:47 AM
My friend had a website once where he had buttons that you could click to make the page change thanks to filters.

the code was something like this...

<button onClick="document.body.style.filter="Fliph()"">Test</buttoN>

of course that one doesn't work... i cant figure out the right combination.. can anyone help me with it? i want a button you can click to flip the current page that they are viewing (the one with the button on it).

thanks for the help

jscheuer1
08-11-2005, 05:29 PM
I didn't know they had a filter for that. This worked here, IE only:

<input type="button" value="Test" onclick="document.body.style.filter='fliph()'">