官术网_书友最值得收藏!

Creating and managing other resources

JavaScript resources are not the only available resource that can be added to your solution package. Other file types can be also associated in a similar manner, including HTML pages, stylesheets, image files, as well as Silverlight controls.

Getting ready

Navigate to your solution package, and expand the Web Resources section.

How to do it...

On the Web Resources view, follow these steps:

  1. Click on New to add a new resource.
  2. In the new window, give the resource a name, a display name, and add a description if necessary.
  3. Select JPG for Type as we will be adding an image resource.
    How to do it...
  4. Click on Browse to retrieve a locally-stored image.
  5. Once the picture is selected, click on Save and then on Publish. Now your resource is added to the solution package.

    Tip

    The URL field shows a reference to how you access the resource image directly. We will be using part of that URL in scripts where we work with image resources.

主站蜘蛛池模板: 乳山市| 老河口市| 孝义市| 塘沽区| 广饶县| 专栏| 阳西县| 徐水县| 望江县| 松潘县| 三河市| 白山市| 遂宁市| 裕民县| 收藏| 庆安县| 镶黄旗| 新巴尔虎左旗| 山丹县| 涞源县| 朝阳市| 侯马市| 阿巴嘎旗| 迁西县| 密山市| 沭阳县| 长兴县| 高碑店市| 阿拉尔市| 临朐县| 海淀区| 武平县| 扶绥县| 枣阳市| 和龙市| 鄂托克前旗| 兰溪市| 静宁县| 乌什县| 公安县| 大洼县|