Skip to content

Commit 2eada13

Browse files
committed
Edit readme to add some documentation.
1 parent ad26e51 commit 2eada13

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
11
# jQuery Bootstrap Dialog
22

3-
The bootstrap library from twitter is amazing. This is a jquery plugin to create bootstrap dialogs. Its API is very similar to that of jQuery UI dialog.
3+
The [bootstrap][] library from twitter is amazing. This is a jquery plugin to create bootstrap dialogs. Its API is very similar to that of jQuery UI dialog. It is still in initial stages, but quite usable.
4+
5+
## Example
6+
7+
``` javascript
8+
$("<p>Hello Twitter Bootstrap</p>").bootstrap_dialog({
9+
title: "Twitter Bootstrap Dialog",
10+
ok: function(){ $(this).bootstrap_dialog("close"); }
11+
});
12+
```
13+
![Example](http://i.imgur.com/c5Xzm.png)
14+
15+
[bootstrap]: http://twitter.github.com/bootstrap

0 commit comments

Comments
 (0)