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

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.

主站蜘蛛池模板: 宾川县| 大关县| 哈尔滨市| 贵州省| 南雄市| 铜川市| 青川县| 永福县| 那坡县| 济宁市| 公安县| 酒泉市| 房产| 唐山市| 临湘市| 连云港市| 荥经县| 文成县| 开原市| 双牌县| 丹寨县| 留坝县| 白水县| 衡山县| 浦城县| 泽普县| 康乐县| 贞丰县| 赤峰市| 镇安县| 洞口县| 沽源县| 北流市| 东港市| 遂川县| 永仁县| 鄂托克前旗| 赞皇县| 汶上县| 峡江县| 怀化市|