sample usage:
$this->widget('application.extensions.Scenario.Scenario',
array(
'rules'=>array(
Scenario::Rule('#title', EventMode::BIND, eventType::MOUSE_OVER, 'ul',
array(Action::Animate(Animate::TOGGLE, 500))
),
Scenario::Rule("p", eventMode::BIND_ONCE, eventType::CLICK, null,
array(Action::Content(Content::SET_HTML,"=AAAAAAAAAAAAAAAAAAA="))
),
Scenario::Rule("#d1", eventMode::BIND, eventType::CLICK, null,
array(Action::Css(Css::SET_HEIGHT, 300))
),
)
)
);
Why do it? I dont know today. Is this work has a chance to exist?
Thank you for your attention.