forked from archan937/topup
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated the CHANGELOG, functions and toptions documentation Introduced the toption 'storeCurrent' and TopUp.restore()
- Loading branch information
Paul Engel
committed
Feb 2, 2010
1 parent
c20470c
commit 2522e92
Showing
94 changed files
with
2,763 additions
and
21 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
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
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
48 changes: 48 additions & 0 deletions
48
assets/releases/1.6.9/1. Single links/1. TopUp classes.html
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,48 @@ | ||
<html> | ||
<head> | ||
<title>Single links - Using TopUp classes</title> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/example.css"/> | ||
<script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script> | ||
</head> | ||
<body> | ||
<div id="page_background"></div> | ||
<div id="page_wrapper"> | ||
<div id="page_header" onclick="document.location.href = 'http://gettopup.com'"> | ||
<h2>TopUp</h2> | ||
<h1>The #1 Javascript Pop Up made by Paul Engel</h1> | ||
</div> | ||
<div id="page_content"> | ||
<div id="description"> | ||
<h2>TopUp classes</h2> | ||
<p> | ||
You can implement TopUp just by adding a TopUp class to a HTML element. | ||
There are multiple TopUp classes of which you can choose from. | ||
</p> | ||
<p> | ||
For TopUp with default settings, just use 'top_up'. | ||
You can also compose the TopUp class which specifies certain TopUp settings. | ||
</p> | ||
<p> | ||
When composing you can specify: | ||
</p> | ||
<ol> | ||
<li>the layout ('db' for dashboard, 'ql' for quicklook, 'fl' for flatlook)</li> | ||
<li>the type (see <a href="http://gettopup.com/documentation">documentation</a>)</li> | ||
<li>the dimensions (width'x'height)</li> | ||
</ol> | ||
<p> | ||
The composed TopUp class has to begin with 'tu_' followed by the settings joined with underscores.<br> | ||
As an example, use 'tu_ql_iframe' for a TopUp with the 'quicklook' layout and the 'iframe' type. | ||
</p> | ||
</div> | ||
<h2>Demo</h2> | ||
<div id="demo"> | ||
<a href="photos/1.jpg" class="top_up"><img src="thumbnails/1.jpg"/></a> | ||
<a href="photos/2.jpg" class="tu_ql"><img src="thumbnails/2.jpg"/></a> | ||
<a href="http://www.google.nl" class="tu_iframe_800x600">Open Google</a> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
48 changes: 48 additions & 0 deletions
48
assets/releases/1.6.9/1. Single links/2. TopUp preset.html
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,48 @@ | ||
<html> | ||
<head> | ||
<title>Single links - Using a TopUp preset</title> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/example.css"/> | ||
<script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script> | ||
</head> | ||
<body> | ||
<div id="page_background"></div> | ||
<div id="page_wrapper"> | ||
<div id="page_header" onclick="document.location.href = 'http://gettopup.com'"> | ||
<h2>TopUp</h2> | ||
<h1>The #1 Javascript Pop Up made by Paul Engel</h1> | ||
</div> | ||
<div id="page_content"> | ||
<div id="description"> | ||
<h2>TopUp preset</h2> | ||
<p> | ||
Specifying a TopUp preset is just like specifying style attributes to a CSS selector in your stylesheet. | ||
The great advantage of using presets is that it provides you to keep your HTML <strong>entirely(!)</strong> clean. | ||
</p> | ||
<p> | ||
Just call <code>TopUp.addPresets()</code> with a hash as parameter.<br> | ||
The key of each entry has to be a CSS selector and the value has to be a hash of toptions. | ||
</p> | ||
</div> | ||
<h2>Demo</h2> | ||
<div id="demo"> | ||
<div id="examples"> | ||
<a href="photos/1.jpg"><img src="thumbnails/1.jpg"/></a> | ||
<a href="photos/2.jpg"><img src="thumbnails/2.jpg"/></a> | ||
<input type="button" value="Open Google" href="http://www.google.nl" class="tu_iframe_800x600"/> | ||
</div> | ||
<script type="text/javascript"> | ||
TopUp.addPresets({ | ||
"#examples a": { | ||
effect: "clip" | ||
}, | ||
"#examples input": { | ||
shaded: 1, effect: "fade", overlayClose: 1 | ||
} | ||
}); | ||
</script> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
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,35 @@ | ||
<html> | ||
<head> | ||
<title>Single links - Using Toptions</title> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/example.css"/> | ||
<script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script> | ||
</head> | ||
<body> | ||
<div id="page_background"></div> | ||
<div id="page_wrapper"> | ||
<div id="page_header" onclick="document.location.href = 'http://gettopup.com'"> | ||
<h2>TopUp</h2> | ||
<h1>The #1 Javascript Pop Up made by Paul Engel</h1> | ||
</div> | ||
<div id="page_content"> | ||
<div id="description"> | ||
<h2>Toptions</h2> | ||
<p> | ||
Other than TopUp classes or presets, you can also use plain old options to customize your TopUp element (so called toptions). | ||
</p> | ||
<p> | ||
Just add the <code>toptions</code> attribute to your TopUp element.<br> | ||
A toption is specified as "[name] = [value]", use the comma (",") as a seperator between toptions. | ||
</p> | ||
</div> | ||
<h2>Demo</h2> | ||
<div id="demo"> | ||
<a href="photos/1.jpg" toptions="effect = clip"><img src="thumbnails/1.jpg"/></a> | ||
<a href="photos/2.jpg" toptions="shaded = 1"><img src="thumbnails/2.jpg"/></a> | ||
<input type="button" value="Open Google" href="http://www.google.nl" toptions="type = iframe, effect = fade, width = 800, height = 600, overlayClose = 1"/> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
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,2 @@ | ||
This is the simplest type of all TopUp implementations. | ||
A single HTML element (in most cases a link) refers to a certain location which will be presented by the TopUp module when clicked on that element. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
51 changes: 51 additions & 0 deletions
51
assets/releases/1.6.9/2. Grouped links/1. TopUp preset.html
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,51 @@ | ||
<html> | ||
<head> | ||
<title>Grouped links - Using a TopUp preset</title> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/example.css"/> | ||
<script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script> | ||
</head> | ||
<body> | ||
<div id="page_background"></div> | ||
<div id="page_wrapper"> | ||
<div id="page_header" onclick="document.location.href = 'http://gettopup.com'"> | ||
<h2>TopUp</h2> | ||
<h1>The #1 Javascript Pop Up made by Paul Engel</h1> | ||
</div> | ||
<div id="page_content"> | ||
<div id="description"> | ||
<h2>TopUp preset</h2> | ||
<p> | ||
Specifying a TopUp preset is just like specifying style attributes to a CSS selector in your stylesheet. | ||
The great advantage of using presets is that it provides you to keep your HTML <strong>entirely(!)</strong> clean. | ||
</p> | ||
<p> | ||
Just call <code>TopUp.addPresets()</code> with a hash as parameter.<br> | ||
The key of each entry has to be a CSS selector and the value has to be a hash of toptions. | ||
</p> | ||
<p> | ||
So for grouping links, just specify <code>group: [name]</code> in the preset. | ||
</p> | ||
</div> | ||
<h2>Demo</h2> | ||
<div id="demo"> | ||
<div id="examples"> | ||
<a href="photos/by-ben-adamson.jpg"><img src="thumbnails/by-ben-adamson.jpg"/></a> | ||
<a href="photos/2.jpg"><img src="thumbnails/2.jpg"/></a> | ||
<a href="photos/3.jpg"><img alt="At Sunset" src="thumbnails/3.jpg"/></a> | ||
</div> | ||
<script type="text/javascript"> | ||
TopUp.addPresets({ | ||
"#examples a": { | ||
title: "Gallery {alt} ({current} of {total})", | ||
group: "examples", | ||
readAltText: 1, | ||
shaded: 1 | ||
} | ||
}); | ||
</script> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
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,31 @@ | ||
<html> | ||
<head> | ||
<title>Single links - Using Toptions</title> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/style.css"/> | ||
<link rel="stylesheet" type="text/css" href="../stylesheets/example.css"/> | ||
<script type="text/javascript" src="http://gettopup.com/releases/latest/top_up-min.js"></script> | ||
</head> | ||
<body> | ||
<div id="page_background"></div> | ||
<div id="page_wrapper"> | ||
<div id="page_header" onclick="document.location.href = 'http://gettopup.com'"> | ||
<h2>TopUp</h2> | ||
<h1>The #1 Javascript Pop Up made by Paul Engel</h1> | ||
</div> | ||
<div id="page_content"> | ||
<div id="description"> | ||
<h2>Toptions</h2> | ||
<p> | ||
Just add a <code>toptions</code> attribute with "group = [name]" to your TopUp elements. | ||
</p> | ||
</div> | ||
<h2>Demo</h2> | ||
<div id="demo"> | ||
<a href="photos/by-ben-adamson.jpg" toptions="group = links, effect = clip"><img src="thumbnails/by-ben-adamson.jpg"/></a> | ||
<a href="http://smashingmagazine.com" toptions="group = links, shaded = 1, type = iframe, effect = fade, width = 1010, height = 600, layout = quicklook">Smashing Magazine</a> | ||
<input type="button" value="Open Google" href="http://www.google.nl" toptions="group = links, type = iframe, effect = fade, width = 900, height = 475, overlayClose = 1, layout = quicklook"/> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
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,2 @@ | ||
TopUp offers you to group links together so you can navigate between them in the TopUp. | ||
In most cases the group feature is used for image galleries, but TopUp provides you the ability to group ANY type of links together. |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.