大学网站首页代码htmlcss(查询大学代码及专业代码的网址)

http://www.itjxue.com  2023-02-09 05:29  来源:未知  点击次数: 

求一个学校网站首页的源代码

html

head

meta http-equiv="Content-Type" content="text/html; charset=gb2312"

meta name="generator" content="贵州省"

meta name="keywords" content="凯里一中欢迎您!"

meta name="description" content="首页"

title凯里一中 - 首页 - 凯里一中欢迎您!/title

link rel="shortcut icon" href="/images/favicon.ico"

link type="text/css" href="/Skin/Skin_1.css" rel=stylesheet

script language=javascript src="/style/YSvoid_Functions.js"/script

script language=javascript src="/style/YSvoid_Title.js"/script

body topmargin=0 leftmargin=0

center

OBJECT style="WIDTH: 965px; HEIGHT: 190px" codeBase= height=198 width=1000 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000 196px? HEIGHT: 100%?;PARAM NAME="_cx" VALUE="26458"PARAM NAME="_cy" VALUE="5239"PARAM NAME="FlashVars" VALUE=""PARAM NAME="Movie" VALUE="/Upload/htmledit/2008812205023787.swf"PARAM NAME="Src" VALUE="/Upload/htmledit/2008812205023787.swf"PARAM NAME="WMode" VALUE="Window"PARAM NAME="Play" VALUE="-1"PARAM NAME="Loop" VALUE="-1"PARAM NAME="Quality" VALUE="High"PARAM NAME="SAlign" VALUE=""PARAM NAME="Menu" VALUE="-1"PARAM NAME="Base" VALUE=""PARAM NAME="AllowScriptAccess" VALUE=""PARAM NAME="Scale" VALUE="ShowAll"PARAM NAME="DeviceFont" VALUE="0"PARAM NAME="EmbedMovie" VALUE="0"PARAM NAME="BGColor" VALUE=""PARAM NAME="SWRemote" VALUE=""PARAM NAME="MovieData" VALUE=""PARAM NAME="SeamlessTabbing" VALUE="1"PARAM NAME="Profile" VALUE="0"PARAM NAME="ProfileAddress" VALUE=""PARAM NAME="ProfilePort" VALUE="0"PARAM NAME="AllowNetworking" VALUE="all"PARAM NAME="AllowFullScreen" VALUE="false"

embed src='/Upload/htmledit/2008812205023787.swf' quality=high pluginspage='' type='application/x-shockwave-flash' width="100%"

height=300/Upload/htmledit/2008812205023787.swf/embed/OBJECT

TABLE borderColor=#000000 cellSpacing=2 cellPadding=3 width=965 bgColor=#ffffff border=0 heihgt=""

TBODY

UL id=menuItem 99%?;

P align=centerli id='menuHome'li id='menuHomes'a href='/'span首页/span/a/li/li

li id='menuNews'a href='/News/'span学校新闻/span/a /li

li id='menuArticle'a href='/Article/'span德育之窗/span/a /li

li id='menuBaiNian'a href='/BaiNian/' title='学校简介'span学校概况/span/a /li

li id='menuxiaoyou'a href='/xiaoyou/' title='欢迎新老校友常来看看'span校友天地/span/a /li

li id='menuBuMeng'a href='/BuMeng/'span部门时讯/span/a /li

li id='menuZhaoSheng'a href='/ZhaoSheng/' title='关于考试'span招生录取/span/a /li

li id='menuJiaoYan'a href='/JiaoYan/' title='关于教学'span教研教学/span/a /li

li id='menuShiZill'a href='/ShiZill/' title='师资力量'span师资力量/span/a /li

li id='menuDown'a href='/Down/'span试题资源/span/a /li

li id='menuVideo'a href='/Video/'span一中视频/span/a /li

li id='menuPhoto'a href='/Photo/'span校园图库/span/a /li

li id='menuForum'a href='/Forum/'span论 坛/span/a /li

P/P

UL/UL

DIV/DIV

P/P

UL/UL

P/P

UL/UL

P/P

UL/UL

P/P

UL/UL

P/P

UL/UL/P/UL/TBODY

TBODY

DIV id=headFind

DIV id=headFormSPAN id=menuFind今天是:2009年5月27日?星期三 | 您现在位于:A class=h_menu href=""网站首页/A → font title='首页'首页/font/SPAN /DIV/DIV/TBODY/TABLE

DIV/DIVTBODY/TBODY/TABLE

