lundi 31 août 2015

Whenever I click the checkbox the area should be highlighted using imagemapster

Whenever I click a checkbox the area should be highlighted or whenever I click the area the checkbox would be automatically ticked

This is my code jQuery code.

 $(document).ready(function (){

    $('img').mapster({
    singleSelect : false,
    clickNavigate : true,
    fill:false,
    stroke:true,
    strokeOpacity:1,
    strokeWidth:1,
    strokeColor:'ff0000',
    mapKey:'data-text',
    listKey:'data-text',
    });
});

for 1 sample of checkbox

<label class="checkbox-inline">
    <input type="checkbox" data-text="lipsize" id="inlineCheckbox6">Lip size and/or volume
</label>




Aucun commentaire:

Enregistrer un commentaire