wutou 发表于 2008-4-25 05:31:57

方案一、如果你们只有单个域用户。如本企业自身用。那么大可去掉前自动判断域名。因为你们的账户有可能是不需要域名就进入的。

请问楼主如何去掉前自动判断域名?恕我愚笨。

wutou 发表于 2008-4-25 06:19:51

已经解决
修改default.asp文件
去掉

'远程提交登陆数据判断
if request("remoteusername")<>"" and request("remotepassword")<>"" then
   if InStr(request("remoteusername"),"@")=0 then
        %>
    document.getElementById("usernameshow").value="<%=request("remoteusername")&"@"&from%>";
        <%else%>
        document.getElementById("usernameshow").value="<%=request("remoteusername")%>";
        <%end if%>
        document.getElementById("pwshow").value="<%=request("remotepassword")%>";
        gook();

<%end if


以及

function remendinput(userinput) {
    if (userinput!="admin" && userinput.length>0){
    if (userinput.indexOf("@")< 0){
        document.getElementById("usernameshow").value=userinput + "@<%=from%>";
        }
        }
}

现在可以登陆了

qhsanmao 发表于 2008-4-25 09:40:53

支持一下,非常不错。很好。

Freemikej 发表于 2008-4-25 14:45:07

原帖由 wutou 于 2008-4-25 06:19 发表 http://bbs.5dmail.net/images/common/back.gif
已经解决
修改default.asp文件
去掉

'远程提交登陆数据判断
if request("remoteusername")"" and request("remotepassword")"" then
   if InStr(request("remoteusername"),"@")=0 then
      %>
    documen ...

还要将用户名框的onblur 事件修正。
改成:<input type="text" id="usernameshow" name="usernameshow" maxlength="64" class="inp" value="">

[ 本帖最后由 Freemikej 于 2008-4-25 14:46 编辑 ]

yzhang999 发表于 2008-4-25 23:34:16

楼主强人

热心人,向楼主学习

Freemikej 发表于 2008-4-26 05:35:31

斑竹每次更新咋就不加分呢?难道又要另起一帖才能挣点5D金币?

ideacm 发表于 2008-4-27 00:57:31

好像不错

继续努力

milinoo 发表于 2008-4-27 03:21:28

很好,很强大:) :victory:

qhsanmao 发表于 2008-4-27 17:08:56

再次顶你。十分感谢。。。。

55aa 发表于 2008-4-28 08:55:22

:lol ,感谢锤子,支持,顶!~:victory:
页: 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16
查看完整版本: [2012-01-14]易企邮发布仿网易Winwebmail 3.8.1.5模板(23套皮肤)兼容3.8.1.3beta2