table border=0 width="965" cellspacing=0 cellpadding=0

tr

td width=* align=center class=bg

table border=0 width='100%' cellspacing=0 cellpadding=0

tr

td align=center

!---------------------------------登陆、新闻、文章、调查、公告、搜索 开始---------------------------------

table border=0 cellspacing=0 cellpadding=0 width="100%"

tr valign=top

td width='74%' height="49"

table border=0 cellspacing=0 cellpadding=0 width='100%'

tr valign=top

tdtable width="100%" border=0 cellpadding=0 cellspacing=0

tr valign=top

td width='25%'table border=0 cellspacing=0 cellpadding=0 width='100%'

tr

td width='25%'script language="JavaScript" src="/style/YSvoid_keyboard.js" type="text/javascript"/script

table cellspacing=1 cellpadding=1 class=table_Home

TBODY

TR

TD class=td0_Home用户登陆/TD/TR

TR class=bg_td

TD align=middle

TABLE border=0 cellspacing=0 cellpadding=2

FORM name=login_frm onSubmit="return login_true()" action=/User/login.asp?action=login_chk method=post

INPUT type=hidden value=yes name=chk

INPUT type=hidden value=yes name=re_log

TBODY

TR

TD用户名:/TD

TDINPUT type=text class=username size=18 name=username maxlegth="20" title="用户名,输入正确的用户名"/TD/TR

TR

TD密 码:/TD

TDINPUT class=password type=password size=18 name=password maxlegth="20" onclick="showkeyboard('login_frm.password')" title="用软键盘输入密码,防止黑客软件记录键盘的录入信息,如不使用键盘可直接输入密码!"/TD/TR

tr

td验证码:/td

tdinput type=text class=txt name=CodeStr maxlength=4 size=4?img src='/Include/YSvoid_GetCode.asp' align=absMiddle title= '验证码,看不清楚。请点击刷新验证码!' onclick="this.src='/Include/YSvoid_GetCode.asp'"/td

/tr

tr

td height="3"/td

/tr

TR

TD align=middle colSpan=2

A href="/User/register.asp"img src="/Skin/Skin_1/main/user_login_butreg.gif" border=0 title="注册用户,点这里可以注册新用户"/A

INPUT onclick="jacascript:return login_true();" type=image src="/Skin/Skin_1/main/user_login_button.gif" align=absMiddle border=0 title="用户登陆,请输入正确的用户名、密码、验证码再登陆网站"

A style="CURSOR: help" href="/User/Getpass.asp"img src="/Skin/Skin_1/main/user_login_key.gif" border=0 title="忘记密码,点这里可以找回自己的密码"/A/TD/TR

tr

td height="3"/td

/tr

TR

TD align=middle colSpan=2A href="/User/register.asp?action=resend" alt="重新发送一次我的注册验证邮件!"发送注册邮件/A INPUT class=bg_td id=id_memery_info type=checkbox value=yes name=memery_infoLABEL id=label_memery_info for=id_memery_info alt="如选择“记住密码”登陆,以后将自动登陆本站!"记住密码/LABEL/FORM/TABLE/TD/TR/TBODY/TABLE

table border=0trtd height=3/td/tr/table/td

tr valign=top

tdtable cellspacing=1 cellpadding=2 class=Table_Home

TR

TD class=td0_Home德育之窗/TD/TR

tr class=bg_Hometd align=center

tr height=20tdB·/B?a href='Article/view.asp?id=71' style="color:FF0000;" title='德育之窗标题:凯里一中德育简报[ 2009 ] 第二期 总18期

发 布 人:klyzren

浏览次数:180 人次

整理时间:2009-4-27 22:03:21' target=_blank 凯里一中德育简报[ 2009 ] 第二.../a/td/tr

tr height=20tdB·/B?a href='Article/view.asp?id=64' style="color:0000FF;" title='德育之窗标题:凯里一中德育简报[ 2009 ] 第一期 总17期

发 布 人:klyzren

浏览次数:261 人次

整理时间:2009-4-10 13:10:56' target=_blank 凯里一中德育简报[ 2009 ] 第一.../a/td/tr

tr height=20tdB·/B?a href='Article/view.asp?id=26' style="color:FF0000;" title='德育之窗标题:凯里一中校园文化

发 布 人:klyzren

浏览次数:1352 人次

整理时间:2008-10-6 21:33:11' target=_blank 凯里一中校园文化/a/td/tr

