Skip to content

Instantly share code, notes, and snippets.

@nikku
Created September 5, 2011 21:00
Show Gist options
  • Select an option

  • Save nikku/1195907 to your computer and use it in GitHub Desktop.

Select an option

Save nikku/1195907 to your computer and use it in GitHub Desktop.
<p>
<a href="#" id="show-server-notice-link">Show me some server content!</a>
</p>
<script type="text/javascript">
$(function() {
$("#show-server-notice-link").click(function(event) {
$('<div/>').dialog2({
title: "Server notice",
content: "./notice.html",
id: "server-notice"
});
event.preventDefault();
});
});
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment