•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 402,573 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,351 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 5271 | Replies: 12
![]() |
•
•
Join Date: May 2002
Location: Tucson, AZ - formerly LI, NY
Posts: 616
Reputation:
Rep Power: 12
Solved Threads: 7
Hi all,
I've finally decided to get serious about learning JavaScript, and to facilitate this endeavor I've unearthed my copy of Danny Goodman's JavaScript Bible, 3rd Ed. (circa 1995, for which I no longer have the companion CD), but on reading the first chapter alone Ive realized just how outdated this tome is (with references to IE & NN v.2.0, Win3.1, "Digital's" Alta Vista, etc), so I am now considering purchasing the updated 4th Ed. The only problem with that is that I've read the reviews on Amazon.com and, judging by many of the reviews, it apparently doesn't live up to it's billing. I'm wondering if any of you have read the entire 4th Ed., or at least a substantial portion of it, and if so what your impressions are of it. Along with that, are there any particular references and/or tutorials - online or hardcopy- that you'd recommend I consider, or avoid, in acquiring this new-to-me skillset? Appropriate comments greatly appreciated!
I've finally decided to get serious about learning JavaScript, and to facilitate this endeavor I've unearthed my copy of Danny Goodman's JavaScript Bible, 3rd Ed. (circa 1995, for which I no longer have the companion CD), but on reading the first chapter alone Ive realized just how outdated this tome is (with references to IE & NN v.2.0, Win3.1, "Digital's" Alta Vista, etc), so I am now considering purchasing the updated 4th Ed. The only problem with that is that I've read the reviews on Amazon.com and, judging by many of the reviews, it apparently doesn't live up to it's billing. I'm wondering if any of you have read the entire 4th Ed., or at least a substantial portion of it, and if so what your impressions are of it. Along with that, are there any particular references and/or tutorials - online or hardcopy- that you'd recommend I consider, or avoid, in acquiring this new-to-me skillset? Appropriate comments greatly appreciated!
"I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use." - Galileo Galilei
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
•
•
Join Date: May 2002
Location: Tucson, AZ - formerly LI, NY
Posts: 616
Reputation:
Rep Power: 12
Solved Threads: 7
wow, it seems incongruous with all of the web knowledgeable ppl that frequent these boards that no one has a resource to point me to.
"I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use." - Galileo Galilei
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
Heh... I'm a .Net guy :-P no java in my blood.
-Ryan Hoffman
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
ASP.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,892
Reputation:
Rep Power: 32
Solved Threads: 109
OK, here I go ...
Are you sure you want to learn JavaScript and not a "real" language (such as java, for example)? JavaScript is a scripting language - meaning it's not awfully powerful and runs in a web browser client-side (as opposed to server-side).
It's used quite a bit to take care of the small lil tricks on the web. For example, you can use it to change an image when it's hovered over, create an online tic-tac-toe game, or even hangman. However, it can't be used with a backend database, etc. etc.
The best way to learn javascript is just to look at a whole lotta code snippets and see how things are done. It's really easy to figure out.
Check out www.javascriptsource.com <-- great site!
http://www.webteacher.com/javascript/
http://www.w3schools.com/js/default.asp
http://www.pageresource.com/jscript/index4.htm
I just did a google search for "javascript tutorial" and came up with those. They all look pretty good. Also, there are a lot of full working examples given, cuz as I said, it's the best way to learn.
Are you sure you want to learn JavaScript and not a "real" language (such as java, for example)? JavaScript is a scripting language - meaning it's not awfully powerful and runs in a web browser client-side (as opposed to server-side).
It's used quite a bit to take care of the small lil tricks on the web. For example, you can use it to change an image when it's hovered over, create an online tic-tac-toe game, or even hangman. However, it can't be used with a backend database, etc. etc.
The best way to learn javascript is just to look at a whole lotta code snippets and see how things are done. It's really easy to figure out.
Check out www.javascriptsource.com <-- great site!
http://www.webteacher.com/javascript/
http://www.w3schools.com/js/default.asp
http://www.pageresource.com/jscript/index4.htm
I just did a google search for "javascript tutorial" and came up with those. They all look pretty good. Also, there are a lot of full working examples given, cuz as I said, it's the best way to learn.
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
•
•
Join Date: Jul 2003
Location: Bamberg, Germany
Posts: 117
Reputation:
Rep Power: 6
Solved Threads: 2
webmonkey also has some good tutorials if I remember correctly. Another book you might want to look at is The Complete Idiots guide to JavaScript. It's pretty good. Though I agree with csgal, I'd learn a 'real' language. This is not to say you can't also know JS, just don't spend all your time on it. Because there is programs, such as Adobe ImageReady, that can take care of the bulk of your JS for you. Though it is good to understand it, in order to make changes or customize it. If you're really into a web language, I'd suggest php. Otherwise I'd learn Java, which could be used online or off
•
•
Join Date: May 2002
Location: Tucson, AZ - formerly LI, NY
Posts: 616
Reputation:
Rep Power: 12
Solved Threads: 7
thanks anyway tekmaven (but please dont confuse java w/javascript)
thanks cscgal & iron_cross
i am aware of the what & why of javascript and i'm sure my www ide of choice (dreamweaver) can handle 90%+ of the coding, and ur both right about the "real language" bit, but i want to get a "semi-ool" language under my belt b4 i go ont to a real ool such as c++ (& then java); haven looked into php yet - ool?
thanx again
thanks cscgal & iron_cross
i am aware of the what & why of javascript and i'm sure my www ide of choice (dreamweaver) can handle 90%+ of the coding, and ur both right about the "real language" bit, but i want to get a "semi-ool" language under my belt b4 i go ont to a real ool such as c++ (& then java); haven looked into php yet - ool?
thanx again
"I do not feel obliged to believe that the same God who has endowed us with sense, reason, and intellect has intended us to forgo their use." - Galileo Galilei
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
"Science without religion is lame. Religion without science is blind." - Albert Einstein
"Good judgment comes from experience, experience comes from bad judgment." - author unknown
"Anyone who has never made a mistake has never tried anything new." - Albert Einstein
(why "aeinstein"?)
Peace Be with You
•
•
Join Date: Nov 2003
Location: California
Posts: 201
Reputation:
Rep Power: 5
Solved Threads: 1
If you need some more:
http://www.funky-chickens.com/java2.shtml <- Basic, Basic, Basic.
http://www.javascript-page.com/ <- Examples
I would recommend picking up a book on javascript, you can learn so much more and easier than just online tutorials, as it's a guide put together for a step by step learning process.
http://www.funky-chickens.com/java2.shtml <- Basic, Basic, Basic.
http://www.javascript-page.com/ <- Examples
I would recommend picking up a book on javascript, you can learn so much more and easier than just online tutorials, as it's a guide put together for a step by step learning process.
•
•
Join Date: Jun 2004
Posts: 3
Reputation:
Rep Power: 0
Solved Threads: 0
I went to the link to learn something.. and get some free code but this didn't work and wondering why? I use Dreamweaver normally but FP was on this laptop so tried it out there.
I thought JS had to go after all the rest of the coding here. I have JS on some sites which so say prevents non savvy users from pinching pictures.........
why isn't this working please? It would be good to be able to make the source code invisible is there a way please? I hide some code by pushing it a mile down the source code page. Anyone searching then thinks it's empty from there on..
html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>contact</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="capsules 011, default">
<meta name="Microsoft Border" content="none, default">
</head>
<body></body>
<XMP><script language="JavaScript"><!--function click()
{if (event.button==2){alert('This is my Script')}}document.onmousedown=click// --></script></XMP></TEXTAREA></DIV>
</html>
I thought JS had to go after all the rest of the coding here. I have JS on some sites which so say prevents non savvy users from pinching pictures.........
why isn't this working please? It would be good to be able to make the source code invisible is there a way please? I hide some code by pushing it a mile down the source code page. Anyone searching then thinks it's empty from there on..
html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>contact</title>
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<meta name="Microsoft Theme" content="capsules 011, default">
<meta name="Microsoft Border" content="none, default">
</head>
<body></body>
<XMP><script language="JavaScript"><!--function click()
{if (event.button==2){alert('This is my Script')}}document.onmousedown=click// --></script></XMP></TEXTAREA></DIV>
</html>
its not working because its all inside of a comment. remove the <!-- and --> from it. so it looks just like this
also, remember good formatting of the code will be your best freind later on down the line when you write very long and coplex scripts.
<xmp>
<script language="JavaScript">
function click()
{if (event.button==2){alert('This is my Script')}}document.onmousedown=click//
</script>
</xmp>also, remember good formatting of the code will be your best freind later on down the line when you write very long and coplex scripts.
!!!!! WARNING YOUR COMPUTER MAY BE INFECTED WITH SPYWARE!!!! PAY AN OVER PRICED AMMOUNT TO HAVE SOMTHING FIXED WE PLACED THERE IN THE FIRST PLACE!!!!!!!!!
sound familiar, know how to block yourself and keep yourself clean.
_____________________
http://www.lavasoftusa.com/ -->adaware
http://www.safer-networking.org/en/index.html -->spybot S&D
http://www.javacoolsoftware.com/spywareblaster.html -->spywareblaster
http://www.javacoolsoftware.com/spywareguard.html -->spywareguard
_____________________
and dont forget to spread the reputation to those that deserve!
sound familiar, know how to block yourself and keep yourself clean.
_____________________
http://www.lavasoftusa.com/ -->adaware
http://www.safer-networking.org/en/index.html -->spybot S&D
http://www.javacoolsoftware.com/spywareblaster.html -->spywareblaster
http://www.javacoolsoftware.com/spywareguard.html -->spywareguard
_____________________
and dont forget to spread the reputation to those that deserve!
•
•
Join Date: Feb 2002
Location: Lawn Guylen, NY
Posts: 10,892
Reputation:
Rep Power: 32
Solved Threads: 109
Please post new questions as separate threads so that multiple questions don't get lost on multiple pages of a single thread. In response to aeinstein's original question - check out www.javascriptsource.com - it has tons of free javascript code snippets that do a range of things along with demos of each - learning by example.
Dani the Computer Science Gal
Do you run a computer-related website? Feature it in our niche link directory!
Do you run a computer-related website? Feature it in our niche link directory!
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Previous Thread: Problems creating a DHTML menu script with a stylish dropdown menu
- Next Thread: how do i put message boards on my site?? please help!! thanx



Linear Mode