Friday, February 8, 2008

JavaScript.com HTML Newsletter, Fri Feb 8 2008

JavaScript.com

Internet.com Network
Friday February 8, 2008

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.

Improved Fibonacci Sequence
This script displays a Fibonacci sequence up to a certain number of calculations. It uses a lookup array to offset the large, recursive calculations needed to calculate large numbers, and is not too processor intensive. It is precise to 32 bits (78 iterations), after which the JavaScript interpreter rolls bits over.

Eloquent JavaScript
This is a comprehensive introduction to the JavaScript programming language. In addition, it also contains plenty of example programs, and a console to try them out and test them.

OnMouseOver Image Gallery
When the mouse moves over one of the thumbnails, the larger-sized picture area changes to the larger-sized picture that corresponds to that thumbnail. Easy to implement.

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.

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
 

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.

Universally Related Popup Menus AJAX Edition: Part 3
Last week we looked at an in-depth explanation of the JavaScript code. This week, we conclude the series with a line-by-line walkthrough of the JavaScript code and describe the server-side classic ASP script code. By Rob Gravelle. 0206

How to Create a JavaScript Animation
JavaScript animations aren't difficult to write. Once you learn a few main ideas, you can create complex animations to display in your browser. Additionally, the content will be available to search engines because the content is in machine-readable (X)HTML.

How to Create Form Posts with Ajax
Now that Ajax is becoming a standard for handling interactions on the Web it's time to use it to update form submissions. In this article you'll learn how to create a reusable Ajax process for all forms. The source code and a working demo is included.

Forum query: Click and load into Iframe
Hi all I need some advice/help on loading a page into an iframe on a click event. All from within the same page, the user can click an image and when that image is clicked I send an ID of the image to a script which is running in an IFRAME. The code I need help with is the actual click event...

Forum query: window.open
i have this function which is called from flash function printLabels(obj) { window.open('http://localhost/scriptx/test2.cfm?p1='+ obj,'mywindow'); } the obj however is to large to send , please how can i send the obj onto another page

Forum query: Post form results to Database
Hello I'm new to this forum I hope someone will be able to help. I've found this really great javascript that uses forms and DIv to allow users to page through a form entering details as they go. then the script loops thought the entries in a form and then writes the results into a HTML text...

Forum query: Javascript Class, which is the best way?
var MyClass2 = function(n, s) { this.Name = n; this.Surname = s; this.SayName = function() { alert(this.Name + ' ' + this.Surname); } }

Forum query: Pass image name to function
I'm making a page with a simple photo gallery where you click a thumbnail then the larger image appears in a popup. I've found a couple of scripts to do that, but you have to explicitly type the path of the image to load into the href for each link. Is there a way to automatically detect and pass...






JupiterOnlineMedia

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Advertise | Newsletters | Tech Jobs | Shopping | E-mail Offers

All newsletters are sent from the domain "internet.com." Please use this domain name (not the entire "from" address, which varies) when configuring e-mail or spam filter rules, if you use them.

No comments: