Skip to content
jquery dialog plugin
CSS JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
images
styles
LICENSE
README.md
bower.json
jquery.dialog.js

README.md

JQUERY DIALOG

jquery dialog plugin

Version

0.2.0

How to use

Connect jQuery library and jquery.dialog.js script files

<script src="jquery.min.js"></script>
<script src="jquery.dialog.js"></script>

Connect CSS file dialog.css

<link rel="styleshet" href="dialog.css" />

HTML part

    <a href="" data-dialog="#dialog" id="button">dialog</a>
    <div id="dialog">Jquery Dialog plugin</div>

JavaScript part

<script>
	$(function() {
			$('#button').dialog({
				show: "fade",
				showSpeed: 500
			});
		});
</script>

Options

Option Values Description
show none
fade
appear animation type
showSpeed int animation speed
hide none
fade
disappear animation type
hideSpeed int animation speed

Events

Event Description
dialog.beforeShow call befor show
dialog.afterShow call after show
dialog.beforHide call befor hide
dialog.afterHide call after hide

License

MIT

You can’t perform that action at this time.