DefinitionThis compnent enables various ajax functionality into the page. UsageUsed to either auto include content on page load, or control where hijaxed content is loaded on form submit or link click This component consist of a DIV and an A tag that refers to the URL of the remote page you want to use for your include. The URL must contain an anchor that refers to the ID of the DIV you wish to include. For example, href="/foo/bar.html#foo" will include the contents of the The remote page can be a complete page with headers and footers or a simple pop up. The only restriction is that it must be a complete HTML page that can be viewed as a standalone document.
While this component is fairly simple to apply, one thing to note is the use of an ID in the g32 DIV. This ID, "myDiv," is optional and can be changed to any ID value. The ID is useful if the content you are including needs to reference or be a child of a specific ID, whether for css styling or further ajax interactions. Although the text inside the link will not be visible to most users, it should be edited to describe what is going to be included, for example; "Get Contact Info," "Submit this Form," etc. This will enable users without javascript to be able to link directly to the content on another page--making it accessible to them. |