第一个jsfunction openpopup(){
window.open("lxyz1.html","","width=600,height=311")
window.open("http://10.78.75.26/ZhiGong/LieCheZhangPaiKa_ZeRenQueRen.aspx","","width=750,height=400,top=0,left=0,resizable=yes,screenX=0,screenY=0,alwaysRaised=yes,scrollbars=yes")
//window.open("heka.html","","width=450,height=443")
window.open("http://10.78.75.26/ZhongDianWenTi/XiXi_WeiChuLi.aspx","","width=700,height=350,top=100,left=0,resizable=yes,screenX=0,screenY=0,alwaysRaised=yes,scrollbars=yes")
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function loadpopup(){
if (get_cookie('popped')==''){
openpopup()
document.cookie="popped=yes"
}
}第二个js
function setTab(name,cursel){
cursel_0=cursel;
for(var i=1; i<=links_len; i++){
var menu = document.getElementById(name+i);
var menudiv = document.getElementById("con_"+name+"_"+i);
if(i==cursel){
menu.className="off";
menudiv.style.display="block";
}
else{
menu.className="";
menudiv.style.display="none";
}
}
}
function Next(){
cursel_0++;
if (cursel_0>links_len)cursel_0=1
setTab(name_0,cursel_0);
}
var name_0='one';
var cursel_0=1;
var ScrollTime=99999999999999999;
var links_len,iIntervalId;
onload=function(){
var links = document.getElementById("tab1").getElementsByTagName('li')
links_len=links.length;
for(var i=0; i<links_len; i++){
links[i].onmouseover=function(){
clearInterval(iIntervalId);
this.onmouseout=function(){
iIntervalId = setInterval(Next,ScrollTime);;
}
}
}
document.getElementById("con_"+name_0+"_"+links_len).parentNode.onmouseover=function(){
clearInterval(iIntervalId);
this.onmouseout=function(){
iIntervalId = setInterval(Next,ScrollTime);;
}
}
setTab(name_0,cursel_0);
iIntervalId = setInterval(Next,ScrollTime);
}
window.open("lxyz1.html","","width=600,height=311")
window.open("http://10.78.75.26/ZhiGong/LieCheZhangPaiKa_ZeRenQueRen.aspx","","width=750,height=400,top=0,left=0,resizable=yes,screenX=0,screenY=0,alwaysRaised=yes,scrollbars=yes")
//window.open("heka.html","","width=450,height=443")
window.open("http://10.78.75.26/ZhongDianWenTi/XiXi_WeiChuLi.aspx","","width=700,height=350,top=100,left=0,resizable=yes,screenX=0,screenY=0,alwaysRaised=yes,scrollbars=yes")
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = "";
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset);
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
function loadpopup(){
if (get_cookie('popped')==''){
openpopup()
document.cookie="popped=yes"
}
}第二个js
function setTab(name,cursel){
cursel_0=cursel;
for(var i=1; i<=links_len; i++){
var menu = document.getElementById(name+i);
var menudiv = document.getElementById("con_"+name+"_"+i);
if(i==cursel){
menu.className="off";
menudiv.style.display="block";
}
else{
menu.className="";
menudiv.style.display="none";
}
}
}
function Next(){
cursel_0++;
if (cursel_0>links_len)cursel_0=1
setTab(name_0,cursel_0);
}
var name_0='one';
var cursel_0=1;
var ScrollTime=99999999999999999;
var links_len,iIntervalId;
onload=function(){
var links = document.getElementById("tab1").getElementsByTagName('li')
links_len=links.length;
for(var i=0; i<links_len; i++){
links[i].onmouseover=function(){
clearInterval(iIntervalId);
this.onmouseout=function(){
iIntervalId = setInterval(Next,ScrollTime);;
}
}
}
document.getElementById("con_"+name_0+"_"+links_len).parentNode.onmouseover=function(){
clearInterval(iIntervalId);
this.onmouseout=function(){
iIntervalId = setInterval(Next,ScrollTime);;
}
}
setTab(name_0,cursel_0);
iIntervalId = setInterval(Next,ScrollTime);
}
解决方案 »
- 如何判断鼠标移出控件!!!!
- VB窗体的图标能不能动态更改
- VB打包(wise installation)的简单问题!急!
- 想组建个小组~
- 小问题
- 如何把ShellExecute 的mailto:[email protected] 用foxmail来发而不是outlook
- 求教vb的16进制转10进制算法?? (my12121 )
- 实时错误10:该数组被固定或临时锁定 急!在线等待!
- SQL语句 查询分析其中执行成功,但是在VB中ADODC控件执行失败
- 有什么方法能用picture取图片色值?
- 求谁会做一个Excel数据自动导出到另一个Excel表里?有偿服务! 或者教我都行。
- 新手 vb控制外部设备的方法(三维移动平台 矢量网络分析仪)
何况这个是服务器端文件的问题
你客户端解决?