AJAX - a very great web development technology nowaday. Use this AJAX in order to load XML and HTML files on the same website with XMLHttpRequest. And in the body section, just call the name of the file need to get page content and the element for the content page display in, usually a DIV element.
This JavaScript tutorial will show you how to combine RSS, AJAX, and JavaScript to create a real-time RSS ticker.
Thanks to AJAX, the conventional roles of server side and client side programming are reversed in an web application like this as JavaScript- not PHP- is used to handle much of the work, including parsing the RSS file.
I've learned it's good form to always show your viewers exactly where you're leading them to begin with, so here are a couple of examples of the Ajax style RSS ticker I'll be discussing how to create.
Use this JavaScript instead of frames. When a visitor clicks on a specific link, the content of that link is inserted into the page without a refresh. When a page doesn't exist, a user-friendly error message is given.
This AJAX playscript allows you make page read on other page's content (both asks to be from the same web site - avoid security issues) and show them on require inside the current user page. You can further assign any external .js or .css files that should be loaded at the same time as the external page, because AJAX fetched pages often will be not load these files correctly equally they come out within the page's source.
Prototype is a JavaScript framework that features a unique, easy-to-use toolkit for class-driven development. The standards-compliant code takes a lot of the burden associated with creating rich, highly interactive Web pages.
Documentation can be found at: http://tinyurl.com/c7agc and http://tinyurl.com/buhp2.


29/01/2007
0




