But how could you live and have no story to tell!
访问统计 original graphics

方法一:
<script   language="javascript">  
  function   GetCookie   (name)   {  
  var   arg   =   name   +   "=";  
  var   alen   =   arg.length;  
  var   clen   =   document.cookie.length;  
  var   i   =   0;  
  while   (i   <   clen)   {  
  var   j   =   i   +   alen;  
  if   (document.cookie.substring(i,   j)   ==   arg)  
  return   getCookieVal   (j);  
  i   =   document.cookie.indexOf("   ",   i)   +   1;  
  if   (i   ==   0)   break;    
  }  
  return   null;  
  }  
   
  function   getCookieVal   (offset)   {  
  var   endstr   =   document.cookie.indexOf   (";",   offset);  
  if   (endstr   ==   -1)  
  endstr   =   document.cookie.length;  
  return   unescape(document.cookie.substring(offset,   endstr));  
  }  
  function   SetCookie   (name,   value)   {  
  document.cookie   =   name   +   "="   +   escape   (value)  
  }  
  </script>  
  然后在页面中加上  
  <body   onload="document.body.scrollTop=GetCookie('posy')"   onunload="SetCookie('posy',document.body.scrollTop)">

方法二:
设置页面的SmartNavigation=True

posted on 2008-06-13 16:43  nextsoft  阅读(761)  评论(0编辑  收藏  举报