[Slashdotjp-dev 1323] [854] remove left menu content-height management code

アーカイブの一覧に戻る

svnno****@sourc***** svnno****@sourc*****
2008年 12月 1日 (月) 20:24:11 JST


Revision: 854
          http://svn.sourceforge.jp/view?root=slashdotjp&view=rev&rev=854
Author:   tach
Date:     2008-12-01 20:24:11 +0900 (Mon, 01 Dec 2008)

Log Message:
-----------
remove left menu content-height management code

Modified Paths:
--------------
    test/images/all-minified.js.jp


-------------- next part --------------
Modified: test/images/all-minified.js.jp
===================================================================
--- test/images/all-minified.js.jp	2008-12-01 04:21:53 UTC (rev 853)
+++ test/images/all-minified.js.jp	2008-12-01 11:24:11 UTC (rev 854)
@@ -1,30 +1 @@
 /* append for slashdot.jp */
-
-/* remove left menu content-height value */
-(function(){
-  var content_height_version = "20080428c";
-  var append = "";
-
-  /* ignore if the version is latest */
-  if ( document.cookie.indexOf("content-height-version=" + content_height_version) > 0 )
-    return null;
-
-  /* check domain */
-  get_domain();
-  append = "; domain=." + domainname
-
-  /* delete cookie if exists and non-zero */
-  $A(document.cookie.split("; ")).each(function(cookie) {
-    var c = cookie.split("=", 2);
-    if ( blocks.indexOf(c[0].replace("-content-height$", "")) && c[1] > 0 ) {
-      document.cookie = c[0] + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT" + append;
-      if (isdomain)
-        document.cookie = c[0] + "=; expires=Thu, 01 Jan 1970 00:00:00 GMT";
-    }
-  });
-
-  /* remember content-height-version */
-  document.cookie = "content-height-version=" + content_height_version + "; path=/" + append;
-  if (isdomain)
-    document.cookie = "content-height-version=" + content_height_version + "; path=/";
-})();


Slashdotjp-dev メーリングリストの案内
アーカイブの一覧に戻る