zoom with the mouse wheel

Last post 11-17-2009, 5:34 AM by martinmalone. 3 replies.
Sort Posts: Previous Next
  •  10-16-2009, 6:20 AM 56443

    zoom with the mouse wheel

    Is it possible to disabled the zoom function of the image with the mouse wheel ?
    Filed under:
  •  10-18-2009, 11:56 PM 56472 in reply to 56443

    Re: zoom with the mouse wheel

    Hi,
     
    We will add option for this request.
     
    Currently you can override the default implementation by this way :
     
    1. <dotnetgallery:gallerybrowser runat="server" id="GalleryBrowser1" Width="720" Height="430" />  
    2. <script type="text/javascript">  
    3. function GalleryCreateImage(url,width,height)   
    4. {   
    5.     var img=document.createElement("IMG");   
    6.     img.src=url;   
    7.     img.width=width;   
    8.     img.height=height;   
    9.     return img;   
    10. }   
    11. </script>  

    Regards,
    Terry
     
     
  •  10-19-2009, 3:17 AM 56476 in reply to 56472

    Re: zoom with the mouse wheel


    Thank you
     
    Regards,
     
    Victor
  •  11-17-2009, 5:34 AM 57207 in reply to 56472

    Re: zoom with the mouse wheel

    Great fix
     
    Sorts my first problem
     
    Thank you 
View as RSS news feed in XML