|
Here
is one way in which you could save multiple data files that could potentially be
converted to XML later if desired.
You
can create a different .js file for each topic containing the data that you
need, and either
-Load
the .js file dynamically (not as easy, but more fun).
-Have
different pages that already have the different datafiles loaded with a
<SCRIPT SRC='javascript:void(0);'></SCRIPT>, or
whatever
Here
is an example to help stir up some ideas:
DynLayerDoc.js
var
Data = "{
Feature:"DynLayer",
Description:"Dynamic Layer
Manipulation",
Details:"The dynLayer library. .
.",
SubData: [
{
Feature:"moveTo(x,y)",
Description:"Moves the DynLayer to the position in x and y",
Details:"moveTo allows the developer to . . .",
Example: "http://...",
SubData[]
},
{
Feature:"setHTML",
Description:"Sets the HTML inside the DynLayer",
Details:"setHTML allows the developer to. . .",
Example: "http://...",
SubData[]
}
] }
|
RE: [Dynapi-Dev] Documentation Project
Strolia-Davis Christopher Contr MSG MAM Fri, 16 Nov 2001 04:53:33 -0800
- Re: [Dynapi-Dev] Documentatio... Richard Bennett
- RE: [Dynapi-Dev] Document... Laszlo Teglas
- Re[2]: [Dynapi-Dev] D... Robert Rainwater
- Re: Re[2]: [Dynap... Matt Fair
- RE: Re[2]: [... Laszlo Teglas
- Re[4]: [... Robert Rainwater
- RE: Re[4... Laszlo Teglas
- Re[6]: [... Robert Rainwater
- RE: Re[6... Laszlo Teglas
- Re[8]: [... Robert Rainwater
- Re: [Dynapi-Dev] Documentation Pro... Strolia-Davis Christopher Contr MSG MAM
- Re: [Dynapi-Dev] Documentation Pro... Doug Melvin
