Skip to content

Commit d54578f

Browse files
committed
It's finally a collection! (Got more than one plugin :D)
1 parent 424f652 commit d54578f

18 files changed

+22
-4
lines changed

JQuery.LateLoader/README

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
jQuery Late Loader
2+
3+
Enables late loading of javascript/css files.
4+
5+
Created especially for the scenario of having multiple dynamic controls on a page that may need the same resources.
6+
See the sample for more details..
7+
8+
Includes error handling for missing files.
9+
10+
Currently lacking support for recognizing errors in remote (not from the same domain) css files for non IE browsers.

JQuery.LateLoader/Sample/Loaded1.html

Whitespace-only changes.

JQuery.LateLoader/Sample/Loaded2.html

Whitespace-only changes.

JQuery.LateLoader/Sample/Loaded3.html

Whitespace-only changes.

JQuery.LateLoader/Sample/Loaded4.html

Whitespace-only changes.

JQuery.LateLoader/Sample/Sample.html

Whitespace-only changes.

JQuery.LateLoader/Sample/script1.js

Whitespace-only changes.

JQuery.LateLoader/Sample/script2.js

Whitespace-only changes.

JQuery.LateLoader/Sample/style1.css

Whitespace-only changes.

JQuery.LateLoader/Sample/style2.css

Whitespace-only changes.
File renamed without changes.

test.html renamed to JQuery.LateLoader/Test/test.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
66

7-
<script type="text/javascript" src="jQueryLateLoader.js"></script>
7+
<script type="text/javascript" src="../jQueryLateLoader.js"></script>
88

99
<script type="text/javascript">
1010
function LogToConsole(toLog) {
@@ -37,7 +37,7 @@
3737
});
3838
$("#TestLocalJS").click(function() {
3939
$.LateLoader.LoadScriptOrCSS({
40-
URL: 'test.js',
40+
URL: '../test.js',
4141
LoadedCallBackFunction: function() {
4242
LogToConsole('Local Script Loaded...');
4343
}
@@ -62,7 +62,7 @@
6262
});
6363
$("#testLocalCSS").click(function() {
6464
$.LateLoader.LoadScriptOrCSS({
65-
URL: 'test.css',
65+
URL: '../test.css',
6666
Type: 'css',
6767
LoadedCallBackFunction: function() {
6868
LogToConsole('Local CSS Loaded.. Check out the background color!');
File renamed without changes.
File renamed without changes.

README

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
Collection of jQuery plugins
1+
Collection of jQuery plugins
2+
3+
See each folder for more details

jQuery.printElement/README

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
jQuery Print Element
2+
3+
Sends an element to print.
4+
5+
Inspired by PrintArea (http://plugins.jquery.com/project/PrintArea) and
6+
http://stackoverflow.com/questions/472951/how-do-i-print-an-iframe-from-javascript-in-safari-chrome
File renamed without changes.

0 commit comments

Comments
 (0)