Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

Q1351 How can I make an image flip or rotate by clicking it?

You are here: irt.org | FAQ | JavaScript | Image | Q1351 [ previous next ]

Internet Explorer 4+ can apply filters, but flipv() and fliph() flips by 180 degrees:

<img src="sample.jpg" onClick="if (document.all) this.style.filter='fliph()'">

For more filter effects see: Multimedia in Microsoft Internet Explorer

To rotate you need either a server process, a plugin or a java applet.

Feedback on 'Q1351 How can I make an image flip or rotate by clicking it?'

©2018 Martin Webb