danielvlopes / popwindow
- Source
- Commits
- Network (2)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
| name | age | message | |
|---|---|---|---|
| |
README.textile | Sun Dec 28 10:33:31 -0800 2008 | |
| |
jquery.bgiframe.js | Sun Dec 28 10:12:08 -0800 2008 | |
| |
jquery.popwindow.js | Tue Mar 24 10:40:08 -0700 2009 | |
| |
sample.html | Tue Mar 24 10:40:08 -0700 2009 |
README.textile
PopWindow
Most easy way to use divs or other element as tooltip style windows withou modal, popups or lightbox
Usage
Javascript
<script src="http://code.jquery.com/jquery-latest.js"></script> <script src="jquery.popwindow.js"></script> <script src="jquery.bgiframe.js"></script>$(document).ready(function(){
$(“#show”).popwindow(“#popup_div1”);
});
XHTML
<input type="button" id="show" value="Show Message in Bottom"/> <div id="popup_div1" class="popup_msg"> Popup Message<br /> Message goes here <br /> Message goes here
CSS
.popup_msg{ display:none; }
Possible Params
- position => “bottom”,“right”,“top”,“left”
- offsetTop => Any number value (default is 10)
- offsetSides => Any number value (default is 0)
- transitionSpeed => “fast”,“slow” (default is “fast”)
