由刘镇伟导演,郑中基、孙俪、朱茵、方力申、王学兵、黄渤、郭涛、郭德纲、于谦、黄奕、吴京、曾志伟、梁小龙、田启文、徐娇、元华、元秋等58位华语影坛顶尖喜剧明星共同加盟的爆笑爱情喜剧大片《越光宝盒》即将于3月18日上映。近日片方首次对外公布了正式预告片。
请帮我写一段代码,我要一个网站首页幻灯片效果,幻灯片一共四张图片,每次显示一张图片,其它图片隐藏,通过鼠标移动到旁边的四张缩略图上触发幻灯片区域图片的显示与隐藏。(像大旗网首页那样)我用onmouseover代码写了一下,可是只能控制一个层的显示或者一个层的隐藏,怎么写代码让onmouseover事件触发一个图层显示,其他图层隐藏的效果呢?
新建一个简单的HTML测试文件,下面来测试ul li标签
<ul>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
</ul>
<ul>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
<li><a href="#">菜单一</a></li>
</ul>
[root@localhost src]# gzip -dc openvpn-2.1.1-ipv6-0.4.10.patch.gz | patch –p1
ifconfig eth0 add 2005::4/64
route –A inet6 add default gw 2005::1
加入 /etc/rc.d/rc.local
cp /etc/sysconfig/network-script/ifcfg-eth0 /etc/sysconfig/network-script/ifcfg-eth0:1
Change device eth0 ==>eth0:1
OpenVPN 2.1.1 use bridge (TAP Driver)
dev tap0 (根据实际情况调整。)
Server-bridge 192.168.8.4 255.255.255.0 192.168.8.20 192.168.8.250
————————————— —————— ——————–
| | |
服务端的IP地址和掩码 客户端分配的开始范围
如果启用了防火墙(Iptables)
[root@localhost sample-scripts]# cat bridge-start
#!/bin/bash
#################################
# Set up Ethernet bridge on Linux
# Requires: bridge-utils
#################################
# Define Bridge Interface
br="br0"
# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"
# Define physical ethernet interface to be bridged
# with TAP interface(s) above.
eth="eth1"
eth_ip="192.168.8.4"
eth_netmask="255.255.255.0"
eth_broadcast="192.168.8.255"
eth_ipv6="2005::1/64"
for t in $tap; do
openvpn –mktun –dev $t
done
/usr/sbin/brctl addbr $br
/usr/sbin/brctl addif $br $eth
for t in $tap; do
brctl addif $br $t
done
for t in $tap; do
ifconfig $t 0.0.0.0 promisc up
done
ifconfig $eth 0.0.0.0 promisc up
ifconfig $br $eth_ip netmask $eth_netmask broadcast $eth_broadcast
ifconfig $br add $eth_ipv6
最近在调试OpenVPN IPV6,发觉这个有用的资料。特收集到这里。
Copyright © 2004 by Christian Strauf
Acknowledgements go to people from the University of Erlangen for inspiring us with the idea to use OpenVPN for a tunnel broker service. Thank you, guys, it works like a charm!
Many ppl found that installing VPN on linux is not that easy, the abvailable installation guides on VPN is often limited. I have tried a lot of installation guides and finally get it connected successfully.
Here are the steps to guide you installed a secure connection between your? CentOS5 and Windows with OpenVPN open source application.