Hello,
I am have implemented a modalbox into my website, the works on a <a>
like below,
<a href="http://www.example.com" rel="moodalbox">External Site</a>
Click this link will launch example.com in a modal window. I am wanting to recreate this effect however instead of using a link I would like to use a checkbox, is this possible? I know that checkboxes do not support rel
or href
, so with mootools is there a way to put a listener on the checkbox and launch the modal box to a specified url?
Any help or advice would be greatly appreciated.