iSchool Moodle Training

Tuesday, November 05, 2024   

Java/JavaScript

Java is a programming language made available by Sun Microsystems under the GNU General Public License. It is one of the object-oriented programming languages.

Java can run on any supported hardware/operating-system platform without having to be re-written. Sun’s slogan was “Write once, run anywhere” (WORA).

Tips and Tricks

  • It is possible to insert a Java script by using the HTML editor. It is important to remember that the HTML editor does not use a header (a specific type of code at the very start of the page). A good practice is to use the WYSIWYG screen to create the desired HTML page, then switch to “view the source” with the <> icon. Now place the header information at the top and insert any other java scripts in the body of the page. Save the page.
    • TIP: When trying to edit the page again, the HTML editor may essentially disable the header information. Check the source code to restore the proper header on the page.

Search