<img src="" onclick=main.location='JCZL/frameset1.htm' style="cursor:hand">

解决方案 »

  1.   

    不行啊,提示:找不到Main.但main是存在的
      

  2.   

    <img src="" onclick="main.location='JCZL/frameset1.htm'" style="cursor:hand">
    这样呢?
    如果还是不行,就window.open()
    <img src="" onclick="window.open('JCZL/frameset1.htm','main')" style="cursor:hand">
      

  3.   

    <img src="" onclick=main.location='JCZL/frameset1.htm' style="cursor:hand">
    <iframe name="main"></iframe>
    如果是框架页面
    <img src="" onclick=top.main.location='JCZL/frameset1.htm' style="cursor:hand">
    或者
    <img src="" onclick=parent.main.location='JCZL/frameset1.htm' style="cursor:hand">