tr height=20tdB·/B?a href='Article/view.asp?id=23' style="color:;" title='德育之窗标题:以学生为本 构建新型的师生关系

发 布 人:klyzboy

浏览次数:736 人次

整理时间:2008-9-25 9:30:50' target=_blank 以学生为本 构建新型的师生关.../a/td/tr

tr height=20tdB·/B?a href='Article/view.asp?id=20' style="color:;" title='德育之窗标题:文以载道,以道育人

发 布 人:klyzboy

浏览次数:715 人次

整理时间:2008-9-24 21:59:51' target=_blank 文以载道,以道育人/a/td/tr

tr height=20tdB·/B?a href='Article/view.asp?id=19' style="color:;" title='德育之窗标题:浅谈班主任工作中的德育教育

发 布 人:klyzboy

浏览次数:784 人次

整理时间:2008-9-24 21:54:46' target=_blank 浅谈班主任工作中的德育教育/a/td/tr

/td/tr

/table

table border=0trtd height=3/td/tr/table/td

/tr

/table/td

td width='1%'/td

td width='47%'table border=0 cellspacing=0 cellpadding=0 width='100%'

tr valign=top

td

table cellspacing=1 cellpadding=2 class=Table_Home

TR

TD class=td0_Home凯里一中新闻/TD/TR

tr class=bg_Hometd align=center

table border=0 width='100%'trtd align=center

table border=0 width='100%'

tr

td

script type="text/javascript"

!--

var swf_width='450'

var swf_height='282'

var files='/Upload/htmledit/2009516132544327.jpg|/Upload/htmledit/2009427215449568.jpg|/Upload/htmledit/200949173335244.jpg|/Upload/News/2008-12/2008122820595390801.jpg|/Upload/News/2008-12/2008121123323240865.jpg'

var links='News/view.asp?id=531|News/view.asp?id=507|News/view.asp?id=459|News/view.asp?id=405|News/view.asp?id=402'

var texts='学校举行各项文艺活动|“春蕾行动”暖学子|我校荣获凯里市第三届中小学生运动会高中组团体总分第...|凯里一中田径运动场落成典礼暨2008年运动会|凯里一中纪念改革开放30周年暨“一二.九”学生爱国运动...'

var TitleBgAlpha='70'

var TitleBgPosition='30'

var Tween='2'

var AutoPlayTime='120'

var WinOpen='_blank'

var TitleTextColor='0xFFFFFF'

var TitleBgColor='0x000000'

var BtnDefaultColor='0x000000'

var BtnOverColor='0x000033'

document.write('object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="" width="'+ swf_width +'" height="'+ swf_height +'"');

document.write('param name="movie" value="/images/small/index_news.swf"param name="quality" value="high"');

document.write('param name="menu" value="false"param name=wmode value="opaque"');

document.write('param name="FlashVars" value="bcastr_file='+files+'bcastr_link='+links+'bcastr_title='+texts+'TitleBgAlpha='+ TitleBgAlpha +'TitleBgPosition='+ TitleBgPosition +'Tween='+ Tween +'AutoPlayTime='+ AutoPlayTime +'WinOpen='+ WinOpen +'TitleTextColor='+ TitleTextColor +'TitleBgColor='+ TitleBgColor +'BtnDefaultColor='+ BtnDefaultColor +'BtnOverColor='+ BtnOverColor +'');

document.write('embed src="/images/small/index_news.swf" wmode="opaque" FlashVars="bcastr_file='+files+'bcastr_link='+links+'bcastr_title='+texts+'TitleBgAlpha='+ TitleBgAlpha +'TitleBgPosition='+ TitleBgPosition +'Tween='+ Tween +'AutoPlayTime='+ AutoPlayTime +'WinOpen='+ WinOpen +'TitleTextColor='+ TitleTextColor +'TitleBgColor='+ TitleBgColor +'BtnDefaultColor='+ BtnDefaultColor +'BtnOverColor='+ BtnOverColor +' menu="false" quality="high" width="'+ swf_width +'" height="'+ swf_height +'" type="application/x-shockwave-flash" pluginspage="" /');

document.write('/object');

--

/script

/td/trtr

td

table border=0 width='100%'

tr align=center

tdtable border=0 cellspacing=0 cellpadding=0 width='100%'trtd height=20B·/B?a href='News/view.asp?id=529' style="color:0000FF;" title='新闻标题:凯里一中足球特招考核成绩登记表

