网上查查javascript的网站,里面有很多这样的例子

解决方案 »

  1.   

    两种实现方案:
    1)比较麻烦,用客户端 Cookie,自己编写读/写 Cookie 的函数(我这儿有做好的噢!)
    2)很简单,服务器段实现,要看你用 ASP/PERL/PHP/... 了。
      

  2.   

    <a href='javascript:goURLs()'>大大大大</a>
    <script language=javascript>
    var m_nIndex = 0;
    var m_aURL = new Array("1.htm", "2.htm", "3.htm");function goURLs() {
      window.open(m_aURL[m_nIndex]);
      m_nIndex++;
      if (m_nIndex > m_aURL.length)
        m_nIndex = 0;
    }
    </script>