R
RickL
Hi,
I'm fairly new to web application development and I'm creating an
application for camera control, which leads to the question.
I want to create a button that can respond to mouse down and mouse
up events on the client-side. For example, suppose you have a button
to control the zoom lens on a camera. When you click down on the
mouse, the button would send a Zoom In command. When you release
the mouse, the button would send a Zoom Stop command.
This is fairly easy to do in an MFC or C# windows application. But I'm
not sure how to accomplish the same behavior on a web page.
From what I've read, this can be done with JavaScript. But I'm not sure
if I should use an asp:button or an HTML button, or maybe an image.
Thanks for any suggestions?
I'm fairly new to web application development and I'm creating an
application for camera control, which leads to the question.
I want to create a button that can respond to mouse down and mouse
up events on the client-side. For example, suppose you have a button
to control the zoom lens on a camera. When you click down on the
mouse, the button would send a Zoom In command. When you release
the mouse, the button would send a Zoom Stop command.
This is fairly easy to do in an MFC or C# windows application. But I'm
not sure how to accomplish the same behavior on a web page.
From what I've read, this can be done with JavaScript. But I'm not sure
if I should use an asp:button or an HTML button, or maybe an image.
Thanks for any suggestions?