wok-4.x rev 7075

nanochess: resize to window height
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Nov 02 20:34:30 2010 +0100 (2010-11-02)
parents c05eef2cf368
children 9c6f2da9655d
files nanochess/receipt
line diff
     1.1 --- a/nanochess/receipt	Tue Nov 02 15:22:08 2010 +0000
     1.2 +++ b/nanochess/receipt	Tue Nov 02 20:34:30 2010 +0100
     1.3 @@ -15,7 +15,8 @@
     1.4  	wget -O index.html \
     1.5  		$(dirname $WEB_SITE)/archive/toledo_javascript_chess_3.html
     1.6  	sed -i -e 's/<select/\&#9823; \&rarr; &/' \
     1.7 -	  -e 's/50px/40px/g' -e 's/=60/=48/g' \
     1.8 +	  -e 's/50px/"+P+"px/g' -e 's/=60/"+H+"/g' \
     1.9 +	  -e 's|for(a=|H=innerHeight/9;P=H*5/6;|' -e 's/^"<table/for(a=&/' \
    1.10  	  -e 's/f0f":"c0c")+"0f0/f0f":"606")+"0c0/' -e 's/e0e0f0/b0b080/' \
    1.11  	  -e 's/><option.*$/>";/' -e 's|^doc.*|for(p=18;++p<23;)a+="<option>\&#98"+p+";</option>";document.write(a);|' \
    1.12  		index.html