发 布 人:klyzren

浏览次数:146 人次

整理时间:2009-5-11 17:41:16' target=_blank凯里一中足球特招考核成绩登.../a/tr/td/table/td

tdtable border=0 cellspacing=0 cellpadding=0 width='100%'trtd height=20B·/B?a href='News/view.asp?id=526' style="color:0000FF;" title='新闻标题:致校友的一封信(校庆公告一)

发 布 人:klyzren

浏览次数:170 人次

整理时间:2009-5-6 20:58:36' target=_blank致校友的一封信(校庆公告一.../a/tr/td/table/td

/tr

/table

/td

/tr

/table

/td

/tr/table

/td/tr

/table

table border=0trtd height=3/td/tr/table

/td

/tr

/table/td

/tr

/table/td

/tr

/table

/td

td width='1%'/td

td width='25%'

table border=0 cellspacing=0 cellpadding=0 width='100%'

tr valign=top

tdtable cellspacing=1 cellpadding=2 class=Table_Home

TR

TD class=td0_Home学校公告/TD/TR

tr class=bg_Hometd align=center

tr

td height=21B·/B?a href='/Common/Update.asp?Action=id=7' target_blank title='公告标题:通知(关于天气)

发布时间:2008-12-23 12:49:02

点击浏览详细……'通知(关于天气)/a/td

/tr

tr

td height=21B·/B?a href='/Common/Update.asp?Action=id=6' target_blank title='公告标题:致同学们的一封信

发布时间:2008-10-15 13:44:48

点击浏览详细……'致同学们的一封信/a/td

/tr

tr

td height=21B·/B?a href='/Common/Update.asp?Action=id=4' target_blank title='公告标题:国庆放假通知

发布时间:2008-10-13 18:21:29

点击浏览详细……'国庆放假通知/a/td

/tr

tr

td height=21B·/B?a href='/Common/Update.asp?Action=id=1' target_blank title='公告标题:凯里一中网站改版

发布时间:2008-8-4 15:48:26

点击浏览详细……'凯里一中网站改版/a/td

/tr

/td/tr

/table

table border=0trtd height=3/td/tr/table/td

/tr

tr valign=top

td width='50%'table cellspacing=1 cellpadding=2 class=Table_Home

TR

TD class=td0_Home试题资源/TD/TR

tr class=bg_Hometd align=center

tr height=20tdB·/B?a href='Down/view.asp?id=47' style="color:;" title='试题资源标题:竞赛数学训练题目

发 布 人:jswei85

浏览次数:33 人次

整理时间:2009-4-13 16:40:48' target=_blank 竞赛数学训练题目/a/td/tr

tr height=20tdB·/B?a href='Down/view.asp?id=45' style="color:;" title='试题资源标题:高三历史中国古代史专题复习:中国古代民族关系和对外关系人教版知识精讲

发 布 人:klyzren

浏览次数:16 人次

整理时间:2009-3-27 15:34:52' target=_blank 高三历史中国古代史专题复习:.../a/td/tr

tr height=20tdB·/B?a href='Down/view.asp?id=44' style="color:;" title='试题资源标题:高二语文《兰亭集序》北京版知识精讲

发 布 人:klyzren

浏览次数:18 人次

整理时间:2009-3-27 15:32:46' target=_blank 高二语文《兰亭集序》北京版知.../a/td/tr

tr height=20tdB·/B?a href='Down/view.asp?id=43' style="color:;" title='试题资源标题:高中物理热学和电学部分演示实验flash动画(下)

发 布 人:klyzren

浏览次数:134 人次

整理时间:2008-10-12 22:57:07' target=_blank 高中物理热学和电学部分演示实.../a/td/tr

tr height=20tdB·/B?a href='Down/view.asp?id=42' style="color:;" title='试题资源标题:高中物理热学和电学部分演示实验flash动画(上)

发 布 人:klyzren

浏览次数:76 人次

整理时间:2008-10-12 22:46:11' target=_blank 高中物理热学和电学部分演示实.../a/td/tr

tr height=20tdB·/B?a href='Down/view.asp?id=40' style="color:;" title='试题资源标题:2008年会考模拟试卷

发 布 人:klpwb

浏览次数:83 人次

整理时间:2008-10-6 23:04:22' target=_blank 2008年会考模拟试卷/a/td/tr

tr height=20tdB·/B?a href='Down/view.asp?id=38' style="color:;" title='试题资源标题:地理教学FLash--洋流的形成分布及影响

