Load images after DOM is loaded with Lazy Load Plugin for jQuery

Load images after DOM is loaded with Lazy Load Plugin for jQuery

, on May 03, 2010 Add new comment
Load images after DOM is loaded with Lazy Load Plugin for jQuery

As the title say, this plugin loads images after the DOM is ready.

Load the jquery and the plugin.



The simplest use is to put $("img").lazyload(); inside document ready event.

$(document).ready(function() {
    $("img").lazyload();
});
Read more »

javascript, jQuery, Mootools, Prototype

Make jQuery work on the same page with Mootools and or Prototype

, , , on June 25, 2008 2 comments
Make jQuery work on the same page with Mootools and or Prototype

Some conflicts appear when using jQuery javascript library with Motools or Prototype on the same page. A workaround is using noConflict mode for jQuery.

Follow these steps:

1. Download the latest version of jQuery

2. Download jQuery compat

3. Open jquery.js, go to the end of the file and add this line jQuery.noConflict();

Read more »

jcarousel

Drupal - Jcarousel and views

, , on March 24, 2008 2 comments

Adding a Jcarousel effect to a

    of a block view.

    Install jquery_update module.

    Download Jcarousel. Unzip to theme folder.

    Create a block view, than publish it.

    Add this snippet inside the part of page.tpl.php:

    Read more »