- Visual C++源码
- Visual Basic源码
- C++ Builder源码
- Java源码
- Delphi源码
- C/C++源码
- PHP源码
- Perl源码
- Python源码
- Asm源码
- Pascal源码
- Borland C++源码
- Others源码
- SQL源码
- VBScript源码
- JavaScript源码
- ASP/ASPX源码
- C#源码
- Flash/ActionScript源码
- matlab源码
- PowerBuilder源码
- LabView源码
- Flex源码
- MathCAD源码
- VBA源码
- IDL源码
- Lisp/Scheme源码
- VHDL源码
- Objective-C源码
- Fortran源码
- tcl/tk源码
- QT源码
init.js
资源名称:ASP.RAR [点击查看]
上传用户:xhjd888
上传日期:2022-07-20
资源大小:203k
文件大小:2k
源码类别:
.net编程
开发平台:
Visual Basic
- //打开窗口的函数
- function switchSysBar(){
- if (parseInt(navigator.appVersion)>=4) {
- if (switchPoint.innerText==3){
- switchPoint.innerText=4
- document.all("query").style.display="none"
- }
- else{
- switchPoint.innerText=3
- document.all("query").style.display=""
- }
- }
- }
- function viewPage(ipage){
- document.frmList.Page.value=ipage
- document.frmList.submit()
- }
- function openScript(url, width, height) {
- var Win = window.open(url,"_blank",'width=' + width + ',height=' + height + ',resizable=0,scrollbars=no,menubar=no,status=no' );
- }
- function openScript1(url, width, height) {
- var Win = window.open(url,"_blank",'width=' + width + ',height=' + height + ',resizable=1,scrollbars=yes,menubar=no,status=no,left=5,top=10' );
- }
- function Detail(i,ss){
- var u
- u='newsdetail.asp?news_id='+i+'&wstr="'+ss+'"'
- window.open(u,'_blank','dependent,width=500,height=300')
- }
- function MM_openBrWindow(theURL,winName,features) { //v2.0
- window.open(theURL,winName,'width =503,height=316,resizable=1,scrollbars=yes,menubar=no,status=no,left=5,top=10');
- }
- function tt(s){
- alert(s)
- }
- function OpenWindow(htmurl,widths,heights)
- {
- var paramet = 'toolbar=no,resizable=yes,scrollbars=yes,width='+ widths + ',height=' + heights;
- newWindow = window.open(htmurl,"viewfilm",paramet);
- newWindow.focus();
- }
- function MM_openBrWindow1(theURL,winName,features) { //v2.0
- window.open(theURL,winName,features);
- }
- 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();
- }