| Show/Hide a DIV Showing and hiding a DIV using a link can be very useful when it's not necessary to always display information on the Web page. For example, this technique can be used for posting comments on a blog. That way you don't need to use a popup window or a separate page. Generate a Table of Contents Using the DOM It's often useful for a long page to contain a table of contents, to make it easy for people to jump to the section they want to read. This script will do the work automatically, generating a table of contents using the <h1> to <h6> tags. How to Create Remote AJAX Requests One of the most common questions about Ajax is whether it's possible to create remote or cross-domain Ajax requests 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. Universally Related Popup Menus AJAX Edition: Part 2 Last week we looked at a brief overview of Ajax, relevant JavaScript 1.3 enhancements, how to run the example and using the script within your own Web page. This week we look at additional functionality that you'd like to add to scripts and an in-depth explanation of the JavaScript code. | 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 AD HERE? Click Here | 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. An Introduction to JavaScript Object Notation (JSON) JavaScript Object Notation, or JSON for short, is a lightweight data-interchange format which may prove to be a viable alternative to XML for IT developers. It's easy to read and write by people as well as for machines to parse and generate. By Rob Gravelle. 0227 Database-enabled Ajax with PHP Ajax has taken the Web to a new level by offering an intuitive interactive model that rivals the desktop. To compete with desktop applications, you'll learn how to create database-enabled Ajax requests using PHP and MySQL. JavaScript vs. Flash for Animation When you think of interactive multimedia on the Web, you probably think of Flash. But Flash creates accessiblity problems, especially for those with disabilities. A solution is to use JavaScript, which avoids many of the issues inherent in Flash. Forum query: popup div So, I have a div that becomes visible on mouseover (display='block') and goes away on mouseout (display='none')... .popup {position:absolute; display:none;} ... <a href="page.html" onMouseOver="document.getElementById('popup1').style.display='block';"... Forum query: JS n00b preload images problem I have this Javscript that im using to preload images that rollover but for some reason it seems to do nothing. It would help if it errored :S <script type="text/javascript"> <!-- if (document.images) { preload_image_object = new Image(); // set image url image_url = new... Forum query: Web 2.0 layout - drag and drop Hi Folks, Are there any tutorials on how to go about creating an interface, where users can customise content and display whats relevant? Big sites like yahoo, myspace, facebook, bbc all do this. Are there any tutorials on how to go about it? I have basic knowledge of AJAX and XMLHttpRequest Forum query: Javascript Problem Hi, we are HTML, PHP programmers and know very little Javascript, but we have a problem on one of our sites for our clients who supplies Heating boliers and radiators. What we have is a heating pack calculator written in PHP and mainly Javascript for the actual calc, in other words you select a... Forum query: is XMLHTTP incapable of processing via iteration? Hi all, I have a utility that needs to retrieve results from an as of yet unwritten server side application, and process those results to a dynamically sized list of items. It seems as though XMLHTTP only fully processes after your loop completes it's full iteration, thereby eliminating... |