Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

flip image using java script

Status
Not open for further replies.

jung1975

MIS
Apr 16, 2002
5
US
I am looking for a java script which can flip (turns upside down) or flop (reverse) an image in the popup window.

Here is the java script that I am using for popup window. How can I make the image rotatable (clockwise)?

<script language="javascript" type="text/javascript">
function Popup(transId)
{
mywindow = window.open ("Checkimage.aspx?TransactionId=" + transId,"mywindow","height=300,width=300,location=1,status=1,scrollbars=1,resizable=1");

}


function Submit1_onclick() {

}

</script>
 
You have to admit IE's filters are more advanced than any other browser, with IE this would be simply solved with,

Code:
<img src="[URL unfurl="true"]http://www.google.com/images/logo.gif"[/URL] style="filter: flipv">
<img src="[URL unfurl="true"]http://www.google.com/images/logo.gif"[/URL] style="filter: fliph">

it's just a shame the rest of the browser lets it down. By advanced filters I mean the range of filters and the things that can be done with them, having said that they still need looking into themselves, take this for example,

Code:
<img src="[URL unfurl="true"]http://www.google.com/images/logo.gif"[/URL] style="filter:wave(strength=999999)">

I don't know about anyone else but that would crash my browser, especially if it is in my html page more than once.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top