网站首页 | 新版校内代码 | 简洁校内网代码 | 男生代码 | 校内网群班级美化 | 本站原创 | 校内网VIP代码 | 女生代码 | 校内网涂鸦板代码 | xiaonei素材 | 非主流代码 |
当前位置:主页>简洁校内网代码>文章内容

校内网一些实用代码


来源:校内网涂鸦板资源网 作者:涂鸦版 发布时间:2007-05-24  
一:更换页面结构代码:

二:局部隐藏

三:背景音乐代码:

四、背景图,挂件以及背景FLASH代码:

五,边框颜色修改,透明处理及滚动条

以下为引用的内容:

更换页面结构/局部隐藏/边框颜色修改透明处理及滚动条/版块标题修改

一:更换页面结构代码:

<style type=text/css><!--#userBlog{width:520px; position:relative;} --></style><!-加宽日志->
<style type=text/css><!--#userProfile{width:520px; position:relative;} --></style><!-加宽个人资料->
<style type=text/css><!--#userAlbum{width:520px; position:relative;} --></style><!-加宽相册->
<style type=text/css><!--#userGroup{width:520px; position:relative;} --></style><!-加宽群->
<style type=text/css><!--#userTalk{width:520px; position:relative;} --></style><!-加宽留言板->
<style type=text/css><!--#content #userPandora {width:610px; position:relative; left:-215px; } --></style><!-加宽涂鸦板->
<style type=text/css><!--#homepage{overflow:visible; width:500px; position:relative; left:0px; --></style><!-移动homepage->

<style type=text/css><!--#userProfile{width:540px; position:relative; left:-145px; } --></style><!-移动个人资料->

<style type=text/css><!--#userAlbum{width:540px; position:relative; left:-145px; } --></style><!-移动相册->

<style type=text/css><!--#userBlog{width:540px; position:relative; left:-145px; } --></style><!-移动日志->

<style type=text/css><!--#content #userPandora {overflow:visible; width:750px; position:relative; left:-355px; } --></style><!-移动涂鸦板->

<style type=text/css><!--
#userInfo,#utility,#userSchoolClass,#userVisitor,#userFriend,#ContactInfo,#sidebar,#userFriendUniv,#permalink,#utility,#tagline,#navigation,#header h1,h2,#logo,#userActions,#userPandora h3,#userTalk .readmore,#userStatus,#statusTime,#userShare,.block,.linkblock,#annouce{display:none;}

 

二:局部隐藏