发 布 人:笑红尘

浏览次数:62 人次

整理时间:2008-9-25 13:29:41' target=_blank 地理教学FLash--洋流的形成分布.../a/td/tr

tr height=20tdB·/B?a href='Down/view.asp?id=37' style="color:;" title='试题资源标题:地理教学演示Flash地形雨的形成

发 布 人:笑红尘

浏览次数:35 人次

整理时间:2008-9-25 13:26:51' target=_blank 地理教学演示Flash地形雨的形成.../a/td/tr

tr height=20tdB·/B?a href='Down/view.asp?id=36' style="color:;" title='试题资源标题:地理教学演示Flash

发 布 人:笑红尘

浏览次数:68 人次

整理时间:2008-9-25 13:19:31' target=_blank 地理教学演示Flash/a/td/tr

/td/tr

/table

table border=0trtd height=3/td/tr/table/td

/tr

/table

/td

/tr

tr valign=top

td height="18" colspan="3"table cellspacing=1 cellpadding=4 class=table_Home

trtd class=td_Home

TABLE cellSpacing=0 cellPadding=0 width="100%" border=0

tr

td class=dtd_Home搜索导航/td

/tr

/table

trtd class=bg_Home align=center

table border="0" cellspacing="1" cellpadding="4"

form action='/Common/search.asp' method=get onsubmit="javascript:frm_submitonce(this);"

tr

tdimg border=0 src='/Skin/Skin_1/main/ico_search.gif' align=absmiddle /td

td input type=text name=keyword value='' size=20 maxlength=20 title='多个关键字请用 空格 格开' class=bg_search/td

td

select name=sea_type

option value='news'学校新闻/option

option value='article'德育之窗/option

option value='bainian'辉煌的一中/option

option value='xiaoyou'校友天地/option

option value='bumeng'部门时讯/option

option value='zhaosheng'招生录取/option

option value='jiaoyan'教研教学/option

option value='shizill'师资力量/option

option value='down'试题资源/option

option value='video'一中视频/option

option value='photo'校园图库/option

option value='forum'交流论坛/option

/select/td

td input type=checkbox name=celerity value='yes'/td

td快速搜索 /td

td valign=topinput type=submit class=btn value='搜 索'/td

td a href='/Common/search.asp?action=help' title='多功能搜索' style='cursor:help;'搜索帮助?/a/td

/tr

/form

/table

/td/tr

/table

table border=0trtd height=3/td/tr/table/td

/tr

/table

!---------------------------------登陆、新闻、文章、调查、公告、搜索 结束---------------------------------

!---------------------------------下载、商城 开始---------------------------------

!---------------------------------论坛、电影 开始---------------------------------

!---------------------------------酷站、市场、企业 开始---------------------------------

!---------------------------------酷站、市场、企业 结束---------------------------------

!---------------------------------图库、动画 开始---------------------------------

!---------------------------------图库、动画 结束---------------------------------

!---------------------------------友情连接 开始---------------------------------

!---------------------------------友情连接 结束---------------------------------

/td

/tr

/table

/td

/tr

/table

table border=0 width="965" cellspacing=0 cellpadding=0

tr

td width=* align=center class=bg

DIV id=headFind

DIV id=headFormSPAN id=menuFind

DIV align=center

A class=h_td href="/Common/GuestBook.asp"网站留言/A -

A class=h_td href="/Common/Links.asp"友情链接/A -

A class=h_td href="/Common/Online.asp"与我在线/A -

a class=h_td href="mailto:klyzschool@qq.com"校长邮箱/a -

A class=h_td href="#top"TOP/A /DIV/SPAN/DIV/DIV

DIV id=headV2

DIV align=centerCopyright ? 2006-2009 A href="" target=_blankBFONT face=Arial;/FONTFONT face=Arial color=#cc3300klyz/FONTFONT face=Arial.cn/FONT/B/A All Rights Reserved.

SCRIPT language=JavaScript src=";web_id=1056402show=pic" charset=gb2312/SCRIPT

/DIV

DIV align=centerFONT face=VerdanaFONT face=Verdana校址:贵州省凯里市文化北路30号?????? 邮? 编:556000/FONT/DIV

DIV align=center

DIV align=centerFONT face=Verdana联系电话:0855-8506108???? 传?真:0855-8503668/FONT/DIV/FONT/DIV

DIV align=centerA href="" target=_blank凯里一中版权所有/A /DIV/DIV/td

