Results 1 to 2 of 2

Thread: Filters With Onclick?

  1. #1
    Join Date
    Aug 2005
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Filters With Onclick?

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I didn't know they had a filter for that. This worked here, IE only:
    HTML Code:
    <input type="button" value="Test" onclick="document.body.style.filter='fliph()'">
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •