Oct 072008
CMS Made Simpleのテンプレートで見かけたコードです。
<script type="text/JavaScript"> <!-- //pass min and max -measured against window width function P7_MinMaxW(a,b){ var nw="auto",w=document.documentElement.clientWidth; if(w>=b){nw=b+"px";}if(w<=a){nw=a+"px";}return nw; } //--> </script> <!--[if lte IE 6]> <style type="text/css"> #pagewrapper {width:expression(P7_MinMaxW(720,950));} #container {height: 1%;} </style> <![endif]-->
上記は”Top simple navigation + left subnavigation + 1 column”テンプレート中のコード。
テンプレートはインストール時にDBに入れるものなので、元ファイルは以下のSQLになります。
http://svn.cmsmadesimple.org/svn/cmsmadesimple/tags/version-1.4.1/install/schemas/initial.sql
Sorry, the comment form is closed at this time.