Top

Comments

  (114)  RSS
pokemaster23's
vaseline28
Comments: 115
 
Javascript Snippet:  My first javascript
Posted on Jul 6, 2008 2:19 am
Definitely is jonesy44!
Although I found other websites more useful for AJAX.

Just noticed in the HTML, there is a
<P>
I'm pretty sure that according to webstandards, all tags must be closed:
<p></p>
and lowecase, all of yours are uppercase.
jonesy44
Comments: 677
 
Javascript Snippet:  My first javascript
Posted on Jul 2, 2008 11:38 am
w3schools <3 God's website :D
vaseline28
Comments: 115
 
Javascript Snippet:  My first javascript
Posted on Jul 2, 2008 10:33 am
All that I know is by trying to write scripts, but beforehand, I picked up the basics from these two links:

http://www.w3schools.com/dhtml/default.asp
http://www.w3schools.com/htmldom/default.asp

Work through those and you'll be an expert!
ChunkieMonkey
Comments: 77
 
Javascript Snippet:  My first javascript
Posted on Jul 1, 2008 3:49 pm
vaseline28, Do you know any sites that can help me learn a bit on DHTML?
vaseline28
Comments: 115
 
Javascript Snippet:  My first javascript
Posted on Jul 1, 2008 1:38 pm
Excellent MountainDew!

pokemaster23:
You could write this much more simply through use of DHTML:
Quote:
<INPUT type="Button" value="Hello" onclick="this.value='World'" >

When clicked, it changes to 'World'. You can also specify it to when it is hovered over, hovered out etc. For example:
Quote:
<INPUT type="Button" value="Hello" onclick="this.value='World'" onmouseover="this.value='mouse'" >

When the mouse hovers over, it returns 'mouse'
mountaindew
Comments: 1,422
 
Javascript Snippet:  My first javascript
Posted on Jun 30, 2008 2:42 pm
Ah, I get it now :)
vaseline28
Comments: 115
 
Javascript Snippet:  My first javascript
Posted on Jun 30, 2008 2:35 pm
@MountainDew:

The Javascript comment looks different (/*) to an HTML one (<!--)
They use this so that a browserwhich does not support Javascript will not display the Javascript as plain text. A browser which does support Javascript will see the <script type="text/javascript"> and ignore the HTML comment.
vaseline28
Comments: 115
 
mIRC Snippet:  Stats
Posted on Jun 21, 2008 4:02 am
To neaten it up, you should include some $+ else you will get:
I am on #hawkee . It is 7:34 .
with gaps. Below does not have the gaps:

Quote:
/msg $chan I am on $server in $chan $+ . The time is $time $+ . It is $date $+ .
jonesy44
Comments: 677
 
Javascript Snippet:  My first javascript
Posted on Jun 16, 2008 12:19 pm
It's useless.
But i must argue; onClick does work .. the capitalizing each word is just a habit. JS does not actually change, or not work with or without it.
markusPHP
Comments: 9
 
Javascript Snippet:  My first javascript
Posted on Jun 16, 2008 11:54 am
Whoa, guys, calm down.

type attribute missing - error 1.
semi-colons missing - not an error, but good fashion.
Elements in uppercase - Won't validate.
onClick There is no such attribute; it's onclick

What I don't understand is, how can post such a pointless code in the snippets section? There's no use to it.
ChunkieMonkey
Comments: 77
 
Javascript Snippet:  My first javascript
Posted on Jun 11, 2008 9:59 pm
Quote:
Why post something un-original to a bunch of people who have read the whole www .. twice..


ROFL
jonesy44
Comments: 677
 
Javascript Snippet:  My first javascript
Posted on Jun 11, 2008 12:58 pm
L.A.M.E LoL

Why post something un-original to a bunch of people who have read the whole www .. twice..
LucSatise
Comments: 86
 
mIRC Snippet:  Popularity Script (Incomplete)
Posted on Jun 10, 2008 4:13 pm
actually he cant be bothered finishing it so hes left u to work it out for urself
SpotRedDog
Comments: 84
 
mIRC Snippet:  Popularity Script (Incomplete)
Posted on Jun 10, 2008 3:43 pm
Be very very quiet he is hunting for help!!!

/me thinks he wants everyone else to write his script for him......

/me isn't helping!!!!
Jamiie
Comments: 101
 
mIRC Snippet:  Stats
Posted on Jun 9, 2008 11:32 pm
oh ok
pokemaster23
Comments: 51
 
Javascript Snippet:  My first javascript
Posted on Jun 9, 2008 11:20 pm
Ummm....I dun feel like searching. google javascriptmall lesson 7
EL
Comments: 913
 
Javascript Snippet:  My first javascript
Posted on Jun 9, 2008 7:17 pm
Link?
pokemaster23
Comments: 51
 
Javascript Snippet:  My first javascript
Posted on Jun 9, 2008 6:44 pm
First, I didn't copy a damn thing for JS. Yea, I admit I have ripped once before, but this script is a bit like the one from Javascriptmall. I use that site to help me, I saw this on the assignments page for lesson 7 so I decided to try to write it, or something similar.
jonesy44
Comments: 677
 
Javascript Snippet:  My first javascript
Posted on Jun 9, 2008 3:23 pm
Yes, MD lol
EL
Comments: 913
 
Javascript Snippet:  My first javascript
Posted on Jun 9, 2008 3:08 pm
@Eugene,wtf i wouldnt be proud of that ya putz.`-.-ยด
1 2 3 4 5 6 Next
Bottom