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

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.

主站蜘蛛池模板: 常熟市| 芦溪县| 额济纳旗| 绥滨县| 隆化县| 若尔盖县| 唐海县| 枣阳市| 柳河县| 子洲县| 梨树县| 紫金县| 景东| 明光市| 永顺县| 兴文县| 兴海县| 彰化县| 沙河市| 阿城市| 蓬莱市| 沧源| 贡嘎县| 西安市| 磴口县| 安仁县| 孝义市| 昌乐县| 吐鲁番市| 法库县| 安阳市| 江源县| 隆化县| 宽城| 太仓市| 昌都县| 龙州县| 静乐县| 滦平县| 宜都市| 海晏县|