Add and Remove Elements Dynamically create HTML elements with content wrapped within them according to the DOM2 specification. Easy to implement. Alternate Table Row-List Item Use this script to make your table data and list items easy to read. No need to hassle with listing each alternate row coloring. Very easy to use. API Developer's Guide: JavaScript This document describes how to use the JavaScript client library to send Google data API ("GData") queries and interpret returned responses. Determine Window Size Use this snippet to determine the size of an open window. Can be used in many different situations, e.g., for setting the size of a div. URL Validation This snippet is a function that validates a URL. It can easily be added to your current validation script. Simple Game Programming in JavaScript In the previous article you learned how to create an animation with JavaScript using a timer mechanism, an image of a ball and CSS styles. This time you'll learn how to create a simple ping-pong game. These JavaScript tools will allow you to create games such as Breakout, Tetris, Frogger and more. From the Internet.com eBook Library: Navigating Your IT Career A career in information technology usually has its share of ups and downs. Download this Internet.com eBook to learn where the jobs are in IT, how to negotiate a salary, and helpful advice on job security and how to deal with a layoff. Join Internet.com now to download! http://www.devx.com/ebook/Link/34938 | Interested in placing your TEXT AD HERE? Click Here Copy and Paste JavaScript with an Ajax Engine It's not necessary to understand the characteristics of Ajax in order to use it. This article provides copy and paste JavaScript with an Ajax engine. No modifications are necessary. Universally Related Popup Menus AJAX Edition: Part 1 This week we look at a brief overview of AJAX, some relevant JavaScript 1.3 enhancements, how to run the example and using the script within your own Web page. Widget Initialization Using JSON, HTML Custom Tags and XML files DHTML components or widgets exist all over the Internet as calendars, toolbars, menus, etc. This week you'll learn about configuring DHTML widgets, the pros and cons and programming techniques to avoid errors and speed up development time. Simple Game Programming in JavaScript In the previous article you learned how to create an animation with JavaScript using a timer mechanism, an image of a ball and CSS styles. This time you'll learn how to create a simple ping-pong game. These JavaScript tools will allow you to create games such as Breakout, Tetris, Frogger and more. Forum query: Change Button label with radio I need to change submit button's value based on which radio button is checked. <input type="radio" name="status" value="post"'> Post <input type="radio" name="status" value="draft"> Save <input type=submit> :confused: Forum query: Finding the Position of an Object There are many times when you need to use JavaScript to find the current position of an object on the screen. The object properties offsetTop and offsetLeft give the position of the object in terms of how far it is offset. The problem is that it is not how far you are offset from the top and left... Forum query: button.onclick even throws error in IE6 but not in FF <body> <div id="div1"> <button id="button1" onclick="clickMe()">click me</button> </div> <script language="JavaScript" type="application/javascript"> function clickMe(){ alert("Hi there") Forum query: Searching a DOM tree. Greetings, I'm in the process of learning how JavaScript can be used to work with the DOM. I have a specific problem I'm trying to solve but unfortunately my skills aren't advanced enough at this point to know how to quickly solve the problem at hand. Here is an excerpt of the XML file I am... Forum query: Problem with Pop-up I am having issues with the following code: 1) When I load the page the pop-up automatically appears at load which is not what I want. 2) I get an error, when I click on the Show button, I can't seem to figure out what I did wrong. Anyone want to help, thanks in advance... <html> <head> |
No comments:
Post a Comment