Hi jsfarum,
Please try the example below. It shows you how to catch the mouseover and mouseout event. And change the mouse to 'hand'.
- <%@ Page Language="C#" %>
-
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title>example</title>
- </head>
- <body>
- <form runat="server">
- <asp:Image runat="server" ID="Uploader1Insert" AlternateText="Upload File" ImageUrl="~/sampleimages/upload.png"
- onmouseover="showMessage()" />
- <CuteWebUI:UploadAttachments ID="Attachment1" runat="server" InsertButtonID="Uploader1Insert">
- </CuteWebUI:UploadAttachments>
-
- </form>
- </body>
- </html>
-
- <script type="text/javascript">
- function showMessage()
- {
-
-
- }
- function CuteWebUI_AjaxUploader_OnMantleButton(btn,div)
- {
-
- div.onmouseover=function()
- {
-
- div.style.cursor='pointer';
- alert("over");
- }
- div.onmouseout=function()
- {
- alert("out");
- }
- }
-
- </script>
Regards,
Ken