I am using this plugin https://github.com/cdp1337/jquery.readonly to make a checkbox readonly. Functionality working fine.
Checkbox Advertiser ID is a readonly checkbox.
But, I needed to distinguish the readonly checkboxes from the normal ones, so I added the following css -
.readonly_overlay{ background-color: #666; opacity: 0.3;}
That worked fine too.
But, now the problem is in the case where the elements are movable/scrollable. See fiddle - See fiddle - http://jsfiddle.net/cr3fB/5/
Observe that when we scroll downwards, the readonly overlays move outside the blue borders of the box, over the "Outside Container" text.
What I am looking for
Any of these -
some further tweaks/fixes to the same plugin I am using (this plugin does not seem to be maintained anymore).
Some other plugins, which can make checkboxes, radiobuttons etc readonly (elements which cannot be made readonly in old HTML - less than HTML 5) while also distinguishing them from editable checkboxes.