[QUOTE=Phantoml994;33056637]Sorry, try this [URL="http://www.hrackyucapa.cz/pong/pong.html"]http://www.hrackyucapa.cz/pong/pong.html[/URL][/QUOTE]
Only thing I found that I was able to trap the ball in the corner without it passing through.
[QUOTE=Snakess;33057000]Only thing I found that I was able to trap the ball in the corner without it passing through.[/QUOTE]
Wow, thanks, I certainly didn't notice that :pwn:
- snip -
My classmates are a pile of donkeys who won't learn anything, so I decided I'd try and help them and made them this page to try and teach them how to parse forms with Javascript (without jQuery, sadly that's what they teach us) since we're having a test about this stuff in two days.
[url=http://www.gabrielecirulli.com/stuff/testver2][img]http://www.gabrielecirulli.com/p/20111031-211749.png[/img]
http://www.gabrielecirulli.com/stuff/testver2[/url]
:eng101:
Simply put, this page is a generic subscription form which, when submitted, handles the data through Javascript and displays it at the bottom.
The code is well-commented (in italian) and, since I'm an idiot, I've included the name of my (only) female classmate in the "sex" selection :v:
She sucks at programming anyway.
Needless to say, they'll all fail miserably anyway. But I did principally for myself since I had forgotten how to do this stuff in plain Javascript (jQuery is too good).
[B]P.S.:[/B] The password in the picture is not mine, it's one of my classmates'. Have fun.
[QUOTE=TerabyteS_;33059055]My classmates are a pile of donkeys who won't learn anything, so I decided I'd try and help them and made them this page to try and teach them how to parse forms with Javascript (without jQuery, sadly that's what they teach us) since we're having a test about this stuff in two days.
[url=http://www.gabrielecirulli.com/stuff/testver2][img]http://www.gabrielecirulli.com/p/20111031-211749.png[/img]
http://www.gabrielecirulli.com/stuff/testver2[/url]
:eng101:
Simply put, this page is a generic subscription form which, when submitted, handles the data through Javascript and displays it at the bottom.
The code is well-commented (in italian) and, since I'm an idiot, I've included the name of my (only) female classmate in the "sex" selection :v:
She sucks at programming anyway.
Needless to say, they'll all fail miserably anyway. But I did principally for myself since I had forgotten how to do this stuff in plain Javascript (jQuery is too good).
[B]P.S.:[/B] The password in the picture is not mine, it's one of my classmates'. Have fun.[/QUOTE]
You'll have to fix the labels' for attribute, they all point to female :v:
[URL="http://www.facepunch.com/threads/1136990"]Idea to make this section a nicer place[/URL]
[url=http://slim-lang.com/index.html]Slim[/url] is awesome.
When using "for" you should save the length in a variable and then compare against that instead of checking the length every iteration, so: (remove 1 from the length because 0 also contains elements)
[php]
for(var s = document.modulo.sesso, i = s.length-1; i >= 0; --i)
{
s[i].value;
// stuff
}
[/php]
I hate java :/
Back to google maps; loving the API.
[QUOTE=KmartSqrl;33060261][url=http://slim-lang.com/index.html]Slim[/url] is awesome.[/QUOTE]Looks weird as hell. Oversimplified, too.
[QUOTE=iamacyborg;33053080]
RusselG would be proud.
[url]http://www.brandonbibleforum.com/[/url][/QUOTE]
I don't get it? :tinfoil:
[QUOTE=RusselG;33062166]I don't get it? :tinfoil:[/QUOTE][img]http://www.alfredapp.com/bbf/bbf2.png[/img]
it's been taken off now
[QUOTE=TerabyteS_;33061938]Looks weird as hell. Oversimplified, too.[/QUOTE]
It's based off of haml and jade which are rad. Simplicity is awesome, it keeps your markup so much cleaner and easier to read, it's ridiculous. Not to mention the amount of time you save typing shit is worth it alone.
[QUOTE=KmartSqrl;33063279]It's based off of haml and jade which are rad. Simplicity is awesome, it keeps your markup so much cleaner and easier to read, it's ridiculous. Not to mention the amount of time you save typing shit is worth it alone.[/QUOTE]
I just use zen-coding. Typing HTML is a bore for sure.
[QUOTE=jaybuz;33063489]I just zen coding. Typing HTML is a bore for sure.[/QUOTE]
I tried that, but it made me get confused instantly.
[QUOTE=zzlawlzz;33063732]I tried that, but it made me get confused instantly.[/QUOTE]
You must struggle with CSS then.
[QUOTE=jaybuz;33063780]You must struggle with CSS then.[/QUOTE]
nope. I was just over thinking.
I like it hand typing because then, I know what I'm doing. anyways, html/css doesn't take too long to type.
[QUOTE=jaybuz;33063489]I just use zen-coding. Typing HTML is a bore for sure.[/QUOTE]
I enjoy it.
Hey, if there's any designers that are looking for a project to work on, I've got an idea for a photo-community type website That I'd love to work in collaboration with someone on.
[QUOTE=RusselG;33062166]I don't get it? :tinfoil:[/QUOTE]
Someone completely stole another person's site design and was using jQuery files hosted on the original designers domain. :/
[QUOTE=KmartSqrl;33063279]It's based off of haml and jade which are rad. Simplicity is awesome, it keeps your markup so much cleaner and easier to read, it's ridiculous. Not to mention the amount of time you save typing shit is worth it alone.[/QUOTE]Another problem with those exotic languages is that the editors have no understanding of them and you'll be forced to go without syntax coloring or just have a bad time in general.
[QUOTE=TerabyteS_;33068059]Another problem with those exotic languages is that the editors have no understanding of them and you'll be forced to go without syntax coloring or just have a bad time in general.[/QUOTE]
or you can write your own syntax highlighting packages, which is perfectly simple to do with sublime (and I presume most other editors too)
[QUOTE=TerabyteS_;33068059]Another problem with those exotic languages is that the editors have no understanding of them and you'll be forced to go without syntax coloring or just have a bad time in general.[/QUOTE]
There's plenty of bundles for TextMate (and Sublime). I found [url=https://github.com/fredwu/ruby-slim-tmbundle]this[/url]*for Slim. When it comes to Haml and Sass, there are plenty of great bundles.
[QUOTE=TerabyteS_;33068059]Another problem with those exotic languages is that the editors have no understanding of them and you'll be forced to go without syntax coloring or just have a bad time in general.[/QUOTE]
Or just use an editor that doesn't suck and has bundles available for things like that. Like sublime or textmate. It took me all of 60 seconds to install a bundle for it lol.
[QUOTE=TerabyteS_;33068059]Another problem with those exotic languages is that the editors have no understanding of them and you'll be forced to go without syntax coloring or just have a bad time in general.[/QUOTE]
Another reason why I use vim. Never any syntax highlighting problems ever again!
Quick question: Is AOL capable of file uploading or is my client a bit slow?
My client is complaining that they're unable to upload images with their articles on the site via a PHP/MySQL run blog w/ image upload form. I asked them to send me the image they're trying to use as an email attachment, and I was able to upload their blog with the same title and content, as well as the image, successfully in Chrome.
I really can't get my head around why the upload isn't working for them, all I know is that they use AOL for their daily internet browsing, so my only guess is that that is the culprit.
Any ideas?
[QUOTE=Jelly;33044550]It's :after and :before not ::after and ::before.[/QUOTE]
That isn't true. ::after is CSS3 :after is CSS2
Take a look at the chrome inspector - "pseudo ::after element".
[QUOTE=jaybuz;33063489]I just use zen-coding. Typing HTML is a bore for sure.[/QUOTE]
The bonus with something like slim is that you can keep that simple syntax the entire time. Which one of these is cleaner and easier to read/scan quickly?
[IMG]http://i.imgur.com/k3xyV.png[/IMG]
[QUOTE=KmartSqrl;33073991]The bonus with something like slim is that you can keep that simple syntax the entire time. Which one of these is cleaner and easier to read/scan quickly?
[IMG]http://i.imgur.com/k3xyV.png[/IMG][/QUOTE]
Good point, though what's the advantage between doing that and having a DOM overview open in the sidebar?
Sorry, you need to Log In to post a reply to this thread.