comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Mars Express HRSC image viewer
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Mars Express HRSC image viewer [message #53274 is a reply to message #53146] Fri, 30 March 2007 11:11 Go to previous message
Jean H. is currently offline  Jean H.
Messages: 472
Registered: July 2006
Senior Member
greg michael wrote:
>> Certainly. This can be handled with some client side javaScript. The
>> onDblClick event is supported by Netscape v6+ and IE4+ for most HTML
>> elements.
>
> Hi Rick,
>
> Thanks for the suggestion. I found this sample code:
>
> <input type="button" ondblclick="JavaScript: alert( 'ondblclick
> event' )" value="Double Click Me!">
>
> That detects the double-click - do you know how I can pass that
> information back to the server?
>
> Greg

http://javascript.internet.com/miscellaneous/enlarge-image.h tml

<img src="img/picture4-sm.gif" height="150" name="image1"
ondblclick="enlargeImage1()" onclick="dropImage1()">

So I guess you can write a function that redirect you to your image
page, with a tag in the address stating that a double click occurred..
window.location = "http://www.google.com/?dblclik=true" or you might
even skip this and have a function with the zoom parameters (double
click) and another one with the pan parameters (single click)

Jean
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Computer Job Available!
Next Topic: Re: filling high resolution islands

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 02:22:21 PDT 2025

Total time taken to generate the page: 0.39940 seconds