I want to be able to dismiss my overlay(s) when I click anywhere 'outside' it on the page.
This page of the documentation suggests that such is the default behaviour:
http://flowplayer.org/tools/overlay/index.html - but that "By default, overlays are closed when the mouse is clicked outside the overlay area."
That is, 'closeOnClick true' is the default.
My code is:
Since neither does the demo athttp://flowplayer.org/tools/demos/overlay/index.html, I'm wondering what could be going wrong.
Thanks!
This page of the documentation suggests that such is the default behaviour:
http://flowplayer.org/tools/overlay/index.html - but that "By default, overlays are closed when the mouse is clicked outside the overlay area."
That is, 'closeOnClick true' is the default.
My code is:
<script type="text/javascript" >
// What is $(document).ready ? See:http://flowplayer.org/tools/documentation/basics.html#document_ready
$(document).ready(function() {
$("span[rel]").overlay({
closeOnClick:true
});
});
Since neither does the demo athttp://flowplayer.org/tools/demos/overlay/index.html, I'm wondering what could be going wrong.
Thanks!
