This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-02-10 12:03:43

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

JavaScript Tutorials and Examples!

I'm re-learning JavaScript, and I'll help you along the way! (There'll be occasional parts in HTML5!)

Tutorials

Examples
Browser Check - Here!

Browser Check was meant for a more serious project, until I got bored. It was made for HTML5 checking, and since IE doesn't support even a quarter of HTML5, I made this. It blocks you from going further.

_______________________________

Redirection - Here!

I found this a bit more fun. Just open it up, and you are then transported to google.com!

_______________________________

Passwords -  Here!

Just to say, this is not secure. Looking at the source code of this could tell you the password straight away. Anyway, if you get it right, it take's you to google.com

Last edited by Servine (2012-02-10 12:18:37)


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#2 2012-02-10 12:55:30

DigiTechs
Scratcher
Registered: 2011-04-30
Posts: 500+

Re: JavaScript Tutorials and Examples!

Servine wrote:

I'm re-learning JavaScript, and I'll help you along the way! (There'll be occasional parts in HTML5!)

Tutorials

Examples
Browser Check - Here!

Browser Check was meant for a more serious project, until I got bored. It was made for HTML5 checking, and since IE doesn't support even a quarter of HTML5, I made this. It blocks you from going further.

_______________________________

Redirection - Here!

I found this a bit more fun. Just open it up, and you are then transported to google.com!

_______________________________

Passwords -  Here!

Just to say, this is not secure. Looking at the source code of this could tell you the password straight away. Anyway, if you get it right, it take's you to google.com

IE supports HTML5, to let you know  tongue  I used HTML5 to make a website too, and IE displays it just fine, so There's nothing wrong  betwein them  tongue


I'm back.
Maybe.

Offline

 

#3 2012-02-10 13:01:43

Servine
Scratcher
Registered: 2011-03-19
Posts: 1000+

Re: JavaScript Tutorials and Examples!

DigiTechs wrote:

Servine wrote:

I'm re-learning JavaScript, and I'll help you along the way! (There'll be occasional parts in HTML5!)

Tutorials

Examples
Browser Check - Here!

Browser Check was meant for a more serious project, until I got bored. It was made for HTML5 checking, and since IE doesn't support even a quarter of HTML5, I made this. It blocks you from going further.

_______________________________

Redirection - Here!

I found this a bit more fun. Just open it up, and you are then transported to google.com!

_______________________________

Passwords -  Here!

Just to say, this is not secure. Looking at the source code of this could tell you the password straight away. Anyway, if you get it right, it take's you to google.com

IE supports HTML5, to let you know  tongue  I used HTML5 to make a website too, and IE displays it just fine, so There's nothing wrong  betwein them  tongue

It doesn't support as much as others though.


http://bluetetrarpg.x10.mx/usercard/?name=Servine

Offline

 

#4 2012-02-10 14:51:11

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: JavaScript Tutorials and Examples!

Servine wrote:

It doesn't support as much as others though.

Well, IE9 does support canvas (and I think it has quite good performance) and a number of other new(ish) web technologies. If you use document.createElement(...) to introduce them to IE and use a CSS reset, it supports all the semantic elements. The new input types and validation methods are all meant to be just helpful, and they function correctly even if the browser doesn't support them.

Anyway, you should really do feature detection instead of blocking an entire browser. For example, if I wanted to use FileReader from the File API, I could test:

Code:

function doSomethingWithFiles() {
if (!window.FileReader) {
    // alert the user that their browser does not support this feature
    return;
}
// ...
}

nXIII

Offline

 

Board footer