Showing posts with label Tools for TheMadScript. Show all posts
Showing posts with label Tools for TheMadScript. Show all posts

Friday, May 20, 2011

What you need

You should know the following languages before studying TheMadScript: HTML and JavaScript.

Since TheMadScript isn't an actual scripting language, there is a JavaScript file located at my website called "themadscript.js". To add it to your website, use this coding:

<script type="text/javascript" src="http://www.themadcomputer.com/themadscript.js"></script>

Then, you can add any of the methods from either the "head" section of your page or "body" section inside a separate "script" element. You can combine JavaScript with TheMadScript, since TheMadScript is JavaScript-based and is contained inside the "script" element. You'll want to use JavaScript functions in some cases. This is a good example of a page that contains TheMadScript:

<html>
<head>
<script type="text/javascript" src="http://www.themadcomputer.com/themadscript.js"></script>
<script type="text/javascript">
JavaScript/TheMadScript coding
</script>
</head>
<body>
Some coding
<button onclick="TheMadScript coding here">Click Here</button>
Some more coding
</body>
</html>

Do you understand now what you'll be needing? If you do, you can look at the reference for all of the methods, even the deprecated and obsolete ones.