手机浏览 RSS 2.0 订阅 膘叔的简单人生 , 腾讯云RDS购买 | 超便宜的Vultr , 注册 | 登陆
浏览模式: 标准 | 列表查看gouki的文章

地图资料

51地图的网站,再作记录。以及一些API。

首页:http://api.51ditu.com/docs/index.html

http://api.51ditu.com/docs/mapsapi.html

http://api.51ditu.com/docs/mapsapi/examples.html

http://api.51ditu.com/docs/mapsapi/reference.html

一些资料还是挺有用的,先记录一下。到时候可能会需要用到,免得再找

 

Tags: 地图

VOASE:Hollywood Looks Overseas for Talent and Profit


29 February 2008

 

» 阅读全文

让人失望的dualface

宁可相信世上有鬼,不能相信dualface那张嘴。当然,这句话不是我说的。。。

详情参考:http://www.fleaphp.org/bbs/viewthread.php?tid=2388&extra=page%3D1

QeePHP叫了好久了,到现在也没有出来。虽然google wiki上面的新功能介绍了很多,但,看不到产品的介绍再多,又有什么意义呢?如果确实是在进度外的,那么,可以说明一下,也不至于变成现在这样。

难道。。。这也是一种推广方式?有点失望而已

如何用DIV挡住SWF?

div在网页显示的时候,一般情况下都是被FLASH挡住,如何用div挡住flash呢?有一个小办法。。

由于现在flash在网页上显示大多用了swfObject的JS,因此,我也就拿它来举例:

 

XML/HTML代码
  1. <div id="flashContent">对不起,你的浏览器不支持flash</div>  
  2. <script>  
  3. var fso = new SWFObject("aaa.swf", "test", "100%", "100%", "8", "#FFFFFF");   
  4. //重点在这里   
  5. fso.addParam("wmode","opaque");   
  6. fso.write("flashContent");   
  7. </scirpt>  
  8. <div style="position:absolute;left:15;top:15;width:130px;height:30px;background:white"></div>  

即,先给flash加上一个参数wmode,值为opaque,然后通过用DIV的绝对路径加上背景色来挡住flash,比如一个角,等等

Tags: div, flash

Easy way to find a file in subdirectory with php

原文由双瞳翻译。(这里是简要,详情请看全文)

发布时间:08-02-18
原文:
Antoine Ughetto has posted an easy way to find a file inside any series of subdirectories with PHP:
I've made a previous post on SPL using RecursiveIterator to parse Array. Today we will use this same RecursiveIterator with a DirectoryRecursiveIterator.
The code is pretty simple and straight forward - a DirectorySearch class that takes in the directory name and recurses through the files and subdirectories to locate the file you're looking for.
译文:
Antoine Ughetto有个简便的方法,用PHP 来查找一堆子文件夹中的文件。
我先前在 SPL 上发过一篇关于用 RecursiveIterator 追踪数组的文章。现在我们将再次使用RecursiveIterator连同DirectoryRecursiveIterator。
代码相当简单明了-一个DirectorySearch类提取文件目录名称并递归所有文件和子目录, 定位查找文件。

» 阅读全文

Tags: php, spl