All pastes #965989 Raw Edit

Mine

public text v1 · immutable
·published 2008-04-01 11:58 UTC
rendered paste body
loadSection(newArea,newSubsection)
{
    Queue.addEvent({fn:fadeOffSubsection, section:_currentSubsection});
    Queue.addEvent({fn:fadeOffArea, area:_currentArea})
    Queue.addEvent({fn:fadeOnArea, area: newArea});
    Queue.addEvent({fn:loadSubsection, section:newSubsection});
    Queue.addEvent({fn:fadeOnSubsection,section:newSubsection});
}

loadSection("kitchen","products");
loadSection("home","recycled");
loadSection("home","info");