wow jquery dialog

The lightweight jQuery dialog. Less < 1 kb

 
Special release! This page use a WOW special release to integrate with Bootstrap CSS environment.
Simple alert dialog

code:

$.wow('You are <b>lucky</b>!<br>Now you can use wow jquery dialog!', 'Title dialog');

Simple confirm dialog

code:


			$.wow('Do you like this?','wow confirm',{
				'buttons': {
					'Yes': {
						'action': function(){
							//here write your code
							alert("Good answer");
						}
					},
					'No': {
						'class'	: 'btn-info',
						'action': function(){}
					}
				}
			});
		

multiple answer dialog

code:


			$.wow('Do you like this?','wow confirm',{
				'buttons': {
					'Yes': {
						'action': function(){
							//here write your code
							alert("Good answer");
						}
					},
					'No': {
						'class'	: 'btn-info',
						'action': function(){}
					},
					'Maybe': {
						'class'	: 'btn-warning',
						'action': function(){
							//here write your code
							alert("Wrong answer");
						}
					}
				}
			});
		

another multiple answer dialog

code:


		$.wow('Choose one number','Keyboard',{
			'buttons': {
				'1': {	'action': function(){/*here write your code*/}},
				'2': {	'action': function(){/*here write your code*/}},
				'3': {	'action': function(){/*here write your code*/}},
				'4': {	'action': function(){/*here write your code*/}},
				'5': {	'action': function(){/*here write your code*/}},
				'6': {	'action': function(){/*here write your code*/}},
				'7': {	'action': function(){/*here write your code*/}},
				'0': {	'action': function(){/*here write your code*/},class:'btn-danger'}
			}
		});
		

Get element content
Put this element content on dialog!

Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Donec quam felis, ultricies nec, pellentesque eu, pretium quis, sem. Nulla consequat massa quis enim. Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. In enim justo, rhoncus ut, imperdiet a, venenatis vitae, justo. Nullam dictum felis eu pede mollis pretium. Integer tincidunt. Cras dapibus. Vivamus elementum semper nisi. Aenean vulputate eleifend tellus. Aenean leo ligula, porttitor eu, consequat vitae, eleifend ac, enim. Aliquam lorem ante, dapibus in, viverra quis, feugiat a,

code:


		$('#GetThisElementContent').wow('Title');