So, I am working on my online portfolio using prosite.com, and have created some simple hanging tools using javascript ( http://wojtek.szukszto.com/index.html ). The problem is that prosite.com will not let me use the <script> tag ... Is there a way to do this? Maybe like external html? I don’t know ... I am not very good at coding, so any help would be appreciated.
You can use them as DOM Events , for example
<div onclick="alert('cat');"> I <strong>Really</strong> want a cat! </div>
<body onload="//you can put a whole bunch of stuff here"></body> (It is equivalent to window.onload = function(){ //stuff })
javascript- head html-
<head> <script src ="/JS/yourjsfile.js"></script> </head>
, JS head
How do I do this by specifying a script type. ProSite already has javascript built in. I use:
<script type="javascript"> Code-Goes-Here </script>