/tr

/table

/center

/body

/html

学生个人网页制作html代码是什么?

网页的源代码称为HTML代码。

可是做出来之后与别人一比,才发现自己的网站非常粗糙,这是为什么呢?常言道:“心急吃不了热豆腐”。建立一个网站就像盖一幢大楼一样,它是一个系统工程,有自己特定的工作流程,你只有遵循这个步骤,按部就班地一步步来,才能设计出一个满意的网站。

由于所见即所得类型的工具越来越多,使用也越来越方便,所以制作网页已经变成了一件轻松的工作,不像以前要手工编写一行行的源代码那样。

一般初学者经过短暂的学习就可以学会制作网页,于是他们认为网页制作非常简单,就匆匆忙忙制作自己的网站。

校内网css代码

这个怎么样:女生纯净唯美校内网代码:在雨中

代码如下:

#adbar,#sidebar,#logo,#permalink,#footer,

#header,#navigation .with_arrow .global_menu_arrow,

#navigation .nav-right,#navigation .nav-left LI A.edit_link{display:none}

#container{width:990px;margin:0px auto;}

#widebar{background:transparent;width:990px;margin:0px auto;}

#spacePage #content{position:absolute; left:320px; top:90px;

background:transparent;width:590px;border:0px;}

#userRelations{width:180px; margin-right:0px;}

#userUpdates{width:350px; margin-left:0px;}

#widebar{border-bottom:none; border-right:none;}

#userStatus{border-bottom:none; background:transparent;}

