背景图填充白色背景

$white = imagecolorallocate($dstim,255,255,255);
imagefilledrectangle($dstim,0,0,$width,$height,$white);
imagecolortransparent($dstim,$white);

 

设置图片走透明通道

$img = imagecreatefrompng($src);...

阅读全文>>

2012-1-30 18:42 Monday  
<script>
$().ready(function(){
    $('#showEle').click(function(){
        parent.document.getElementsByTagName("frameset")[1].cols ="190,*";
    })
    $('#hideEle').click(function...

阅读全文>>