Archive for 四月, 2010

JSView 2.0.5 在firefox 3.6下使用

下载后,修改后缀名,把.xpi修改为.zip,然后释放其中的一个文件,install.rdf ,用编辑器打开后,搜索max

<!– Mozilla Firefox –>
<em:targetApplication>
<Description>
<em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
<em:minVersion>2.0</em:minVersion> (continue reading…)


SlideDeck

SlideDeck

[SlideDeck id=’1′ width=’100%’ height=’300px’]

1 Comment more...

php邮件类

<?php
require(“class.phpmailer.php”);

$mail = new PHPMailer();
/*
$mail->IsSMTP();                   // 设置使用 SMTP
$mail->Host = “smtp.test.com”;          // 指定的 SMTP 服务器地址
$mail->SMTPAuth = true;                // 设置为安全验证方式
$mail->Username = “test”;             // SMTP 发邮件人的用户名
$mail->Password = “test”;             // SMTP 密码 (continue reading…)


PHP MSN Class 最新版,支持MSN

PHPChina讯:PHP MSN Class,支持MSNP9 (MSN 6.2)和最新的MSNP15 (WLM 8.1)协议(MSNP15协议支持离线消息),可以作为MSN机器人使用,或者给MSN、雅虎通发消息。

示例代码

<?php
include_once(‘msn.class.php’); (continue reading…)




jQuery 表格插件汇总

本文搜集了大量 jQuery 表格插件,帮助 Web 设计者更好地驾御 HTML 表格,你可以对表格进行横向和竖向排序,设置固定表头,对表格进行搜索,对大表格进行分页,对表格进行滚动,拖放操作等等。这些插件很多都包含详细的教程。

Flexigrid – Web 2.0 Javscript Grid for jQuery– 可变列宽,自动适应表头宽度,可通过 Ajax 连接 XML 数据源,类似 Ext Grid,但基于 jQuery 因此更轻量小巧。

(continue reading…)


js判断flash是否安装

<script type=text/javascriptlanguage=JavaScript>
//Powered By smvv @hi.baidu.com/smvv21
function flashChecker()
{
var hasFlash=0;         //是否安装了flash
var flashVersion=0; //flash版本
var isIE=/*@cc_on!@*/0;      //是否IE浏览器

if(isIE)
{
var swf = new ActiveXObject(‘ShockwaveFlash.ShockwaveFlash‘);
if(swf) {
hasFlash=1;
VSwf=swf.GetVariable(“$version“);
flashVersion=parseInt(VSwf.split(“ “)[1].split(“,“)[0]);
}
}else{
if (navigator.plugins && navigator.plugins.length > 0)
{
var swf=navigator.plugins[“Shockwave Flash“];
if (swf)
{
hasFlash=1;
var words = swf.description.split(“ “);
for (var i = 0; i < words.length; ++i)
{
if (isNaN(parseInt(words[i]))) continue;
flashVersion = parseInt(words[i]);
}
}
}
}
return {f:hasFlash,v:flashVersion};
}

var fls=flashChecker();
var s=“”;
if(fls.f) document.write(“您安装了flash,当前flash版本为: +fls.v+.x“);
else document.write(“您没有安装flash“);
</script>


JS浮动代码

<script>
var Rimifon = {
“Ads” : new Object,
“NewFloatAd” : function(imgUrl, strLink)
{
var ad = document.createElement(“a”); (continue reading…)


网站开场图片

function main($content, $conf) {
$this->conf = $conf;
$this->pi_setPiVarDefaults();
$this->pi_loadLL();
$this->pi_initPIflexform(); (continue reading…)


Copyright © 1996-2010 Add Lives. All rights reserved.
iDream theme by Templates Next | Powered by WordPress