A more interesting question is how do you create a gallery that combines Listing 1 with other photo descriptions such as those in Listing 2?
更令人感兴趣的问题是,如何创建一个图库,使它将清单1以及其它照片描述(譬如清单2中的描述)组合起来?
Listing 1 adds some div elements, mostly so you can deal with the image gallery as one unit, and details about the image (which you'll add soon) as the other major element.
清单1添加了一些div元素,主要是为了能够将图片库作为一个单元处理,有关图像的细节(稍候会添加)则作为另一个主要因素。
应用推荐