<style type=text/css>
 body{COLOR:#FFFFFF ;FONT-SIZE:9pt; <style type=text/css><!--.boxcontent{display:none;} --></style><!-单独隐藏校内一周年图片->

<style type=text/css><!--.block,.linkblock,#annouce{display:none;}--></style><!-除广告->

<style type=text/css><!--.picture{display:none;}--></style><!-除留言小头像->

<style type=text/css><!--#userVisitor{display:none;}--></style><!-隐藏最近访问->

<style type=text/css><!--#userFriend{display:none;}--></style><!-隐藏本校好友->

<style type=text/css><!--#userFriendUniv{display:none;}--></style><!-隐藏其他学校好友->

<style type=text/css> <!-- #header{display:none;}--></style><!-隐藏上方图片和上方连接->

<style type=text/css><!-- #footer{display:none;}--></style><!-隐藏低部连接->

<style type=text/css><!-- #userPicture{display:none;}--></style><!-隐藏照片->

<style type=text/css><!-- #permalink{display:none;}--></style><!-隐藏低部我的地址->

<style type=text/css><!--#sidebar{float:right;}--></style><!-把左边的导航换至右边->


<style type=text/css><!--#header{display:none;} --></style><!--隐藏顶部导航栏-->

<style type=text/css><!--#header #logo,#header h1,#header h2,#header #universityName{ display:none;}#navigation{background:url()}#header{background:transparent;}#header h2{background:transparent;}--></style><!--隐藏顶部导航栏保留链接-->

<style type=text/css><!--#sidebar{display:none;} --></style><!--隐藏左侧导航栏-->

<style type=text/css><!--#mymenu{display:none;} --></style><!--隐藏左侧导航栏内链接-->

<style type=text/css><!--#mymenu #myphoto a {background-image:url();} --></style><!--隐藏“我的相册”旁边的new图片-->

<style type=text/css><!--.blockimage.block h3{display:none;} --></style><!--隐藏广告栏-->

<style type=text/css><!--.blocktext{display:none;} --></style><!--隐藏布告栏-->

<style type=text/css><!--#annouce{display:none;} --></style><!--隐藏“张贴你的布告”-->

<style type=text/css><!--.block,.linkblock,#annouce{display:none;}--></style><!-隐藏全部广告->

<style type=text/css><!--#userPicture{display:none;} --></style><!--隐藏自己照片-->

<style type=text/css><!--#userActions{display:none;} --></style><!--隐藏照片下面用户行为栏-->

<style><!--#userIntroducer{ display:none;}--></style>><!--隐藏校内介绍人-->

<style type=text/css><!--#userVisitor{display:none;} --></style><!--隐藏最近来访者列表-->

<style type=text/css><!--#userFriend{display:none;} --></style><!--隐藏本校好友列表-->

<style type=text/css><!--#userFriendUniv{display:none;} --></style><!--隐藏外校好友列表-->

<style type=text/css><!--#userProfile{display:none;} --></style><!--隐藏全部个人资料-->

<style type=text/css><!--#AccountInfo{display:none;} --></style><!--隐藏帐号信息-->

<style type=text/css><!--#BasicInfo{display:none;} --></style><!--隐藏基本信息-->

<style type=text/css><!--#ContactInfo{display:none;} --></style><!--隐藏联系方式-->

<style type=text/css><!--#PersonalInfo{display:none;} --></style><!--隐藏个人信息-->

<style type=text/css><!--#userBlog{display:none;} --></style><!--隐藏全部日志-->

<style type=text/css><!--#blog li{display:none;display:expression((this.parentNode.firstChild==this)?"block":"none");}#blog li:first-child{display:block;} --></style><!--只显示第一篇日志-->

<style type=text/css><!--#blog .content{display:none;} --></style><!--隐藏日志内容-->

<style type=text/css><!--#userPandora{display:none;} --></style><!--隐藏涂鸦版-->

<style type=text/css><!--#userGroup{display:none;} --></style><!--隐藏加入的群-->

<style type=text/css><!--#userTalk{display:none;} --></style><!--隐藏留言板-->

<style type=text/css><!--.picture{display:none;}#userTalk .text{ margin-left:0px;}#userTalk .info { margin-left:0px;} --></style><!--隐藏留言小头像-->

<style type=text/css> <!--#permalink,#snav,#footer{display:none;}--></style><!-除底部链接->

</style><style type=text/css><!--#userActions li,#mymenu li,#content{border:0px; } --></style><!--去掉头像下部文字的下划线以及导航菜单、页面边框两条线-->

<style>a img {filter:alpha(opacity=100,style=2);}a:hover img {filter:none;/*隐约头像*/}</style>

<style type="text/css"><!--#header{display : block;}#logo{display : none;}--></style><!-去掉校内图标->

<style type=text/css>#userVisitor .personIcon a:hover img {filter:FlipH();}</style> <!-最近看过页面头像翻转->

<style type=text/css> <!--#tagline{display:none;}--></style> <!--隐藏大学生互动空间-->

<style type=text/css> <!--#utility{display:none;}--></style> <!--隐藏你好***-->

<!--名字长度限制,防止有人取过长名字打乱好友列表布局-->
<style type=text/css>.personName{width:55px;}</style>


<style type=text/css><!--#userProfile .count{display:none;} --></style><!--隐藏访问人数-->

<style type=text/css><!--#userSchoolClass{display:none;} --></style><!--隐藏加入班级-->

<style>a img {filter:alpha(opacity=100,style=2);}a:hover img {filter:none;/*隐约头像*/}</style>


 

三:背景音乐代码:

<embed style="FILTER: alpha(opacity=100,style=3) gray(); width: 400px; height: 29px" name=MediaPlayer1 pluginspage=http://www.microsoft.com/Windows/MediaPlayer src=
音乐地址 width=50 height=13 type=application/x-mplayer2 autostart="1" showcontrols="1" loop="1" volume="50"></embed>


<style type=text/css><!--.block,.linkblock,#blog .text{max-height:200px;width:800;overflow:auto;height:expression((this.height<200)?"auto":"800px");overflow:expression((this.height<200)?"visible":"auto");}"--></style>
<link rel=stylesheet
href="http://img.xiaonei.com/photos/20060816/0940/orig14509.css" type="text/css" type="text/css"><!--页面透明-->
</div></div>

 

四、背景图,挂件以及背景FLASH代码:

1,<body background="背景图片地址"bgproperties="fixed"></body>

2,<style type=text/css><!--#talk .info .time { color: #999999;} --></style>

<EMBED style="RIGHT: 0px; POSITION: absolute; TOP: 0px" align=right src=http://imgfree.21cn.com/free/flash/188.swf width=1800 height=2200 type=application/x-shockwave-flash wmode="transparent" quality="high" ;;></EMBED><!-下落的星星->

<a href="http://www.9941.cn/moban/tesu/1.htm">透明FLASH</a>

3,</MARQUEE >
<DIV style="LEFT:500px; POSITION: absolute; TOP: 800px" align=right><IMG src="http://source.xiaonei.com/tribe/20070205/1630/orig1204489.gif" align=right></DIV><!--挂件小孩-->

 

 

五,边框颜色修改,透明处理及滚动条
<style type=text/css><!--#sidebar li{border:0px; }#sidebar li a{border:solid;border:1px; border-color: #999999;} #sidebar li{margin:0;padding-top:50px; } --></style><!--左侧导航栏border属性修改-->
 <style type=text/css><!--#content{border:solid;border:1px; border-color: #000000;}--></style><!-content的border属性修改->
<style type=text/css><!--.block,.linkblock,#talk{max-height:100px;width:1000px;left:100;overflow:auto;height1000:expression((this.height<200)?"auto":"1000px");overflow:expression((this.height<200)?"visible":"auto");} --></style><!--留言滚动条-->

 

<!-滚动条->
<style type=text/css>html{scrollbar-face-color:#A9C74E;scrollbar-highlight-color:#669900;scrollbar-shadow-color:#669900;scrollbar-3dlight-color:#A9C74E;scrollbar-track-color:#A9C74E;scrollbar-arrow-color:#669900;scrollbar-darkshadow-color:#A9C74E;}</style>
 <!--日志滚动条--> 
<style type=text/css><!--#userBlog .text{height:400px;scrollbar-face-color: #CCFF33;overflow-y:auto;} --></style>


<!--各个版块标题修改,其中可是很多独家秘籍,其他人没有的哟-->
 <style type=text/css><!--.box h3{color: #ffffff; border:solid; border:0px; background-color: #ca93a6;}--></style> <!-所有版块标题栏颜色修改修改->
 <style type=text/css><!--#userProfile h3{color: #999999;}--></style> <!-个人信息H3标题修改->
 <style type=text/css><!--#userProfile h4{color: #999999;}--></style><!-个人信息H4标题修改->

 


上一篇:校内网播放视频代码   下一篇:没有了