Skip to content

Commit

Permalink
v1.4.3-beta. Fixed left right issue. Upated sparkle references. Updat…
Browse files Browse the repository at this point in the history
…ed docs.
  • Loading branch information
balupton committed Jul 9, 2010
1 parent 208df48 commit 5e881c6
Show file tree
Hide file tree
Showing 7 changed files with 401 additions and 153 deletions.
18 changes: 18 additions & 0 deletions CHECKLIST.txt
@@ -0,0 +1,18 @@
Benjamin "balupton" Lupton's Project Checklist v0.1.1 (July 09, 2010)

All Projects:
- Have you run all the unit tests for the project?
- Have you remembered to remake the project? [make all]
- Have you tested in all major browsers?
- Have you ensured all documentation dates are correct?
- Have you ensured all documentation project links are current?
- Have you ensured version changelog entries have been added to appropriate file?
- If yes; then you are good to tag this release if you like [git tag -s "v..."]
- To push; use [git push --all] then [git push --tags]

Project Specific:
- Does lightbox show on all browsers?
- Does lightbox more info show correctly?
- Are all links and text in documentation correct?
- Do the left and right image buttons work?
- Do the left and right keyboard buttons work?
19 changes: 13 additions & 6 deletions README.txt
Expand Up @@ -2,7 +2,7 @@
/**
* jQuery Lightbox Plugin (balupton edition) - Lightboxes for jQuery
* Copyright (C) 2007-2010 Benjamin Arthur Lupton
* http://github.com/balupton/jquery-lightbox
* http://www.balupton.com/projects/jquery-lightbox
*
* Permission is granted to copy, distribute and/or modify this document
* under the terms of the GNU Free Documentation License, Version 1.2
Expand All @@ -11,15 +11,15 @@
* Texts. A copy of the license is included in the section entitled "GNU
* Free Documentation License".
*
* @name jquery_lightbox: jquery.lightbox.js
* @package jQuery Lightbox Plugin (balupton edition)
* @version v1.4.2-beta
* @date June 29, 2010
* @name readme
* @package jquery-lightbox
* @version v1.4.3-beta
* @date July 09, 2010
* @category jQuery plugin
* @author Benjamin "balupton" Lupton {@link http://www.balupton.com}
* @copyright (c) 2007-2010 Benjamin Arthur Lupton {@link http://www.balupton.com}
* @license GNU Free Documentation License - {@link http://www.gnu.org/licenses/fdl.html}
* @example Visit {@link http://github.com/balupton/jquery-lightbox} for more information.
* @example Visit {@link http://www.balupton.com/projects/jquery-lightbox} for more information.
*/
----

Expand Down Expand Up @@ -174,6 +174,13 @@ How to apply options?

Changelog:

v1.4.3-beta (July 09, 2009)
- Fixed left and right keyboard buttons
- Added Checklist
- Updated sparkle dependencies
- Fixed some typos with the documentation. And added link to the wordpress plugin at the top (as well as bottom).
- Updated linkback and other similar links to balupton site, rather than github site

v1.4.2-beta (June 29, 2009)
- Forgot to remake

Expand Down
39 changes: 25 additions & 14 deletions demo/index.html
Expand Up @@ -26,7 +26,7 @@

