我的供应商网站代码文档格式.docx
《我的供应商网站代码文档格式.docx》由会员分享,可在线阅读,更多相关《我的供应商网站代码文档格式.docx(44页珍藏版)》请在冰点文库上搜索。
varShop={"
set"
:
{"
path"
"
\/"
"
buytarget"
2"
dragcart"
null,"
refer_timeout"
15},"
url"
addcart"
\/\/\/?
cart-ajaxadd.html"
shipping"
cart-shipping.html"
payment"
cart-payment.html"
total"
cart-total.html"
viewcart"
cart-view.html"
ordertotal"
applycoupon"
cart-applycoupon.html"
product_diff"
product-diff.html"
}};
/script>
src="
rel="
/head>
body>
divid="
Top"
Logo"
ahref="
border="
0"
/>
/a>
/div>
TopLinks"
spanid="
foobar_widgets_1194"
style="
position:
relative;
z-index:
65535;
loginBar_widgets_1194"
visibility:
hidden;
您好,&
nbsp;
&
--<
class="
wgt-tb-login"
[<
i>
淘宝<
/i>
会员登录]<
-->
id="
memberBar_widgets_1194"
display:
none"
您好,<
uname_widgets_1194"
/span>
target="
_blank"
cart-container"
spanclass="
inlineblockCartIco"
购物车<
Cart_widgets_1194"
cart-number"
0<
]<
imgborder="
width:
11px;
height:
background-image:
url(statics/bundle.gif);
background-repeat:
no-repeat;
background-position:
0-25px;
script>
window.addEvent('
domready'
function(){window.updateFooBar=arguments.callee;
varfoobar=function(){this.el=$('
foobar_'
+this.id);
/*会员*/varuname=Cookie.get('
S[UNAME]'
);
if(uname){$('
uname_'
+this.id).setText(uname);
}if(Cookie.get('
S[MEMBER]'
)){$('
loginBar_'
+this.id).hide();
$('
memberBar_'
+this.id).show();
}else{$('
+this.id).setStyle('
visibility'
'
visible'
}/*货币*/this.curEl=$('
Cur_sel_'
if(this.curEl){this.curList=newElement('
div'
{'
class'
'
fmenu'
}).setStyles({'
display'
none'
top'
20,'
left'
this.curEl.getPosition(this.curEl.getParent()).x}).inject(this.el);
newQMenu(this.curEl,this.curList);
varcurNow=Cookie.get('
S[CUR]'
for(vari=0;
i<
this.cur.length;
i++){if(curNow==this.cur[i].cur_code){$E('
strong'
this.curEl).setText(this.cur[i].cur_sign+'
'
+this.cur[i].cur_name);
}newElement('
item'
style'
text-align:
}).setText(this.cur[i].cur_sign+'
+this.cur[i].cur_name).inject(this.curList).addEvent('
click'
function(e){Cookie.set('
this.cur_code);
window.location.reload()}.bind(this.cur[i]));
}}/*购物车*/this.cartEl=$('
Cart_'
if(this.cartEl){Cart.bindView(this.cartEl);
}if($('
Cart_widgets_1194'
).setText(Cookie.get('
S[CART_COUNT]'
)?
Cookie.get('
):
0);
}/*显示*/if(this.stick){varfoobar_el=this.el;
varfeCis=foobar_el.getCis();
varfoobarFix=newElement('
{styles:
{'
background'
#e9e9e9'
line-height'
25,'
position'
absolute'
zIndex'
65535,'
width'
100%'
text-align'
center'
border'
1px#cccsolid'
}}).inject(document.body).setStyle('
hidden'
vartemp_foobar_el=newElement('
span'
).setStyles({'
foobar_el.getSize().x,'
height'
foobar_el.getSize().y,'
relative'
}).setHTML('
).injectAfter(foobar_el).hide();
varfixbar=function(){varst=window.getScrollTop();
if(st>
feCis.top){foobarFix.adopt(foobar_el).setStyle('
st+20).setStyle('
temp_foobar_el.show()}else{foobar_el.injectAfter(temp_foobar_el.hide());
foobarFix.setStyle('
scroll'
fixbar);
resize'
if(foobar){foobar.call({id:
widgets_1194'
cur:
null,alwayShow:
true,cartUrl:
COLOR:
#321f10;
PADDING-TOP:
10px"
FONTface=宋体>
STRONG>
FONTsize=3>
七年老字号工厂,三年诚信通企业,自产自销,提供一件代发,承接订单生产<
/FONT>
FONTcolor=#444444>
FONTface=仿宋>
FONTsize=4>
FONTface=宋体size=2>
订购热线<
FONTcolor=#783f04>
027-87734635<
/STRONG>
/DIV>
--JiaThisButtonBEGIN-->
SCRIPTsrc="
type=text/javascriptcharset=utf-8>
/SCRIPT>
--JiaThisButtonEND-->
charset=utf-8>
DIVstyle="
WIDTH:
0px;
POSITION:
absolute;
HEIGHT:
0px"
FONTcolor=#666666>
OBJECTid=gnayswfcodeBase=height=0width=0classid=clsid:
D27CDB6E-AE6D-11cf-96B8-444553540000>
PARAMNAME="
_cx"
VALUE="
26"
_cy"
FlashVars"
Movie"
NAME="
Src"
WMode"
Window"
Play"
-1"
Loop"
Quality"
High"
SAlign"
Menu"
Base"
AllowScriptAccess"
always"
Scale"
ShowAll"
DeviceFont"
EmbedMovie"
BGColor"
SWRemote"
MovieData"
SeamlessTabbing"
1"
Profile"
ProfileAddress"
ProfilePort"
AllowNetworking"
all"
AllowFullScreen"
false"
embedname='
gnayswf'
src='
FlashVars='
z=a'
width=0height=0allowscriptaccess='
always'
swLiveConnect='
true'
type='
application/x-shockwave-flash'
pluginspage='
/OBJECT>
clear"
ulclass="
MenuList"
li>
>
首页<
/li>
商城公告<
AllWrap"
clearfix"
divclass="
border1"
widgets_1233"
h3>
搜索框<
/h3>
border-body"
formaction="
method="
post"
SearchBar"
tablewidth="
100%"
cellpadding="
cellspacing="
tr>
tdcolspan="
3"
search_label"
span>
关键字:
/td>
/tr>
inputname="
name[]"
inputstylekeywords"
value="
95%;
search_btnbar"
inputtype="
submit"
搜索"
btn_search"
btn_advsearch"
高级搜索<
/table>
/form>
flashcontent_widgets_1211"
function(){varobj=newSwiff('
{width:
950,height:
400,container:
$('
flashcontent_widgets_1211'
),events:
{load:
function(){alert("
Flashisloaded!
}},vars:
{bcastr_flie: