Obsolete:JavaScript functions: Difference between revisions
From MoodleDocs
Frank Ralf (talk | contribs) mNo edit summary |
Frank Ralf (talk | contribs) link to Web developer extension page added |
||
| Line 1: | Line 1: | ||
{{stub}} | {{stub}} | ||
If you want to see which JavaScript functions are available on a Moodle page you can use | If you want to see which JavaScript functions are available on a Moodle page you can use the Firefox [[Web developer extension]]: ''Information > View JavaScript''. | ||
Some things that can be there: | Some things that can be there: | ||
Revision as of 19:03, 15 April 2009
If you want to see which JavaScript functions are available on a Moodle page you can use the Firefox Web developer extension: Information > View JavaScript.
Some things that can be there:
/lib/javascript-static.js
// Miscellaneous core Javascript functions for Moodle
function popupchecker(msg) {
var testwindow = window.open('itestwin.html', , 'width=1,height=1,left=0,top=0,scrollbars=no');
if (testwindow == null)
{alert(msg);}
else {
testwindow.close();
}
}
...
and
lib/overlib.js