Graphics Programs Reference
In-Depth Information
To examine the code in the home page:
1. Open the index.html page in Design view.
2. In the Document window, click the Spry data set , and then, in the status bar,
click the <div.MasterDetail> tag. The entire Spry data set is selected.
3. Switch to Code view. The code for the Spry data set inserted at the insertion point
is highlighted in blue. See Figure 8-33.
Figure 8-33
HTML code for the Spry data set in the home page
code creates a div
and specifies the
location of the
master container
data and what data
to display
code to display a
S pry region with
Master/Detail container
code creates a div
and specifies the
location of the detail
container data and
what data to display
4. Scroll up to see the JavaScript code. See Figure 8-34.
Search WWH ::




Custom Search