js2:事件的学习,弹出窗口,状态栏字改变,地图热点的使用

//此页面为 top.php html head titleUntitled Document/title meta
content=text/html; charset=gb2312 script language=JavaScript1.2
src=js/fw_menu.js/script script language=JavaScript1.2
src=js/menu_comment.js/script /head body bgcolor=#FFFFFF text=#000000
div id=Layer1 style=position:absolute; left:151px; top:81px;
width:558px; height:48px; z-index:1script
language=JavaScript1.2fwLoadMenus();/script img name=phpd
src=pic/phpd.gif width=600 height=28 border=0 usemap=#m_phpd!–
fwtable fwsrc=phpd.png fwbase=phpd fwstyle=Dreamweaver fwdocid =
742308039 fwnested=0 — map name=m_phpdarea shape=rect
coords=378,-6,464,18 href=#
onMouseOut=parent.mainFrame.FW_startTimeout();onMouseOver=parent.mainFrame.window.FW_showMenu(window.fw_menu_0,381,0);
area shape=rect coords=265,0,343,21 href=#
onMouseOut=parent.mainFrame.FW_startTimeout();onMouseOver=parent.mainFrame.window.FW_showMenu(window.fw_menu_1,266,0);
area shape=rect coords=142,-6,227,20 href=#
onMouseOut=parent.mainFrame.FW_startTimeout();onMouseOver=parent.mainFrame.window.FW_showMenu(window.fw_menu_2,149,0);
area shape=rect coords=31,-7,114,21 href=#
onMouseOut=parent.mainFrame.FW_startTimeout();onMouseOver=parent.mainFrame.window.FW_showMenu(window.fw_menu_3,40,0);
area shape=rect coords=31,-7,580,21 href=sturecord.php target=_blank
/map /div div id=Layer2 style=position:absolute; left:4px; top:3px;
width:148px; height:98px; z-index:2a href=aboutme.php target=_blankimg
src=pic/FD_03Sd.gif width=133 height=100 border=0 align=left
alt=站长自笔者吹捧!!/a/div /body /html //此页面为 index.php ?
header(Expires: Sun, 28 Dec 1998 09:32:45 欧霉素T卡塔尔国; header(Cache-Control:
no-cache, must-revalidateState of Qatar; header(Pragma: no-cacheState of Qatar; ? html head
title::: xiaoyang :::/title meta content=text/html; charset=gb2312
script language=JavaScript !– function MM_reloadPage(init) {//reloads
the window if Nav4 resized if (init==true) with (navigator) {if
((appName==Netscape)&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_澳门新葡萄京娱乐场,pgH=innerHeight;
onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW ||
innerHeight!=document.MM_pgH) location.reload(); }
MM_reloadPage(true); // — /script /head frameset rows=103,*
frameborder=NO border=0 framespacing=0 cols=*frame name=topFrame
scrolling=NO noresize src=top.php frameset cols=128,* frameborder=NO
border=0 framespacing=0 rows=*frame name=leftFrame scrolling=no
noresize src=right.php frame name=mainFrame scrolling=auto noresize
src=left.php /frameset /frameset noframes body bgcolor=#FFFFFF
text=#000000 /body /noframes/html

初稿公布时间为:贰零零捌-11-08 —— 来源于本身的百度随笔 [由搬家工具导入]

<html>
<head>
<title>js</title>
<script language=”JavaScript”>
<!–

function setnew(){
document.myform.textbutton.value=”tt”;
}

var name=””;
function visit(){
name=prompt(“Name”,”yourname”);
alert(“welcome “+name);
}

function out(){
alert(“thanks “+name);
}

function recofirm(){
return confirm(“to baidu?”);
}

function change(imgname){
document.t.src=”../../图片/视觉/”+imgname;
}
function resetimg(){
document.t.src=”../../图片/视觉/image016.jpg”;
}
//–>
</script>
<style type=”text/css”>
<!–
#Layer1 {
position:absolute;
width:200px;
height:115px;
z-index:1;
}
#Layer2 {
position:absolute;
width:200px;
height:115px;
z-index:1;
left: 305px;
top: 283px;
}
–>
</style>
</head>
<body onLoad=”visit();” onUnload=”out();”>
<form name=”myform”>
<input type=”text” value=”text” name=”textbutton”
onBlur=”alert(this.value);”>
</form>
<p>
<script language=”JavaScript”>
setnew();
</script>
<a href=”http://www.baidu.com”
onClick=”return recofirm();” onMouseOver=”status=’baidu’;return true;”
onMouseOut=”status=’tt’;return true;”>open bai du</a></p>

<p><img src=”../../图片/视觉/image016.jpg” width=”258″
height=”221″ border=”0″ usemap=”#Map”>
<map name=”Map”>
<area shape=”rect” coords=”12,11,62,56″ href=”#”
onMouseOver=”change(‘image002.gif’);” onMouseOut=”resetimg();”>
<area shape=”rect” coords=”71,12,123,55″ href=”#”
onMouseOver=”change(‘image010.jpg’);” onMouseOut=”resetimg();”>
</map></p>
<img src=”../../图片/山楂/13mh.jpg” name=”t” width=”165″
height=”212″>
</body>
</html>

发表评论

电子邮件地址不会被公开。 必填项已用*标注