PinoyTech.org

CodeIgniter, Kohana, Mootools, jQuery and CSS

Javascript double exclamation point !!

Posted by teejay on March 8, 2010

I spend my time developing applications and have geared most of my time to learn and hopefully 'master' javascript. One of the things I've noticed while reading the Mootools Core source code(Yeah, I'm hard core :p ) is the double exclamation points.

function $chk(obj){
 return !!(obj || obj === 0);
};

What does that mean?

Continue reading Javascript double exclamation point !!

 

Implementing jQuery Live in Mootools

Posted by teejay on March 8, 2010

If you're like me, I've been wanting to have a jquery live implementation in Mootools for the longest time. Luckily someone from Stackoverflow did it for us.

Continue reading Implementing jQuery Live in Mootools

 

Image Viewer with Thumbnails using Mootools

Posted by teejay on December 17, 2009

image_viewer_w_thumbnails_using_mootools.gif

This is a simple tutorial for creating an image viewer with thumbnails using Mootools.

Continue reading Image Viewer with Thumbnails using Mootools

 

Mootools Forge Launched

Posted by teejay on December 12, 2009

mootools forge

Mootools is a fantastic Javascript framework. One problem with using Mootools is that didn't have an official repository like what jQuery has done with its user-contributed plugins.

Continue reading Mootools Forge Launched

 

PassShark: More Usable Password fields using Mootools

Posted by teejay on December 11, 2009

pass shark post image

There must be sometimes that you can't seem to type in your password right, resulting in entering it a couple of times after validation errors occur.

Dependencies: Mootools Core, Class.Occlude.js, Log.js and Class.Binds.js

Download: PassShark on Github

License: PassShark is released under the Open Source MIT license

Continue reading PassShark: More Usable Password fields using Mootools

 

Check One Check All Using jQuery

Posted by teejay on November 25, 2009

an image of a table with checkboxes

Today, we will be writing a jQuery Example of our Check One Check All functionality using Mootools

Continue reading Check One Check All Using jQuery

 

Check One Check All Using Mootools

Posted by teejay on November 24, 2009

an image of a table with checkboxes

Imagine going through a 25 item per page application and you need to check them all. Wouldn't it be a good thing if you have the functionality of a check one/check all for checking all those checkboxes? If yes, you would agree that this should be on every appropriate web application.

Continue reading Check One Check All Using Mootools

 

Mootools Tabs Classes You Should Know About

Posted by teejay on November 18, 2009

I've been playing around with Mootools again and was looking into working with some tabbed content. A little research comes a long way as I discovered new Mootools-based tabs.

MGFX Tabs

Usage


<ul id="tabs">
    <li><a class="tab" href="#" id="one">One</a></li>
    <li><a class="tab" href="#" id="two">Two</a></li>
    <li><a class="tab" href="#" id="three">Three</a></li>
</ul>
<div id="home">
    <div class="feature">
        <img src="img/mgfxtabs1.jpg" alt="" />
    </div>
    <div class="feature"">
        <img src="img/mgfxtabs2.jpg" alt="" />
    </div>
    <div class="feature">
        <img src="img/mgfxtabs3.jpg" alt="" />
    </div>
</div>
// Javascript
var tabs = new MGFX.Tabs('#tabs li a', '#tabs div');

Continue reading Mootools Tabs Classes You Should Know About