Ajax Updates |
- MooRTE – Rich Text Editor Control using MooTools
- jClip jQuery plugin for image and content clipping
- jAni – Jquery Animation for Background Images
- Flexible Context Menus: Jeegocontext
MooRTE – Rich Text Editor Control using MooTools Posted: 30 Nov 2009 12:04 PM PST MooRTE is a rich text editor control using MooTools JavaScript framework. The script is light-weight, customizable and contains a lot of options for its skinning. Browser Compatibility Related Listings:
| |||||
jClip jQuery plugin for image and content clipping Posted: 30 Nov 2009 11:54 AM PST jClip is a simple jQuery plugin which allows image and content clipping. This is useful for when an image (or content area) is larger than the container where it resides. You are able to specify the dimensions of an absolutely positioned element which you want to be visible. The element is then clipped into the rectangular shape and displayed. The function of jClip is similar to css "clip:rect" style but jClip provides a fully cross-browser implementation of this method with ability for you to animate the clipped content using standard jQuery animate functions. 1. Light-weight script How to Use 1.) Download jClip script. The package already contains jQuery framework. <script type="text/javascript" src="../jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../xbreadcrumbs.js"></script> 3.) Use the following code to apply the clipping function to an element, we recommend you run it in a domReady event. The code below will clip the element with ID #sample-1 from its top left corner with a width of 100 and a height of 100: <script type="text/javascript"> $(document).ready(function(){ $('#sample-1').clip(0, 0, 100, 100); // The code above is equal to: $('#sample-1').clip(100, 100); }); </script> 4.) To remove clipping from an element, pass the keyword 'remove' to the jclip function: <script type="text/javascript"> $(document).ready(function(){ $('#sample-1').clip('remove'); }); </script> 5.) By default, jClip will start clipping from the top left corner of the element but you may specify Top and Left positions with the first two arguments. As seen in the sample below, jClip will start clipping with 20 pixel offset from top and left: <script type="text/javascript"> $(document).ready(function(){ $('#sample-1').clip(20, 20, 100, 100); }); </script> That's it Click the Demo button to see it in action. Related Listings:
| |||||
jAni – Jquery Animation for Background Images Posted: 30 Nov 2009 11:39 AM PST jAni is a simple plugin for jQuery which allows you animate background images. The plugin is basically an alternative to the animated GIF but with several benefits. At first, it's always better to use an animated GIF as this format is supported by all browsers without any JavaScript code or additional markup, but the "dark side" of it is that an animated GIF allows only 256 colors and you cannot control animation in any way. The jAni loads a long vertical image and changes its background position with the speed you setup, giving you more control of the animation. 1. Light-weight script How to Use 1.) Download jAni script. The package already contains jQuery framework. <script type="text/javascript" src="../jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../jani.js"></script> 3.) Add a style containing the url to your background with animation (this may be added to a separate CSS document or inside the < head >…< /head > tag): <style type="text/css"> .animation-1 { background: url(./images/sample-animation.gif) no-repeat left top; } </style> 4.) Add an empty DIV which will display animation in your document: <div id="animation-1"></div> 5.) Add the following code to your < head >…< /head > tag to initialize jAni and start the animation. <script type="text/javascript"> $(document).ready(function(){ $('#animation-1').jani({ frameWidth: 100, frameHeight: 100, speed: 100, totalFrames: 19 }); $('#animation-1').jani.play(); }); </script> That's it Click the Demo button to see it in action. jani.play() jani.pause() jani.stop() Related Listings:
| |||||
Flexible Context Menus: Jeegocontext Posted: 30 Nov 2009 11:20 AM PST Jeegoocontext is a jQuery plugin for creating highly customizable context menus. It transforms unordered lists into multi-level, smartly positioned navigations. Multiple context menus can be created on the same page & they can be customized via CSS. It has customizable time-delays for submenus’ disappear values which makes browsing them easier. The plugin also has a workaround for Opera not allowing right-click overrides & works with it as well. Features: * Easy to implement. Easy to implement Steps required to implement the plugin: 1. Include references to the jquery library, and to jquery.jeegoocontext.min.js. Related Listings:
|
You are subscribed to email updates from Ajax Updates To stop receiving these emails, you may unsubscribe now. | Email delivery powered by Google |
Google Inc., 20 West Kinzie, Chicago IL USA 60610 |
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.