View Full Version : I need a GOOD reference site
Shadow3nigma
12-24-2002, 09:56 PM
I learned basic html by simply looking at it with notepad...i've tried that with javascript and have gotten utterly confused. I'm in need of a good reference site to help me start off and im too poor to just go out and buy me a book on it :mad: if anyone can help me, please let me know...i've somewhat implemented javascript into a page (http://members.aol.com/eyesofflame/index.html) i've built, but i've only done so after some playing around with variables and such.
If anyone can help me, thanks
:thumbsup:
joeframbach
12-24-2002, 10:26 PM
www.pageresource.com !!!
use the forums too! woohoo! they're great!
have a wonderful christmas!
Graeme Hackston
12-24-2002, 10:50 PM
Also try the parent site of this forum for tutorials:
http://www.javascriptkit.com/javaindex.shtml
And this for reference:
http://www.devguru.com/Technologies/ecmascript/quickref/javascript_index.html
For a good syntax reference on JavaScript (properties, methods etc), a good place is Netscape DevEdge: http://devedge.netscape.com/central/javascript/
Shadow3nigma
12-24-2002, 11:27 PM
Thx ppl, I appreciate it, i'll more than likely be able to take it from here...
Thx again :D
whammy
12-25-2002, 12:57 AM
Also, after you read those, look at the javascript tutorial on http://www.webmonkey.com/authoring
:)
Shadow3nigma
12-25-2002, 12:11 PM
3 hours of pondering over the tutorials and i finally made my first jscript! :D
<html>
<title>
</title>
<head>
</head>
<body>
<script>
var a = prompt ("Insert value of A", a);var b = prompt ("Insert value of B", b);var ab = eval(a)+eval(b);alert("a+b is "+ab);function modified() {a = eval(a);b = eval(b);ab = a+b;alert("a is "+a);alert("b is "+b);alert("a+b is "+ab)}function change() {a = prompt ("Insert value of A", a);b = prompt ("Insert value of B", b); modified()}
</script><center>
<a href="javascript:void(0)" onmouseover="modified()">Variable status</a><p><a href="javascript:void(0)" onmouseover="change()">Change Variables</a></center>
</body>
</html>
its quite simply an addition script...but it works without any bugs...at least from my testing it
i've been trying to do another...but it doesnt seem to work at all...it is for AOL roleplaying and it's supposed to convert exp to dice, i cant even get it to return the invalid value :mad:
<html>
<title>Exp to Dice conversion form</title>
<head>
<script>
function convert()
{
var exp = document.showdice.expinput.value;
var dice = document.showdice.diceoutput.value;
if (exp < 0 && exp > 3000000) {dice = "Incorrect exp amount"}; document.writein.showdice.diceoutput.value(dice)
}
</script>
<body>
<form name="showdice">
Type exp here:<input type="text" name="expinput" size="10" value="0"> <p>
and see your current dice here:<input type="text" name="diceoutput" size="5" value="d20">
<a href="javascript:void(0)" onclick="convert()"; onclick="document.showdice.diceoutput.value=dice">Convert</a>
</form>
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.