圣诞节,GD购info域名只要0.49刀

分类:乱七八糟日期:2010-12-24 - 14:04:23评论:1条作者:老谢

info

最便宜.info域名只要$0.49送隐私保护

支持支付宝

优惠吗:gda1256

优惠内容:购买5个以上.info域名享受每个域名只要$0.49,并且赠送隐私保护,支持支付宝付款

Discount Detail:Register 5 or more new .INFO domains for just $0.49* each! (first year registrations)

有效期:未知

Expire:UNKNOWN

让子弹飞

分类:乱七八糟日期:2010-12-23 - 11:58:05评论:8条作者:老谢

让子弹飞

四点多睡不着了..

闲着无聊起来看电影..

《让子弹飞》是2010年上映的一部电影

本片是姜文导演的第四部电影作品,主要演员有姜文、周润发、葛优、刘嘉玲和陈坤等。

电影改编自四川作家马识途的长篇小说《夜谭十记》中的《盗官记》一节。

上映日期为2010年12月16日,成为和观众见面最早的贺岁片。

《让子弹飞》首周票房1.7亿,打破了《唐山大地震》1.6亿元的国产片首周票房记录。

迅雷下载地址

现在去迅雷还能下得到,抓紧吧,不然会因为版权被删掉

我的离线空间还有 下不到的朋友可以留言 我把迅雷号给你用

最近的情况

分类:吐槽日期:2010-12-19 - 8:48:06评论:7条作者:老谢

一周没更新日志了

实在没什么写的.

52sc.info被百度恢复了

日IP 600+ PV4000+

现在打算出售

1是自己没时间打理 2是没心情玩QQ站了

最近天气还不错

每天面对桌子上一堆药就很郁闷..

熬到元旦完回学校考试 这学期就算结束了

然后第四个学期开始 过三个月左右就差不多毕业了..

面临的就是就业..

现在还是应该多学点东西…

给flash添加播放与重播按钮

分类:网站技术日期:2010-12-07 - 18:51:19评论:6条作者:老谢

首先随便做一个动画..

然后按ctrl+F8创建一个新元件

元件类型选择按钮

创建一个按钮,比如“play”

然后返回场景,新建一个层,把按钮放进去

然后新建一个重播按钮 步骤如上

按钮

图层

然后给图层1的第一帧和最后一帧设置动作

在时间轴里面设置stop

添加stop

进入图层2

给play设置动作,设置为play

replay添加动作gotoAndPlay

图层2操作

on(release)
{
gotoAndPlay(2);
}

 

完成效果

完成效果..

十二月,10年快结束喽

分类:吐槽日期:2010-12-05 - 21:27:31评论:10条作者:老谢

年底了…

该买点东西满足自己了…

买了个8位的QQ送人,八位无保…不知道会不会被改回去

八位QQ 

第二就是手表..

念叨很久了,该出手了..

手表 

接着就是买来送朋友的书..

乔见巴黎

最后就是欧莱雅的护肤霜和爽肤水…

冬天了..该对自己好点…

明天好像要大降温,诸位保重身体..

欧莱雅护肤霜

爽肤水

常见网页跳转方法

分类:网站技术日期:2010-12-03 - 11:58:22评论:5条作者:老谢

首先是js跳转

<script>window.location.href='http://www.xj123.info';</script>

用php跳转

<?php header("location:http://www.xj123.info")?>

最后一个利用head的meta跳转

<META HTTP-EQUIV=REFRESH CONTENT="0;URL=http://www.linux.org">

让ie6支持png透明的js

分类:网站技术日期:2010-11-27 - 17:20:49评论:14条作者:老谢

<script language="JavaScript"> 
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6. 
{ 
    var arVersion = navigator.appVersion.split("MSIE") 
    var version = parseFloat(arVersion[1]) 
    if ((version >= 5.5) && (document.body.filters)) 
    { 
       for(var j=0; j<document.images.length; j++) 
       { 
          var img = document.images[j] 
          var imgName = img.src.toUpperCase() 
          if (imgName.substring(imgName.length-3, imgName.length) == "PNG") 
          { 
             var imgID = (img.id) ? "id='" + img.id + "' " : "" 
             var imgClass = (img.className) ? "class='" + img.className + "' " : "" 
             var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' " 
             var imgStyle = "display:inline-block;" + img.style.cssText 
             if (img.align == "left") imgStyle = "float:left;" + imgStyle 
             if (img.align == "right") imgStyle = "float:right;" + imgStyle 
             if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle 
             var strNewHTML = "<span " + imgID + imgClass + imgTitle 
             + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";" 
             + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader" 
             + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
             img.outerHTML = strNewHTML 
             j = j-1 
          } 
       } 
    }     
} 
window.attachEvent("onload", correctPNG); 
</script>
Tags:

单臂路由的配置

分类:网络技术日期:2010-11-25 - 22:37:08评论:4条作者:老谢

单臂路由的配置

Switch>enable
Switch#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#vlan 2
Switch(config-vlan)#exit
Switch(config)#vlan 3
Switch(config-vlan)#exit
Switch(config)#int fa 0/2
Switch(config-if)#switchport access vlan 2
Switch(config-if)#int fa 0/3
Switch(config-if)#switchport access vlan 3
Switch(config-if)#int fa 0/1
Switch(config-if)#switchport mode trunk
Switch(config-if)#end

路由器

Router>enable
Router#conf terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router(config)#int fa 0/0
Router(config-if)#no shutdown
 
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
Router(config-if)#int fa 0/0.1
 
%LINK-5-CHANGED: Interface FastEthernet0/0.1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.1, changed state to 
Router(config-subif)#encapsulation dot1Q 2
Router(config-subif)#ip add 192.168.1.1 255.255.255.0
Router(config-subif)#exit
Router(config)#int fa 0/0.2
 
%LINK-5-CHANGED: Interface FastEthernet0/0.2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.2, changed state to 
Router(config-subif)#encapsulation dot1Q 3
Router(config-subif)#ip add 192.168.2.1 255.255.255.0
Router(config-subif)#end

配置telnet登陆及特权模式密码

分类:网络技术日期:2010-11-24 - 21:57:56评论:0条作者:老谢

拓扑图

实验目的:配置pc telnet登陆交换机及特权模式的密码

配置过程如下

Switch>en
Switch#conf terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#int vlan 1
Switch(config-if)#ip add 192.168.1.1 255.255.255.0
Switch(config-if)#no shutdown
 
%LINK-5-CHANGED: Interface Vlan1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
Switch(config-if)#exit
 
Switch(config)#enable password 123456
Switch(config)#line vty 0 4
Switch(config-line)#password xj123
Switch(config-line)#login
Switch(config-line)#end

pc用telnet登陆

首页与内页不同title

分类:折腾日期:2010-11-23 - 12:30:16评论:5条作者:老谢

本人需要首页和内页的文章标题不一样

本来是把heade的东西复制到index

不过这样增加了index的代码量而且不方便

完美解决方法如下,ps:感谢小鬼

<title>
<?php if (is_home() ) {  ?><?php bloginfo('name'); ?> _ <?php bloginfo('description'); ?>
<?php }  else {?><?php wp_title(''); ?> _ <?php bloginfo('name'); ?> <?php  } ?>
</title>