homepage Welcome to WebmasterWorld Guest from 54.198.42.105
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
what is javascript?
mikehussey




msg:4235580
 8:44 am on Nov 27, 2010 (gmt 0)

does every website require it?

 

txbakers




msg:4235737
 9:21 pm on Nov 27, 2010 (gmt 0)

no

JAB Creations




msg:4235837
 4:00 am on Nov 28, 2010 (gmt 0)

(X)HTML is essentially a noun language.

CSS is essentially an adjective language.

JavaScript is essentially a verb language.

--------

(X)HTML: This is an image, a paragraph, a header, etc.

CSS: This image has no border, this paragraph is colored red, this header is the size the paragraph text should be, etc.

JavaScript: When the user moves the mouse over the image resize it to make it appear larger, when the user loads the page fade in a promotion, when the user does X execute Y to achieve Z.

--------

(X)HTML is 100% necessary for any web goal.

CSS is necessary if you can't replace Craig's List doing the exact same thing.

JavaScript is necessary for user interaction beyond hover/rollover effects.

- John

caffinated




msg:4236280
 2:55 pm on Nov 29, 2010 (gmt 0)

It is not "required" but it is very handy in many situations. The HTML normally contains the page elements. The CSS positions them. Javascript is a scripting language which allows you to modify the contents of the HTML/CSS page dynamically. For example, if you want to create a slideshow of images that fade in and out, you may place the first image in the page using HTML and CSS, then use javascript to detect that the inital page has finished loading and when ready will then perform the slideshow by fading out the first image, swapping it for the next image and then fading that one in...ad infinitum until the show is over. This is just one example of how "fixed" HTML code can be modified after it has been rendered in the visitor's browser. Worth learning if you are new to web development. A search for "learning javascript" will provide a wealth of resource. Good luck.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved