网页切换移转.ppt

上传人:本田雅阁 文档编号:3230608 上传时间:2019-08-03 格式:PPT 页数:12 大小:318.51KB
返回 下载 相关 举报
网页切换移转.ppt_第1页
第1页 / 共12页
网页切换移转.ppt_第2页
第2页 / 共12页
网页切换移转.ppt_第3页
第3页 / 共12页
网页切换移转.ppt_第4页
第4页 / 共12页
网页切换移转.ppt_第5页
第5页 / 共12页
点击查看更多>>
资源描述

《网页切换移转.ppt》由会员分享,可在线阅读,更多相关《网页切换移转.ppt(12页珍藏版)》请在三一文库上搜索。

1、網頁切換移轉,JS vs. ASP.NET,網頁切換移轉 by JavaScript,使用前端的瀏覽器來進行 Location.href Window.navigate() Window.Open(),寫在HTML物件的onclick事件中,亦可以傳遞參數,網頁切換移轉 by JavaScript,網頁切換移轉 by JavaScript,設定ID與VALUE屬性,網頁切換移轉 by JavaScript,網頁切換移轉 by JavaScript,onclick=location.href=“http:/.tw” onclick=window.navigate(“http:/.tw“) onc

2、lick=window.open(“http:/.tw“),網頁切換移轉 by ASP.NET,使用後端伺服器來進行 Response.Redirect() 可以使用任何形式網址 Server.Transfer() 只能限於同目錄或是子目錄下的aspx檔案,寫在伺服器控制項的click事件中,亦可以傳遞參數,網頁切換移轉 by ASP.NET,設定Text屬性,網頁切換移轉 by ASP.NET,Response.Redirect(“http:/.tw“);,網頁切換移轉 by ASP.NET,Server.Transfer(“http:/.tw“);,網頁切換移轉 by JavaScript

3、+ASP.NET,funcWin_Open1 = “; funcWin_Open1 += “alert(資料新增成功!);“; funcWin_Open1 += “; Response.Write(funcWin_Open1);, alert(資料新增成功!); ,網頁切換移轉 by JavaScript+ASP.NET, window.open(http:/.tw,上課時數資料,scrollbars=yes,resizable=yes,width=370,height=250); ,funcWin_Open1 = “; funcWin_Open1 += “window.open(“ + “/calendar.aspx?objName=“+Text+ “,上課時數資料,scrollbars=yes,resizable=yes,width=“ + 370 + “,height=“ + 250 + “);“; funcWin_Open1 += “; Response.Write(funcWin_Open1);,

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 其他


经营许可证编号:宁ICP备18001539号-1