Menu

About

James Stortz

Printing Manual Pages

on.about();

on.about.js

| OVERVIEW

As an optional feature, on.js prints out relevant usage information anywhere in your code with on.about()

| REQUIRE

[../script/opt/]
* on.about.js

MANUAL PAGES

Events
* document
* element
* element lists

Ajax
* GET
* POST

Script Loading
* script
* public module
* private module

DOM
* eachElementBy
* for each

Arrays
* for each

Objects
* for each

Element Lists
* for each

NESTED CALLING

var contentBody = document.getElementById('content-body');
var contentTabs = document.getElementById('content-tabs');

var activeTab;

('mouseover')[on](contentTabs.children)
(   function(e)
    {
        on.event.preventDefault.call(e);
        on.about(); //prints man page for Events on Elements

        var me = activeTab = this;

        ('POST')[on](this.href+"?ajax=true")
        (   function()
            {
                if (activeTab != me) return;

                on.about(); //prints man page for ajax POST on URL
                contentBody.innerHTML = this.responseText;
            }
        );
    }
);

on.about(); //prints man page for on.js

on.js

return true;

A JavaScript Library


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.