Đang chuẩn bị liên kết để tải về tài liệu:
DHTML Utopia Modern Web Design Using JavaScript & DOM- P13

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

DHTML Utopia Modern Web Design Using JavaScript & DOM- P13:In a single decade, the Web has evolved from a simple method of delivering technical documents to an essential part of daily life, making and breaking relationships and fortunes along the way. “Looking something up on the Internet,” by which is almost always meant the Web, is now within reach of almost anyone living in a first-world country, and the idea of conducting conversations and business (and probably orchestras) in your Web browser is no longer foreign, but part of life | Chapter 8 Remote Scripting 204 Piggybacks Even simpler than the image swap technique is to use the HTTP 204 No Content response. Using this technique instead of changing the src of an image to a new document we simply navigate to a special link. That link runs a server script that returns a 204 response code and no content at all along with useful cookie data. Browsers know to leave the current page in place when a 204 response is received. This approach is otherwise very similar to the image swap technique. Example Name Resolution Many email clients have an address book with a nickname feature enter the nickname into the To or Cc boxes and the email client replaces it with the email address attached to that nickname. Webmail systems don t often provide this functionality but it s a clear example of the sort of problem that the RSLite library is designed to answer. To create this functionality we pass a small amount of data a nickname to the server via the RSLite library the server then does all the work resolving the nickname to an email address. RSLite then passes the results of that work the email address back to the client for display. Here s a sample Web mail page. It looks just like an ordinary Web application File nameresolution.html DOCTYPE HTML PUBLIC - W3C DTD HTML 4.01 EN http www.w3.org TR html4 strict.dtd html head title Name Resolution title link type text css rel stylesheet href nameresolution.css script src rslite.js type text javascript script script src nameresolution.js type text javascript script head body h1 Name resolution h1 form p label for to To label input type text name to id to p 220 Licensed to siowchen@darke.biz Example Name Resolution P label for cc Cc label input type text name cc id cc p P label for Subject Subject label input type text name subject id subject p p textarea id message name message textarea p p input type submit value Send p form body html The styles in nameresolution.css are decorative only they have no impact on the