Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » About extension button
- savaka
-
1000+ posts
About extension button
Can I make this do anything in my own extension? If so, what will it do?
- SCRAXE
-
72 posts
About extension button
Clicking about activates a click of the ‘url:’ link which you add at the bottom of your javascript file.
So yes, you can set it to whichever url you like, normally a ‘help’ page for your extension.
See the Wedo extension for a working example of this, the url: line is found under the blocks/menus:
http://scratch.mit.edu/scratchr2/static/js/scratch_extensions/wedoExtension.js
So yes, you can set it to whichever url you like, normally a ‘help’ page for your extension.
See the Wedo extension for a working example of this, the url: line is found under the blocks/menus:
http://scratch.mit.edu/scratchr2/static/js/scratch_extensions/wedoExtension.js
- savaka
-
1000+ posts
About extension button
So it opens it like the tips pane is a mini web browser? Clicking about activates a click of the ‘url:’ link which you add at the bottom of your javascript file.
So yes, you can set it to whichever url you like, normally a ‘help’ page for your extension.
See the Wedo extension for a working example of this, the url: line is found under the blocks/menus:
http://scratch.mit.edu/scratchr2/static/js/scratch_extensions/wedoExtension.js
- Discussion Forums
- » Advanced Topics
-
» About extension button