探索與發現

          研究java技術

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            83 隨筆 :: 0 文章 :: 109 評論 :: 0 Trackbacks

          2010年7月27日 #


          css 樣式
          .productshow{width:100%}
          .productshow .text{list-style-type:none; margin:0; padding:0}
          .productshow .text li{line-height:25px; background:url(../t_line.gif) repeat-x bottom}
          .productshow .text li A {background:url(../icons/dot1.gif) no-repeat; background-position:0 3px; padding-left:13px}
          .productshow .text A:link {color: #000; text-decoration: none}
          .productshow .text A:visited {color:#000; text-decoration: none}
          .productshow .text A:active {color: #000; text-decoration: none}
          .productshow .text A:hover {color: #B00000; text-decoration: underline}
          .productshow .pic{list-style-type:none; margin:0; padding:0}
          .productshow .pic li{float:left; width:120px}
          .productshow .pic li p{text-align:center; line-height:160%; word-break:break-all; width:120px; overflow:auto; }
          .productshow .pic li .picture{margin:0 auto; text-align:Center; width:110px; height:110px}
          .productshow .pic li .picture IMG{MARGIN-TOP: expression(( 110 - this.height ) / 2); width: expression(this.width > 110 ? 110 : true); height: expression(this.height > 110 ? 110 : true); max-width: 110px; max-height: 110px; VERTICAL-ALIGN: middle; TEXT-ALIGN: center}
          .productshow .pic li .sprice{text-align:center;color:#999;text-decoration:line-through}
          .productshow .pic li .proname{margin:0 auto; text-align:center; line-height:160%; height:40px; word-break:break-all; width:120px; overflow:hidden}
          .productshow .pic li .price{text-align:center;color:#ff0000}
          .productshow .pic li .buylist{line-height:25px; text-align:center;color:#6DAADA; display:none}
          .productshow .pic .list-line{width:157px}
          .productshow .pic .list-line .picture-s{float:left; margin:0 auto; text-align:Center; width:50px; height:50px}
          .productshow .pic .list-line .picture-s IMG{MARGIN-TOP: expression(( 45 - this.height ) / 2); width: expression(this.width > 45 ? 45 : true); height: expression(this.height > 45 ? 45 : true); max-width: 45px; max-height: 45px; VERTICAL-ALIGN: middle; TEXT-ALIGN: center}
          .productshow .pic .list-line .picinfo{float:left; padding-left:12px; width:95px}
          .productshow .pic li A:link {color: #000; text-decoration: none}
          .productshow .pic li A:visited {color:#000; text-decoration: none}
          .productshow .pic li A:active {color: #000; text-decoration: none}
          .productshow .pic li A:hover {color: #B00000; text-decoration: underline}



          主體代碼

          <table width="609" style="border:1px solid #FF8119" cellspacing="0" cellpadding="0">
                        <tbody><tr>
                          <td background="shop/skins/56770_com_b_002/center_bg.gif"><div class="productshow">
          <ul class="pic">
          <form action="#" method="post" name="LEBI_FORMBUY_0001" id="LEBI_FORMBUY_0001"><li>
           <div class="picture"><a href="shop/product/default.asp?id=16" class="picborder" target="_self"><img border="0" src="shop/Pic/201009/1211144612000.jpg" {@onmouse}="" alt="2010男裝 秋裝商"></a></div>
           <div class="proname"><a href="shop/product/default.asp?id=16" title="2010男裝 秋裝商" target="_self">2010男裝 秋裝商</a></div>
                   <p><span class="sprice">市場價:¥100.00</span></p>
           <p><span class="price">購買價:¥90.00</span></p>
           <p class="buylist">購買數量 <input type="text" name="pro_num_0001_16" id="pro_num_0001_16" value="1" size="3" style="width:30px;" class="form"><input type="hidden" name="pro_size_0001_16" id="pro_size_0001_16" value="-"><input type="hidden" name="pro_color_0001_16" id="pro_color_0001_16" value="-"><br><input type="button" name="button_0001_16" value="購買" onclick="javascript:addtobasket('16','0001','','1')" class="button">&nbsp;<input type="button" name="fav" value="收藏" onclick="location.href='shop/user/?action=shoucang_add&amp;id=16&amp;product_name=2010%E7%94%B7%E8%A3%85+%E7%A7%8B%E8%A3%85%E5%95%86&amp;backurl=http%3A%2F%2Flocalhost%3A80%2Fshop%2Fdefault%2Easp&amp;product_type='" class="button">
          </p>
          </li><li>
           <div class="picture"><a href="shop/product/default.asp?id=15" class="picborder" target="_self"><img border="0" src="shop/Pic/201009/1211103327386.jpg" {@onmouse}="" alt="2010男裝 秋裝商"></a></div>
           <div class="proname"><a href="shop/product/default.asp?id=15" title="2010男裝 秋裝商" target="_self">2010男裝 秋裝商</a></div>
                   <p><span class="sprice">市場價:¥120.00</span></p>
           <p><span class="price">購買價:¥120.00</span></p>
           <p class="buylist">購買數量 <input type="text" name="pro_num_0001_15" id="pro_num_0001_15" value="1" size="3" style="width:30px;" class="form"><input type="hidden" name="pro_size_0001_15" id="pro_size_0001_15" value="-"><input type="hidden" name="pro_color_0001_15" id="pro_color_0001_15" value="-"><br><input type="button" name="button_0001_15" value="購買" onclick="javascript:addtobasket('15','0001','','1')" class="button">&nbsp;<input type="button" name="fav" value="收藏" onclick="location.href='shop/user/?action=shoucang_add&amp;id=15&amp;product_name=2010%E7%94%B7%E8%A3%85+%E7%A7%8B%E8%A3%85%E5%95%86&amp;backurl=http%3A%2F%2Flocalhost%3A80%2Fshop%2Fdefault%2Easp&amp;product_type='" class="button">
          </p>
          </li><li>
           <div class="picture"><a href="shop/product/default.asp?id=14" class="picborder" target="_self"><img border="0" src="shop/Pic/201009/121181193516.jpg" {@onmouse}="" alt="2010男裝 秋裝商"></a></div>
           <div class="proname"><a href="shop/product/default.asp?id=14" title="2010男裝 秋裝商" target="_self">2010男裝 秋裝商</a></div>
                   <p><span class="sprice">市場價:¥100.00</span></p>
           <p><span class="price">購買價:¥100.00</span></p>
           <p class="buylist">購買數量 <input type="text" name="pro_num_0001_14" id="pro_num_0001_14" value="1" size="3" style="width:30px;" class="form"><input type="hidden" name="pro_size_0001_14" id="pro_size_0001_14" value="-"><input type="hidden" name="pro_color_0001_14" id="pro_color_0001_14" value="-"><br><input type="button" name="button_0001_14" value="購買" onclick="javascript:addtobasket('14','0001','','1')" class="button">&nbsp;<input type="button" name="fav" value="收藏" onclick="location.href='shop/user/?action=shoucang_add&amp;id=14&amp;product_name=2010%E7%94%B7%E8%A3%85+%E7%A7%8B%E8%A3%85%E5%95%86&amp;backurl=http%3A%2F%2Flocalhost%3A80%2Fshop%2Fdefault%2Easp&amp;product_type='" class="button">
          </p>
          </li><li>
           <div class="picture"><a href="shop/product/default.asp?id=11" class="picborder" target="_self"><img border="0" src="shop/Pic/201009/121101451977.jpg" {@onmouse}="" alt="2010品牌男襯衣"></a></div>
           <div class="proname"><a href="shop/product/default.asp?id=11" title="2010品牌男襯衣" target="_self">2010品牌男襯衣</a></div>
                   <p><span class="sprice">市場價:¥100.00</span></p>
           <p><span class="price">購買價:¥100.00</span></p>
           <p class="buylist">購買數量 <input type="text" name="pro_num_0001_11" id="pro_num_0001_11" value="1" size="3" style="width:30px;" class="form"><input type="hidden" name="pro_size_0001_11" id="pro_size_0001_11" value="-"><input type="hidden" name="pro_color_0001_11" id="pro_color_0001_11" value="-"><br><input type="button" name="button_0001_11" value="購買" onclick="javascript:addtobasket('11','0001','','1')" class="button">&nbsp;<input type="button" name="fav" value="收藏" onclick="location.href='shop/user/?action=shoucang_add&amp;id=11&amp;product_name=2010%E5%93%81%E7%89%8C%E7%94%B7%E8%A1%AC%E8%A1%A3&amp;backurl=http%3A%2F%2Flocalhost%3A80%2Fshop%2Fdefault%2Easp&amp;product_type='" class="button">
          </p>
          </li><li>
           <div class="picture"><a href="shop/product/default.asp?id=9" class="picborder" target="_self"><img border="0" src="shop/Pic/201009/121053257865.jpg" {@onmouse}="" alt="2010年秋冬新款特"></a></div>
           <div class="proname"><a href="shop/product/default.asp?id=9" title="2010年秋冬新款特" target="_self">2010年秋冬新款特</a></div>
                   <p><span class="sprice">市場價:¥100.00</span></p>
           <p><span class="price">購買價:¥100.00</span></p>
           <p class="buylist">購買數量 <input type="text" name="pro_num_0001_9" id="pro_num_0001_9" value="1" size="3" style="width:30px;" class="form"><input type="hidden" name="pro_size_0001_9" id="pro_size_0001_9" value="-"><input type="hidden" name="pro_color_0001_9" id="pro_color_0001_9" value="-"><br><input type="button" name="button_0001_9" value="購買" onclick="javascript:addtobasket('9','0001','','1')" class="button">&nbsp;<input type="button" name="fav" value="收藏" onclick="location.href='shop/user/?action=shoucang_add&amp;id=9&amp;product_name=2010%E5%B9%B4%E7%A7%8B%E5%86%AC%E6%96%B0%E6%AC%BE%E7%89%B9&amp;backurl=http%3A%2F%2Flocalhost%3A80%2Fshop%2Fdefault%2Easp&amp;product_type='" class="button">
          </p>
          </li></form></ul>

          <div class="both"></div></div></td>
                        </tr>
                        <tr>
                          <td><img src="shop/skins/56770_com_b_002/center_bottom.gif" width="609" height="10"></td>
                        </tr>
                      </tbody></table> 
                     

          posted @ 2010-09-15 22:55 蜘蛛 閱讀(312) | 評論 (0)編輯 收藏

          為測試 Flex 應用程序設置測試環境

          正確的用于測試 Flex 應用程序的環境設置將有助于確保可靠的功能測試結果。測試環境一般由測試人員在測試計算機上進行設置。

          關于此任務

          要設置測試環境:

          過程

          1. 檢查瀏覽器的設置:
            1. Internet Explorer:
              1. 打開 Internet Explorer。
              2. 單擊工具 > 互聯網選項
              3. 單擊安全性選項卡。
              4. 選擇適當的 Web 內容區域。執行下列某個步驟:
                • 如果在遠程機器上配置了 Web 服務器,那么請完成下列步驟:
                  1. 選擇本地內部網
                  2. 單擊站點 > 高級
                  3. 將此 Web 站點添加到區域字段中,輸入要添加到 Web 站點的 URL。
                  4. 單擊添加,然后單擊確定
                • 如果在本地主機上配置了 Web 服務器,那么請完成下列步驟:
                  1. 選擇本地內部網。
                  2. 單擊定制級別。
                  3. 復位至列表中,選擇中低
                  4. 在“設置”窗格中,針對初始化且腳本 ActiveX 控件不標記為安全一項單擊啟用。
                  5. 單擊確定
            2. Firefox:
              1. 單擊工具 > 選項 > 內容。
              2. 清除阻止彈出窗口復選框。
              3. 單擊工具 > 選項 > 安全
              4. 清除當有站點試圖安裝插件時發出警告復選框。
          2. 打開 IBM Rational Functional Tester,然后單擊配置 > 啟用測試環境。必須啟用所需要的 JRE 并將 Internet Explorer 設置為缺省 Web 瀏覽器。
          3. 在“Web 瀏覽器”頁面中啟用所需要的瀏覽器。
          4. 將測試下應用程序設置為可信以在本地運行應用程序。指向單個文件或目錄的路徑處于可信狀態,同時所有的文件將會分配到每個選定的目錄及其可信的子目錄中。按照下列步驟來分配信任目標:
            1. 在 C:\WINDOWS\system32\Macromed\Flash 中創建文件夾 FlashPlayerTrust。
            2. 在 FlashPlayerTrust 文件夾中創建一個名為 Flex 且不帶擴展名的文件。
            3. 在 Flex 文件中輸入 Flex 應用程序的目錄路徑。例如,如果 Flex 應用程序位于 C:\Test 目錄中,請在 Flex 文件中輸入路徑 C:\Test
            4. 保存文件。
          posted @ 2010-07-27 06:00 蜘蛛 閱讀(258) | 評論 (0)編輯 收藏

          主站蜘蛛池模板: 泗水县| 天水市| 桐柏县| 镶黄旗| 镇宁| 黎城县| 福贡县| 扎赉特旗| 灵川县| 宽甸| 东至县| 谷城县| 怀柔区| 衡水市| 台北县| 清苑县| 科技| 清镇市| 巴中市| 河南省| 海安县| 新绛县| 抚顺市| 兴国县| 报价| 威海市| 绥德县| 广昌县| 师宗县| 通江县| 图们市| 通海县| 凉山| 彭州市| 福海县| 金秀| 克拉玛依市| 普安县| 金寨县| 会同县| 米易县|