Core Docs | Additional Modules Docs

sb.nodeList.prototype.hide


@Description: hides all the elements in the nodeList
var nodes = $('img');
nodes.hide()
@File: nodeList/prototype/hide.js

sb.nodeList.prototype.parents


@Description: changes the nodelist to be the parents of the nodes instead of themselves
var nodes = $('ol li');
//adds element with id 'wrapper' to the node list
nodes.add('#wrapper');
//add all the links to the nodeList
nodes.add('a');
@File: nodeList/prototype/parents.js

sb.nodeList.prototype.show


@Description: shows all the elements in the nodeList
var nodes = $('img');
nodes.show()
@File: nodeList/prototype/show.js

sb.nodeList.prototype.stylesTrail


@Description: Cahnegs the styles of a nodelist in order that they appear in the nodelist on a timeout, and then changes the styles back to how their were
@File: nodeList/prototype/stylesTrail.js
@Example:
$('li').stylesTrail({
    styles : {
        backgroundColor : 'orange',
        borderColor : 'red',
        borderWidth : '2px'
    },
    offset : 6,
    offsetOff : 80,
    onEnd : function(){
        
    }
});