首页
关于
产品
方案
案例
新闻
下载
诚聘
联系
'; strHtml += '
'; } if (this.page % 10 ==0) { var startPage = this.page - 9; } else { var startPage = this.page - this.page % 10 + 1; } if (startPage > 10) strHtml += '
...
'; for (var i = startPage; i < startPage + 10; i++) { if (i > this.pageCount) break; if (i == this.page) { strHtml += '
' + i + '
'; } else { strHtml += '
' + i + '
'; } } if (this.pageCount >= startPage + 10) strHtml += '
...
'; if (nextPage > this.pageCount) { strHtml += '
'; strHtml += '
»
'; } else { strHtml += '
'; strHtml += '
»
'; } strHtml += ''; break; default : strHtml = 'Javascript showPage Error: not find mode ' + mode; break; } return strHtml; } showPages.prototype.createUrl = function (page) { //生成页面跳转url if (isNaN(parseInt(page))) page = 1; if (page < 1) page = 1; if (page > this.pageCount) page = this.pageCount; var url = location.protocol + '//' + location.host + location.pathname; var args = location.search; var reg = new RegExp('([\?&]?)' + this.argName + '=[^&]*[&$]?', 'gi'); args = args.replace(reg,'$1'); if (args == '' || args == null) { args += '?' + this.argName + '=' + page; } else if (args.substr(args.length - 1,1) == '?' || args.substr(args.length - 1,1) == '&') { args += this.argName + '=' + page; } else { args += '&' + this.argName + '=' + page; } return url + args; } showPages.prototype.toPage = function(page){ //页面跳转 var turnTo = 1; if (typeof(page) == 'object') { turnTo = page.options[page.selectedIndex].value; } else { turnTo = page; } self.location.href = this.createUrl(turnTo); } showPages.prototype.printHtml = function(mode){ //显示html代码 this.getPage(); this.checkPages(); this.showTimes += 1; document.write('
'); document.getElementById('pages_' + this.name + '_' + this.showTimes).innerHTML = this.createHtml(mode); } showPages.prototype.formatInputPage = function(e){ //限定输入页数格式 var ie = navigator.appName=="Microsoft Internet Explorer"?true:false; if(!ie) var key = e.which; else var key = event.keyCode; if (key == 8 || key == 46 || (key >= 48 && key <= 57)) return true; return false; } //-->
首页
产品
FameView系列软件平台
PRODUCTS
FameView系列软件平台
FameIoTVisit工业物联网关
FameBox协议网关通讯机
FameViewTPC触控平板
其它
联系凯发K8网页登录/Contact Us
产品销售:
技术支持:
软件开发:
北京市石景山区实兴大街30号院16号楼1009
PRODUCTS
FameView系列软件平台
FameIoTVisit工业物联网关
FameBox协议网关通讯机
FameViewTPC触控平板
其它
联系凯发K8网页登录/Contact Us
产品销售:
技术支持:
软件开发:
北京市石景山区实兴大街30号院16号楼1009
FameView系列软件平台
FameView组态监控管理系统
2019/6/24 11:23:18
FameHugeScada超大规模监控管理平台
2018/6/27 12:53:19
FameDataServer数采转发平台
2018/6/27 12:52:52