Permalink
Browse files

It's finally a collection! (Got more than one plugin :D)

  • Loading branch information...
1 parent 424f652 commit d54578fa699ddc564e22e0522563fbf2974fed6e @erikzaadi committed Jul 16, 2009
View
@@ -0,0 +1,10 @@
+jQuery Late Loader
+
+Enables late loading of javascript/css files.
+
+Created especially for the scenario of having multiple dynamic controls on a page that may need the same resources.
+See the sample for more details..
+
+Includes error handling for missing files.
+
+Currently lacking support for recognizing errors in remote (not from the same domain) css files for non IE browsers.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
File renamed without changes.
@@ -4,7 +4,7 @@
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
- <script type="text/javascript" src="jQueryLateLoader.js"></script>
+ <script type="text/javascript" src="../jQueryLateLoader.js"></script>
<script type="text/javascript">
function LogToConsole(toLog) {
@@ -37,7 +37,7 @@
});
$("#TestLocalJS").click(function() {
$.LateLoader.LoadScriptOrCSS({
- URL: 'test.js',
+ URL: '../test.js',
LoadedCallBackFunction: function() {
LogToConsole('Local Script Loaded...');
}
@@ -62,7 +62,7 @@
});
$("#testLocalCSS").click(function() {
$.LateLoader.LoadScriptOrCSS({
- URL: 'test.css',
+ URL: '../test.css',
Type: 'css',
LoadedCallBackFunction: function() {
LogToConsole('Local CSS Loaded.. Check out the background color!');
File renamed without changes.
File renamed without changes.
View
4 README
@@ -1 +1,3 @@
-Collection of jQuery plugins
+Collection of jQuery plugins
+
+See each folder for more details
@@ -0,0 +1,6 @@
+jQuery Print Element
+
+Sends an element to print.
+
+Inspired by PrintArea (http://plugins.jquery.com/project/PrintArea) and
+http://stackoverflow.com/questions/472951/how-do-i-print-an-iframe-from-javascript-in-safari-chrome
File renamed without changes.

0 comments on commit d54578f

Please sign in to comment.