Change Image Checkboxes Widget size when mouse over

  • Profile Image
    enetknowhow
    Asked on April 09, 2016 at 08:19 AM

    I need a style code css for  Witgeds Image Checkboxes  for Mous over show a big image. evry code css i try is no action or the image (class default) is changes bud not by mous over.

    you have a code for me is posible?

  • Profile Image
    Huberson
    Answered on April 09, 2016 at 11:53 AM

    What you actually need is a JavaScript code not CSS. For that you will need to add the form to your website using Source Code method and put the JavaScript to add this behavior.

    Get-the-Full-Source-Code-of-your-Form

    1- Create a function to modify the image size

     function big(img) {

            img.style.height ="20px"

            img.style.width ="20px"

     

     }

    2- Place onmouseover event as an attribute to the image and add the function name as its value with the 'this' parameter (any name can be used for the function).

    2- onmouseover="big(this)" 

     

    Hope that answers your concern.