js购物车实战

上传人:简****9 文档编号:107903323 上传时间:2019-10-21 格式:DOC 页数:14 大小:39.66KB
返回 下载 相关 举报
js购物车实战_第1页
第1页 / 共14页
js购物车实战_第2页
第2页 / 共14页
js购物车实战_第3页
第3页 / 共14页
js购物车实战_第4页
第4页 / 共14页
js购物车实战_第5页
第5页 / 共14页
点击查看更多>>
资源描述

《js购物车实战》由会员分享,可在线阅读,更多相关《js购物车实战(14页珍藏版)》请在金锄头文库上搜索。

1、1 myCart.csscharset gb2312;/* CSS Document */bodymargin:0px;padding:0px;font-size:12px;line-height:20px;color:#333; ul,li,ol,h1,dl,ddlist-style:none;margin:0px;padding:0px;acolor:#1965b3; text-decoration: none; a:hovercolor:#CD590C;text-decoration:underline;imgborder:0px;vertical-align:middle;#heade

2、rheight:40px;margin:10px auto 10px auto;width:800px;clear:both;#navmargin:10px auto 10px auto;width:800px;clear:both;#navlistwidth:800px;margin:0px auto 0px auto;height:23px;#navlist lifloat:left;height:23px;line-height:26px;.navlist_red_leftbackground-image:url(./images/taobao_bg.png);background-re

3、peat:no-repeat;background-position:-12px -92px;width:3px;.navlist_redbackground-color:#ff6600;text-align:center;font-size:14px;font-weight:bold;color:#FFF;width:130px;.navlist_red_arrowbackground-color:#ff6600;background-image:url(./images/taobao_bg.png);background-repeat:no-repeat;background-positi

4、on:0px 0px;width:13px;.navlist_graybackground-color:#e4e4e4;text-align:center;font-size:14px;font-weight:bold;width:150px;.navlist_gray_arrowbackground-color:#e4e4e4;background-image:url(./images/taobao_bg.png);background-repeat:no-repeat;background-position:0px 0px;width:13px;.navlist_gray_rightbac

5、kground-image:url(./images/taobao_bg.png);background-repeat:no-repeat;background-position:-12px -138px;width:3px;#contentwidth:800px;margin:10px auto 5px auto;clear:both;.title_1text-align:center;width:50px;.title_2text-align:center;.title_3text-align:center;width:80px;.title_4text-align:center;widt

6、h:80px;.title_5text-align:center;width:100px;.title_6text-align:center;width:80px;.title_7text-align:center;width:60px;.linebackground-color:#a7cbff;height:3px;.shopInfopadding-left:10px;height:35px;vertical-align:bottom;.num_inputborder:solid 1px #666;width:25px;height:15px;text-align:center;.cart_

7、td_1,.cart_td_2,.cart_td_3,.cart_td_4,.cart_td_5,.cart_td_6,.cart_td_7,.cart_td_8background-color:#e2f2ff;border-bottom:solid 1px #d1ecff;border-top:solid 1px #d1ecff;text-align:center;padding:5px;.cart_td_1,.cart_td_3,.cart_td_4,.cart_td_5,.cart_td_6,.cart_td_7border-right:solid 1px #FFF;.cart_td_3

8、text-align:left;.cart_td_4font-weight:bold;.cart_td_7font-weight:bold;color:#fe6400;font-size:14px;.handcursor:pointer;.shopendtext-align:right;padding-right:10px;padding-bottom:10px;.yellowfont-weight:bold;color:#fe6400;font-size:18px;line-height:40px;2 register.csscharset gb2312;/* CSS Document */

9、body,dl,dt,dd,div,form padding:0;margin:0;#header,#mainwidth:650px;margin:0 auto;.bgbackground-image:url(./images/register_bg.gif);background-repeat:no-repeat;width:6px;height:6px;.bg_top_leftbackground-position:0px 0px;.bg_top_rightbackground-position:0px -6px;.bg_end_leftbackground-position:0px -1

10、2px;.bg_end_rightbackground-position:0px -18px;.bg_topborder-top:solid 1px #666666;.bg_endborder-bottom:solid 1px #666666;.bg_leftborder-left:solid 1px #666666;.bg_rightborder-right:solid 1px #666666;.contentpadding:10px;.inputsborder:solid 1px #a4c8e0;width:150px;height:15px;.userWidthwidth:110px;.

11、content divfloat:left;font-size:12px;color:#000;dlclear:both;dt,ddfloat:left;dtwidth:130px;text-align:right;font-size:14px;height:30px;line-height:25px;ddfont-size:12px;color:#666666;width:180px;.import_promptborder:solid 1px #ffcd00;background-color:#ffffda;padding-left:5px;padding-right:5px;line-h

12、eight:20px;.error_promptborder:solid 1px #ff3300;background-color:#fff2e5;background-image:url(./images/li_err.gif);background-repeat:no-repeat;background-position:5px 2px;padding:2px 5px 0px 25px;line-height:20px;.ok_promptborder:solid 1px #01be00;background-color:#e6fee4;background-image:url(./images/li_ok.gif);background-repeat:no-repeat;background-position:5px 2px;padding:2px 5px 0px 25px;line-height:20px;3 myCart.js/ JavaScript Documentfunction changeNum(numId,flag)var numId=document.getElementById(numId);if(flag=minus)if(numId.value=1)alert();return false;elsenumId.value=par

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 商业/管理/HR > 管理学资料

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号