广告

Adviertisement

校内网代码初学者基础教程(四)

    其实本文是校内网代码初学者基础教程系列之四,也就是终结篇了

    基本上校内网的基础代码都提到了,你把4篇看完,基本也就能懂了

    1,头像特效代码

    <style type=text/css>#userPicture a:hover img {filter:FlipH();}</style>
    <style type=text/css>#userAlbum a:hover img {filter:FlipH();}</style>
    <style type=text/css>a:hover img {filter:FlipH();}</style>
    <style type=text/css>#userVisitor .personIcon a:hover img {filter:FlipH();}</style>

    2,让右击失效的代码 (换成你自己喜欢的话吧)

    <body oncontextmenu="alert('怎么?想右击?!');return false;">

    3,让滚轮失效的代码 (呵呵,这个有点过分哦)

    <body onmousewheel=" alert('你看你这说明破鼠标,滚轮都不能用"); return false; ">

    4,拓宽日志代码 (700为宽度,要多宽,改多宽)

    <style type=text/css><!--#userBlog{width:700px; position:relative;} --></style>

    5,修改自己为校内网VIP的代码

    <div style="position:absolute;Top:88px;left:388px;width:100px;color:#000;">[校内网VIP用户]</div>

    6,QQ在线交流代码 (请注意,一定要填写你的QQ号码,否则无效)

    <div style="position:absolute;Top:335px;left:500px;"><a target=blank href=http://wpa.qq.com/msgrd?V=1_x0026_Uin=QQ号码_x0026_Exe=QQ_x0026_Site=Simplelife_x0026_Menu=yes><img border="0" SRC=http://wpa.qq.com/pa?p=1:QQ号码:4 alt="点击发送信息"></a></div>