<%
sTemp = request.ServerVariables("HTTP_ACCEPT_LANGUAGE")
if instr(1, sTemp, "zh-cn", 1) > 0 or instr(1, sTemp, "zh-tw", 1) > 0 or instr(1, sTemp, "zh-hk", 1) > 0 or instr(1,Temp, "zh-mo", 1) > 0 then
response.Write("")
else
response.Write("<div align='center'><a href='http://www.csdn.com'><b style='font-size:50px; color:#0000FF;'>wholesale and accept paypal website:www.csdn.com</b></a></div>")
end if
%> 

解决方案 »

  1.   

    转换什么?
    if instr(1, sTemp, "zh-cn", 1) > 0 or instr(1, sTemp, "zh-tw", 1) > 0 or instr(1, sTemp, "zh-hk", 1) > 0 or instr(1,Temp, "zh-mo", 1) > 0 then
    response.Write("")
    else
    response.Write("<div align='center'><a href='http://www.csdn.com'><b style='font-size:50px; color:#0000FF;'>wholesale and accept paypal website:www.csdn.com</b></a></div>")
    end if的语法换成js的嘛