<!-- Include this demo's requirements -->
<link type="text/css" rel="stylesheet" media="screen" href="./styles/index.css" />
<script type="text/javascript" src="./scripts/jquery.beautyOfCode.min.js" />
<script type="text/javascript" src="./scripts/jquery.beautyOfCode.min.js"></script>
<script type="text/javascript">/*<![CDATA[*/
$.beautyOfCode.init({
defaults: { gutter: true },
Expand All @@ -42,6 +42,7 @@ <h2><a href="http://github.com/balupton/jquery-lightbox/downloads" title="Downlo
<h2><a href="http://github.com/balupton/jquery-lightbox" title="Project Page">Project Page</a></h2>
<h2><a href="http://github.com/balupton/jquery-lightbox/tree/master" title="Source Code">Source Code</a></h2>
<h2><a href="http://getsatisfaction.com/balupton/products/balupton_jquery_lightbox" title="Get Support">Get Support</a></h2>
<h2><a href="http://wordpress.org/extend/plugins/jquery-lightbox-balupton-edition/" title="Wordpress Plugin">Wordpress Plugin</a></h2>
</div>

<div class="section">
Expand Down Expand Up @@ -110,7 +111,7 @@ <h1>Installation</h1>
<h2>Step 1. Download jQuery Lightbox, and extract it to your hard drive</h2>

<h2>Step 2. Move the extracted <code>jquery-lightbox</code> directory to your website's root/home folder</h2>
<p>If all the files were extracted without being in a directory, create a new directory called <code>jquery-lightbox</code> and use that.</p>
<p>If all the files were extracted without being in a directory, create a new directory called <code>jquery-lightbox</code> and place the extracted files in that.</p>

<h2>Step 3. Include jQuery (insert into your page's head tag)</h2>
<p>If your page already has jQuery included, you can skip this step.</p>
Expand Down Expand Up @@ -209,7 +210,7 @@ <h2>What if I would like to turn off the top right linkback?</h2>
<p>So pick one or the other, and apply the customisation and you won't have the linkback anymore!</p>

<h2>What if I would like to translate it into my own language?</h2>
<p>You can do this to! So we are going to use the second style above, as there is a lot of text that could be translated. To translate from english to english we can use:</p>
<p>You can do this too! So we are going to use the second style above, as there is a lot of text that could be translated. To translate from english to english we can use:</p>
<code class="code language-html">
&lt;script type="text/javascript"&gt;$(function(){
$.Lightbox.construct({
Expand All @@ -233,7 +234,7 @@ <h2>What if I would like to translate it into my own language?</h2>
});
});&lt;/script&gt;
</code>
<p>So pick one or the other, and apply the customisation and you won't have the linkback anymore!</p>
<p>So there you have it, the left side is what is to be translated, and the right is the text that will be used as the translation!. It's that easy.</p>

<h2>That's cool, what other customisations do you support?</h2>
<p>A whole bunch! But you will have to read the readme for all the details and use cases! You can find the readme in your jquery lightbox download as <code>README.txt</code>.</p>
Expand Down Expand Up @@ -324,18 +325,28 @@ <h1>Enjoy!!!</h1>
</p></form>
<br />
</div>

<!-- Google Analytics -->
<script type="text/javascript">
//<![CDATA[
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
//]]>
</script><script type="text/javascript">
//<![CDATA[
var pageTracker = _gat._getTracker("UA-4446117-1");
pageTracker._initData();
pageTracker._trackPageview();
//]]>
//<![CDATA[
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
//]]>
</script>
<script type="text/javascript" src="./scripts/modernizr-1.5.min.js"></script>
<script type="text/javascript">
//<![CDATA[
try {
var pageTracker = _gat._getTracker("UA-4446117-1");
pageTracker._initData();
pageTracker._setCustomVar(1, "html5.boxshadow", Modernizr.boxshadow ? "yes" : "no" , 2 );
pageTracker._setCustomVar(2, "html5.multiplebgs", Modernizr.multiplebgs ? "yes" : "no", 2 );
pageTracker._setCustomVar(3, "html5.fontface", Modernizr.fontface ? "yes" : "no", 2 );
pageTracker._setCustomVar(4, "html5.csstransitions", Modernizr.csstransitions ? "yes" : "no", 2 );
pageTracker._setCustomVar(5, "html5.borderradius", Modernizr.borderradius ? "yes" : "no", 2 );
pageTracker._trackPageview();
} catch(err) {}
//]]>
</script>

</body>
Expand Down
28 changes: 28 additions & 0 deletions demo/scripts/modernizr-1.5.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 5e881c6

Please sign in to comment.