1. 论坛系统升级为Xenforo,欢迎大家测试!
    Dismiss Notice

老鬼xhtml设为首页代码忽略了点

Discussion in '前端开发' started by 萧枫叶, Oct 21, 2005.

  1. 萧枫叶

    萧枫叶 New Member

    Joined:
    Sep 4, 2005
    Messages:
    37
    Likes Received:
    0
    <a href="#" onClick="this.style.behavior='url(#default#homepage)';this.setHomePage('http://www.xxx.com');"></a>

    其中C要小写。。不然会提示不通过的~~~~
     
    #1 萧枫叶, Oct 21, 2005
    Last edited: Oct 21, 2005
  2. laogui

    laogui Administrator
    Staff Member

    Joined:
    Aug 30, 2005
    Messages:
    15,216
    Likes Received:
    35
    我都没有设为首页这个东东啊,小写不是不规范,是不推荐
     
  3. 萧枫叶

    萧枫叶 New Member

    Joined:
    Sep 4, 2005
    Messages:
    37
    Likes Received:
    0
    你站上的资料~~~~嘎。。。。
    反正大写的C是不能通过检测。。嘎。。。
     
  4. 小叶

    小叶 New Member

    Joined:
    Sep 4, 2005
    Messages:
    17,941
    Likes Received:
    33
    如果要严格验证,,好像要加上title
     
  5. wm_chief

    wm_chief New Member

    Joined:
    Sep 5, 2005
    Messages:
    17,890
    Likes Received:
    46
    睡着了
     
  6. 小叶

    小叶 New Member

    Joined:
    Sep 4, 2005
    Messages:
    17,941
    Likes Received:
    33
    onClick 事件好像要在JS里声明,,不能出现在页面内.
     
  7. crackcn

    crackcn New Member

    Joined:
    Oct 18, 2005
    Messages:
    36
    Likes Received:
    0