Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

help with javascript

Name: Kyur 2008-12-09 22:08

Hey /prog/

I need some help with javascript.  I'm a newfag at the language...but I've learned all the basics from w3schools and I took a year and a half of regular Java so I'm not a moron.  This stuff is just kind of advanced for me at this stage.

http://www.hesido.com/web.php?page=javascriptanimation

I want to learn how to do that.  Specifically I want to learn how to do the demo with the sliding menus where it changes the width.  Unfortunately they don't give you any working source code to work with...just snippets of the code.  These snippets aren't enough to piece together myself so I need your help.  Plus, they don't go into too much detail so it's kind of confusing (even though it seems like they explain it well)

How am I supposed to implement this into an HTML page?

I've started a test page and made a div tag with id="test"...but now I don't know how to pass it to those functions....or attach a listener to it.  Please help!

Name: Anonymous 2008-12-10 22:58

Another reason Java is such shit:

Netscape created a shit prototype based scripting language for their browser called Live Script.

Sun, knowing Java was shit, needed a stupid way to market it. So they struck a deal with Netscape. They could bundle a Java VM with their browser, it if they renamed Live Script to JavaScript.

What does one have to do with the other? Absolutley nothing. But OP thinks it does, "regualr Java" so their faggy scheame worked.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List