Hi
I am using some javascript associated with text... it works fine in Firefox, but Opera seems less happy...
It basically writes to a hidden textbox onfocus, then then onclick the contents of the box is written into the URL (and the form is submitted) for PHP to pick up and pass to ImageMagick... The problem is definitely in the way the Opera browser handles the code below:
<a href="#" onfocus="document.crop.reOrientate.value='270';return false;" onclick="document.forms.crop.submit();">Left 90 Degrees</a>
<a href="#" onfocus="document.crop.reOrientate.value='180';return false;" onclick="document.forms.crop.submit();">180 Degrees</a>
<a href="#" onfocus="document.crop.reOrientate.value='90';return false;" onclick="document.forms.crop.submit();">Right 90 Degrees</a>
How can I get opera to like it?
Thanks
I am using some javascript associated with text... it works fine in Firefox, but Opera seems less happy...
It basically writes to a hidden textbox onfocus, then then onclick the contents of the box is written into the URL (and the form is submitted) for PHP to pick up and pass to ImageMagick... The problem is definitely in the way the Opera browser handles the code below:
<a href="#" onfocus="document.crop.reOrientate.value='270';return false;" onclick="document.forms.crop.submit();">Left 90 Degrees</a>
<a href="#" onfocus="document.crop.reOrientate.value='180';return false;" onclick="document.forms.crop.submit();">180 Degrees</a>
<a href="#" onfocus="document.crop.reOrientate.value='90';return false;" onclick="document.forms.crop.submit();">Right 90 Degrees</a>
How can I get opera to like it?
Thanks