-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
98 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="popup" id="just_a_test"> | ||
<h3 class="title">AJAX Popup</h3> | ||
<div class="popup_content"> | ||
<p>Hello from the AJAX world!</p> | ||
<p> | ||
<a href="javascript: Element.closePopup('just_a_test')">Close</a> | ||
</p> | ||
</div> | ||
</div> |
File renamed without changes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<div class="popup draggable" id="another_test"> | ||
<h3 class="title">Draggable AJAX Popup</h3> | ||
<div class="popup_content"> | ||
<p>Try to drag me!</p> | ||
<p> | ||
<a href="javascript: Element.closePopup('another_test')">Close</a> | ||
</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,79 @@ | ||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> | ||
<html> | ||
<head> | ||
<title>Test</title> | ||
<link href="facebook.css" rel="stylesheet" type="text/css" /> | ||
<script src="../javascripts/prototype.js" type="text/javascript"></script> | ||
<script src="../javascripts/effects.js" type="text/javascript"></script> | ||
<!-- dragdrop.js is required if you want draggable windows --> | ||
<script src="../javascripts/dragdrop.js" type="text/javascript"></script> | ||
<script src="../javascripts/lowpro.js" type="text/javascript"></script> | ||
<script src="../javascripts/popup.js" type="text/javascript"></script> | ||
<script type="text/javascript"> | ||
//<![CDATA[ | ||
|
||
// We need to tell Popup.js where our images are: | ||
Popup.BorderImage = '../images/popup_border_background.png'; | ||
Popup.BorderTopLeftImage = '../images/popup_border_top_left.png'; | ||
Popup.BorderTopRightImage = '../images/popup_border_top_right.png'; | ||
Popup.BorderBottomLeftImage = '../images/popup_border_bottom_left.png'; | ||
Popup.BorderBottomRightImage = '../images/popup_border_bottom_right.png'; | ||
|
||
// Add trigger behavior | ||
Event.addBehavior({ 'a.popup': Popup.TriggerBehavior() }); | ||
|
||
//]]> | ||
</script> | ||
</head> | ||
<body> | ||
<p> | ||
<a class="popup" href="#test">Popup</a> | ||
</p> | ||
<p> | ||
<a class="popup" href="ajax.html">Ajax Popup</a> | ||
</p> | ||
<p> | ||
<a class="popup" href="#search">Popup Input</a> | ||
</p> | ||
<p> | ||
<a class="popup" href="#dragme">Draggable</a> | ||
</p> | ||
<p> | ||
<a class="popup" href="draggable_ajax.html">Draggable Ajax Popup</a> | ||
</p> | ||
<div class="popup" id="test" style="display: none; width: 20em;"> | ||
<h3 class="title">Popup Window</h3> | ||
<div class="popup_content"> | ||
<p> | ||
This little javascript library allows you to create Facebook-style | ||
popup windows with LowPro and Prototype. | ||
</p> | ||
<p> | ||
<a href="javascript: Element.closePopup('test')">Close</a> | ||
</p> | ||
</div> | ||
</div> | ||
<div class="popup" id="search" style="display: none"> | ||
<h3 class="title">Search</h3> | ||
<div class="popup_content"> | ||
<form> | ||
<p> | ||
<input id="query" name="query" type="text" value="" /> | ||
</p> | ||
<p> | ||
<a href="javascript: Element.closePopup('search')">Close</a> | ||
</p> | ||
</form> | ||
</div> | ||
</div> | ||
<div class="popup draggable" id="dragme" style="display: none"> | ||
<h3 class="title">Drag Me</h3> | ||
<div class="popup_content"> | ||
<p>Try dragging me around by my title.</p> | ||
<p> | ||
<a href="javascript: Element.closePopup('dragme')">Close</a> | ||
</p> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.