Hi there,
I am very new to SS. I want to include prototype and scriptaculous in the fornt end, what I have done is followings:
Page.php:
public function init() {
parent::init();
Requirements::themedCSS("layout");
Requirements::themedCSS("typography");
Requirements::themedCSS("form");
Requirements::javascript("jsparty/prototype.js");
Requirements::javascript("jsparty/prototype15.js");
Requirements::javascript("jsparty/prototype_improvements.js");
Requirements::javascript("jsparty/prototype-safe.js");
Requirements::javascript("jsparty/scriptaculous/scriptaculous.js"); //this line seems not include scriptaculous.js
}
The prototype is included and working FINE but not the scriptaculous to me but I am not sure since once I used the effect.fade() or draggable, the
Object cannot be created in this context" code: "9
occurs, I have raised this problem in my previous post.
So I would like to check with your guys, did I do the right thing to include prototype and scriptaculous ? Pls advise...
Thanks heaps :)