Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

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

irt.org | Knowledge Base | JavaScript | Image | Q1351 [ previous next ]

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

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?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.