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

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.

主站蜘蛛池模板: 定襄县| 仙居县| 璧山县| 宜州市| 莲花县| 贵阳市| 石家庄市| 津市市| 阆中市| 天门市| 勐海县| 灵武市| 龙胜| 彝良县| 福海县| 林芝县| 贺州市| 襄汾县| 津南区| 北辰区| 安徽省| 岚皋县| 孝昌县| 金坛市| 仁布县| 金湖县| 博白县| 西丰县| 桂平市| 镇远县| 星座| 景谷| 金溪县| 六盘水市| 和龙市| 泗水县| 德保县| 离岛区| 镇远县| 东乡县| 松原市|