Skip to content

Instantly share code, notes, and snippets.

@ayn
Created October 24, 2008 00:46
Show Gist options
  • Save ayn/19297 to your computer and use it in GitHub Desktop.
Save ayn/19297 to your computer and use it in GitHub Desktop.
<style>
.hiding{display:none;}
</style>
<fb:dialog id="my_dialog" cancel_button=1>
<fb:dialog-title>My Little Dialog</fb:dialog-title>
<fb:dialog-content>
<div id='my_hidden_div' class='hiding'>hidden stuff</div>
<div id='test'><a href='#' onclick="document.getElementById('my_hidden_div').toggleClassName('hiding')">toggle the hidden div!</a></div>
</fb:dialog-content>
</fb:dialog>
<a href="#" clicktoshowdialog="my_dialog">show dialog</a>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment