探索與發(fā)現(xiàn)

          研究java技術(shù)

            BlogJava :: 首頁(yè) :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理 ::
            83 隨筆 :: 0 文章 :: 109 評(píng)論 :: 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">市場(chǎng)價(jià):¥100.00</span></p>
           <p><span class="price">購(gòu)買(mǎi)價(jià):¥90.00</span></p>
           <p class="buylist">購(gòu)買(mǎi)數(shù)量 <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="購(gòu)買(mǎi)" 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">市場(chǎng)價(jià):¥120.00</span></p>
           <p><span class="price">購(gòu)買(mǎi)價(jià):¥120.00</span></p>
           <p class="buylist">購(gòu)買(mǎi)數(shù)量 <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="購(gòu)買(mǎi)" 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">市場(chǎng)價(jià):¥100.00</span></p>
           <p><span class="price">購(gòu)買(mǎi)價(jià):¥100.00</span></p>
           <p class="buylist">購(gòu)買(mǎi)數(shù)量 <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="購(gòu)買(mǎi)" 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">市場(chǎng)價(jià):¥100.00</span></p>
           <p><span class="price">購(gòu)買(mǎi)價(jià):¥100.00</span></p>
           <p class="buylist">購(gòu)買(mǎi)數(shù)量 <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="購(gòu)買(mǎi)" 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">市場(chǎng)價(jià):¥100.00</span></p>
           <p><span class="price">購(gòu)買(mǎi)價(jià):¥100.00</span></p>
           <p class="buylist">購(gòu)買(mǎi)數(shù)量 <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="購(gòu)買(mǎi)" 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 蜘蛛 閱讀(317) | 評(píng)論 (0)編輯 收藏

          為測(cè)試 Flex 應(yīng)用程序設(shè)置測(cè)試環(huán)境

          正確的用于測(cè)試 Flex 應(yīng)用程序的環(huán)境設(shè)置將有助于確保可靠的功能測(cè)試結(jié)果。測(cè)試環(huán)境一般由測(cè)試人員在測(cè)試計(jì)算機(jī)上進(jìn)行設(shè)置。

          關(guān)于此任務(wù)

          要設(shè)置測(cè)試環(huán)境:

          過(guò)程

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

          主站蜘蛛池模板: 深水埗区| 隆林| 开江县| 阿拉善盟| 邮箱| 锦屏县| 进贤县| 永福县| 河北省| 镇平县| 陇川县| 大安市| 靖安县| 永福县| 万州区| 黄梅县| 浦县| 永春县| 墨竹工卡县| 梁山县| 绥棱县| 响水县| 锡林郭勒盟| 文安县| 水城县| 自治县| 谢通门县| 宜城市| 屏东市| 石家庄市| 永兴县| 安平县| 婺源县| 达尔| 双辽市| 高州市| 英超| 来凤县| 黔江区| 伊宁市| 金塔县|