* html .inputbutton,* html .subbutton,* html .inputsubmit{color:#ffffff; padding:0 5px;border:1px solid #ffffff;background-color:#8C8686}

#starttalkForm{background:transparent;}/**/

#content #cmtbody{padding:0 5px; border:1px dashed #503524; width:322px; height:90px; color:#333333; background:url() no-repeat fixed right bottom;}

#container h3{background:transparent;border:0px;}/**/

#giftBox .sub-h3,#talk .info{background:transparent;}

#navigation{position:absolute; background:transparent; top:45px; left:390px; border:0px; font-weight:bold;}

#navigation .nav-left LI A:link,#navigation .nav-left LI A:visited,#navigation .nav-left LI A:active{color:#edffff;background:transparent;}

#navigation .nav-left LI A:hover{color:#6cc1c3;background:#C6C3A5;}#userActions{background:transparent;}

#userPicture{border:0px;}/**/

a:link,a:hover,a:visited,#talk .info .author a strong,#talk .info .author strong{color:#333333;}

body{margin:0px;padding:0px;background:url() no-repeat fixed top center;}

别的网站上找的

网页设计常用HTML代码

网页设计常用HTML代码大全

HTML是用来描述网页的一种语言。下面我为大家分享HTML代码,希望对大家学习html代码有帮助!

忽视右键

body oncontextmenu="return false"

body style="overflow-y:hidden"

1.如何几秒后转到别的页面?

META HTTP-EQUIV="Refresh" CONTENT="时间;URL=地址"

2.点击关闭窗口

a href="javascript:top.window.close();"点击关闭窗口/a!

3.请问如何去掉主页右面的滚动条?

body scroll="no"

body style="overflow-y:hidden"

4.请问如何做到让一个网页自动关闭.

html

head

OBJECT id=closes type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"

param name="Command" value="Close"

/object

/head

body onload="window.setTimeout(‘‘‘‘closes.Click()‘‘‘‘,10000)"

这个窗口会在10秒过后自动关闭,而且不会出现提示. /body

如何在不刷新页面的情况下刷新css?

style

button{ color:#000000;}

/style

button onclick=document.styleSheets[0].rules[0].style.color=‘‘‘‘red‘‘‘‘点击按钮直接修改style标签里button选择符使按钮改为红色/button

请问如何让网页自动刷新?

在head部记入META HTTP-EQUIV="Refresh" content="20"其中20为20秒后自动刷新,你可以更改为任意值。

5.如何让页面自动刷新?

方法一,用refresh

HTML 代码片段如下:

head

meta http-equiv="refresh" content="5"

/head

5表示刷新时间

[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

方法二,使用setTimeout控制

img src=/logo.gif

script

function rl(){

document.location.reload()

}

setTimeout(rl,2000)

/script

6.如何让超链接没有下划线

在源代码中的HEAD…/HEAD之间输入如下代码:

style type="text/css" !--

a { text-decoration: none}

-- /style

7.请问如何去掉IE的上下滚动条?

body style=‘‘‘‘overflow:scroll;overflow-y:hidden‘‘‘‘

/body

8.怎样才能把RealPlayer文件在网页做一个试听连接?

embed height=25 src=51js.rm type=audio/x-pn-realaudio-plugin width=50 autostart="false" controls="PlayButton"

9.如何用html实现浏览器上后退按钮的功能?

a href="java script:history.go(-1)"点击后退/a

或者

script history.back() /script

10.请问怎么在网页中改变鼠标的箭头形状?

HTML 代码片段如下:

body

a href="#" style="cursor: auto;"auto/abr

a href="#" style="cursor: crosshair "crosshair /abr

a href="#" style="cursor: default "default /abr

a href="#" style="cursor: hand "hand /abr

a href="#" style="cursor: move "move /abr

a href="#" style="cursor: e-resize "e-resize /abr

a href="#" style="cursor: ne-resize "ne-resize /abr

a href="#" style="cursor: nw-resize"nw-resize/abr

a href="#" style="cursor: n-resize"n-resize/abr

a href="#" style="cursor: se-resize"se-resize/abr

a href="#" style="cursor: sw-resize"sw-resize/abr

a href="#" style="cursor: s-resize"s-resize/abr

a href="#" style="cursor: w-resize"w-resize/abr

a href="#" style="cursor: text"text/abr

a href="#" style="cursor: wait"wait/abr

a href="#" style="cursor: help"help/abr

/body

11.怎样不使用页面的缓存?即每一次打开页面时不是调用缓存中的东西

META HTTP-EQUIV="Pragma" CONTENT="no-cache"

12.页面打开时自动弹出一个窗口的代码怎么写?

HTML 代码片段如下:

html

head

titleUntitled Document/title

meta http-equiv="Content-Type" content="text/html; charset=gb2312"

script language="B style="color:black;background-color:#A0FFFF"javascript/B"

!--

function MM_openBrWindow(theURL,winName,features) { //v2.0

window.open(theURL,winName,features);

}

//--

/script

/head

body bgcolor="#FFFFFF" text="#000000" onLoad="MM_openBrWindow(‘‘‘‘‘‘‘‘,‘‘‘‘,‘‘‘‘width=400,height=400‘‘‘‘)"

/body

/html

13.如何让我的页面出现一个会讲话的小人?Merlin

HTML 代码片段如下:

HTML

HEAD

TITLE默林/TITLE

META http-equiv=Content-Type content="text/html; charset=gb2312"

/HEAD

BODY

pOBJECT id=sims classid=CLSID:D45FD31B-5C6E-11D1-9EC1-00C04FD7081F

/OBJECT

SCRIPT

var MerlinID;

var MerlinACS;

sims.Connected = true;

MerlinLoaded = LoadLocalAgent(MerlinID, MerlinACS);

Merlin = sims.Characters.Character(MerlinID);

Merlin.Show();

Merlin.Play("Surprised");

Merlin.Speak("大家好");

Merlin.Play("GestureLeft");

Merlin.Think("我是默林!");

Merlin.Play("Pleased");

Merlin.Think("可爱吗?");

Merlin.Play("GestureDown");

Merlin.Speak("哈哈!");

Merlin.Hide();

function LoadLocalAgent(CharID, CharACS){

LoadReq = sims.Characters.Load(CharID, CharACS);

return(true);

}

/SCRIPT

/p

p /p

p看此效果必须装有office2000!!!/p

/BODY

/HTML

14.在页面中如何加入不是满铺的背景图片,拉动页面时背景图不动

HTML 代码片段如下:

htmlhead

STYLE

body  {background-image:url(logo.gif);

background-repeat:no-repeat; background-position:center }

/STYLE

/head

body bgproperties="fixed"

/body

/html

[Ctrl+A 全部选择 提示:你可先修改部分代码,再按运行]

background-repeat:no-repeat; 是让背景图不占满整个页面

body bgproperties="fixed" 是拉动scroll时背景图不动

15.文本输入框什么属性能实现不可输入?

HTML 代码片段如下:

input type="text" name="textfield" disabled

或者

input type="text" name="textfield" readonly

16.如何禁止自己的页面在别人的框架里打开?

把以下代码加至你的head区

script

if (window.top!=self){

window.top.location=self.location

}

/script

17.如何实现首页全屏幕显示?

HTML 代码片段如下:

html

bodyscript language="B style="color:black;background-color:#A0FFFF"javascript/B"

var coolw=642

var coolh=400

var coolhuang=window.open("","coolhuang","width="+coolw+",height="+coolh+",

fullscreen=1,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0")

window.close()

/script/body/html

18.如何监听一个窗口被关闭了?

HTML 代码片段如下:

body onunload="alert(‘‘‘‘你关闭了这个窗口‘‘‘‘)"

19.如何禁止Ctrl+N?

HTML 代码片段如下:

body onkeydown=return(!(event.keyCode==78event.ctrlKey))

如何把页面加入用户的收藏夹?

HTML 代码片段如下:

a href="B style="color:black;background-color:#A0FFFF"javascript/B:window.external.AddFavorite(‘‘‘‘‘‘‘‘,‘‘‘‘无忧脚本‘‘‘‘)"收藏无忧脚本/a

如何在我的'页面中加入背景音乐?

IE: bgsound src="*.mid" loop=infinite

NS:embed src="*.mid" autostart=true hidden=true loop=true

*.mid你的背景音乐的midi格式文件

关于页面转换效果

meta http-equiv="page-enter" content="revealTrans(Duration=4,Transition=23)"

meta http-equiv="page-exit" content="revealTrans(Duration=4,Transition=23)"

说明:Transition=23是随机效果,另可以选0-22任一数字固定某个效果

如何设定打开页面的大小

HTML 代码片段如下:

body onload="top.resizeTo(300,200);"!--(width,height)--

怎样双击滚屏,单击停止?

HTML 代码片段如下:

html

head

title新网页1/title

/head

body

script language"B style="color:black;background-color:#A0FFFF"javascript/B"

var currentpos,timer;

function initialize()

{

timer=setInterval("scrollwindow()",10);

}

function sc(){

clearInterval(timer);

}

function scrollwindow()

{

currentpos=document.body.scrollTop;

window.scroll(0,++currentpos);

if (currentpos != document.body.scrollTop)

sc();

}

document.onmousedown=sc

document.ondblclick=initialize

/script

pa/ppa/ppa/ppaa/ppaa/ppaa/p

paa/ppaa/ppaa/ppaa/ppaa/ppaa/p

paa/ppaa/ppaa/ppaa/ppaa/ppaa/p

paa/ppaa/ppaa/ppaa/ppa/p

/body

/html

如何让body中的文字不被选中?

HTML 代码片段如下:

body onselectstart="return false" aaa/body

如何让弹出的窗口不能关闭?

在新开的窗口中加入如下代码

body onunload=open(location.href)

/body

如何让浏览器在保存页面时保存失败?

HTML 代码片段如下:

NOSCRIPT

B style="color:black;background-color:#ffff66"IFRAME/B SRC="*.html"

/B style="color:black;background-color:#ffff66"IFRAME/B

/NOSCRIPT

表单中如何用图片按钮实现 reset?

html

head

script

function aaa(){

document.forms[0].reset()

}

/script

/head

body

form

textarea rows="2" name="S1" cols="20"/textarea

input type="submit" values="提交" name="B1"

image src="logo.gif" onclick=aaa()

/form

/body/html

进入网页时弹出的信息对话框

body onLoad="window.alert(‘‘‘‘欢迎光临本站‘‘‘‘)"

关闭窗口后弹出对话框

body onUnload="window.alert(‘‘‘‘谢谢你的光临!欢迎下次再来!‘‘‘‘)"

告别提示

body onUnload= alert("再见,感谢你的访问!")

右键菜单的制作

OBJECT id=menu type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11"

PARAM name="Command" value="Related Topics,menu"

PARAM name="Item1" value="动易;"

PARAM name="Item2" value="搜狐;"

PARAM name="Item3" value="新浪;"

PARAM name="Item4" value="网易;"

PARAM name="Item5" value="互动学院;"

/OBJECT script if (document.all) document.body.onmousedown=new Function("if (event.button==2) menu.Click();") /script

下拉菜单

object id=HHCtrl type="application/x-oleobject" classid="clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11" PARAM name="Command" value="Related Topics,Menu" PARAM name="Item1" value="aspease;" PARAM name="Item2" value="byhu;" PARAM name="Item3" value="lzz;" /object a href=javascript:HHCtrl.Click() title="下拉菜单"下拉菜单/a

;

(责任编辑:IT教学网)

更多

推荐CMS技巧文章