| JS can't work in chrome
|
adjuvant

msg:4510710 | 9:36 am on Oct 22, 2012 (gmt 0) | bus ie is ok. <html> <head> <meta name="robots" content="Noindex,Nofollow" /> <meta http-equiv="refresh" content="1800"> <title>tree</title> <style type="text/css"> /*¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ïLeftTree Module Style¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï*/ BODY { BACKGROUND: #799ae1; MARGIN: 0px; FONT: 9pt; } TABLE { BORDER-RIGHT: 0px; BORDER-TOP: 0px; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px } TD { FONT: 12px } IMG { BORDER-RIGHT: 0px; BORDER-TOP: 0px; VERTICAL-ALIGN: bottom; BORDER-LEFT: 0px; BORDER-BOTTOM: 0px } A { FONT: 12px ; COLOR: #215dc6; TEXT-DECORATION: none } A:hover { COLOR: #428eff } .sec_menu { BORDER-RIGHT: white 1px solid; BACKGROUND: #d6dff7; OVERFLOW: hidden; BORDER-LEFT: white 1px solid; BORDER-BOTTOM: white 1px solid } .menu_title { } .menu_title SPAN { FONT-WEIGHT: bold; LEFT: 8px; COLOR: #215dc6; POSITION: relative; TOP: 2px; visibility: visible; } .menu_title2 { } .menu_title2 SPAN { FONT-WEIGHT: bold; LEFT: 8px; COLOR: #428eff; POSITION: relative; TOP: 2px } /*¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ïEnd LeftTree Module Style¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï¡ï*/ </style> <SCRIPT language=javascript> function menuShow(strobj,maxheight,strobj2) { //expand if(strobj.style.pixelHeight<maxheight) { strobj.style.pixelHeight+=maxheight/10; strobj.filters.alpha.opacity+=20; strobj2.background="http://www.example.com/admin/images/pics/title_bg_hide.gif"; if(strobj.style.pixelHeight==maxheight/10) strobj.style.display='block'; mystrobj=strobj; mymaxheight=maxheight; mystrobj2=strobj2; setTimeout('menuShow(mystrobj,mymaxheight,mystrobj2)','5'); } } function menuHide(strobj,maxheight,strobj2) { //pickup if(strobj.style.pixelHeight>0) { if(strobj.style.pixelHeight==maxheight/5) strobj.style.display='none'; strobj.style.pixelHeight-=maxheight/5; strobj.filters.alpha.opacity-=10; strobj2.background="http://www.example.com/admin/images/pics/title_bg_show.gif"; mystrobj=strobj; mymaxheight=maxheight mystrobj2=strobj2; setTimeout('menuHide(mystrobj,mymaxheight,mystrobj2)','5'); } else if(whichContinue) whichContinue.click(); } function menuChange(strobj,maxheight,strobj2) { if(strobj.style.pixelHeight) { menuHide(strobj,maxheight,strobj2); whichOpen=''; whichcontinue=''; } else if(whichOpen) { whichContinue=strobj2; whichOpen.click(); } else { menuShow(strobj,maxheight,strobj2); whichOpen=strobj2; whichContinue=''; } } </SCRIPT> </head> <body bgcolor="#FF9800" leftmargin="0" topmargin="0" > <TABLE cellSpacing=0 cellPadding=0 width="100%" align=left border=0> <TR> <TD vAlign=top> <TABLE cellSpacing=0 cellPadding=0 width=158 align=center> <TR style="CURSOR: hand"> <TD vAlign=bottom height=42> <IMG height=38 src="http://www.example.com/admin/images/pics/title.gif" width=158></TD> </TR> </TABLE> <!--=================Logout Model =========================--> <TABLE cellSpacing=0 cellPadding=0 width=158 align=center> <TR style="CURSOR: hand"> <TD class=menu_title onMouseOver="this.className='menu_title2';" onmouseout="this.className='menu_title';" background="http://www.example.com/admin/images/pics/title_bg_quit.gif" height=25><SPAN> <a href="System_Server.asp" target="BoardList"><B>home</B></A> /<a href="Loginout.asp" target="_parent"><B>exit</B></A></SPAN> </TD> </TR> </TABLE> <!--=================System Basic Information Model =========================--> <TABLE cellSpacing=0 cellPadding=0 width=158 align=center> <TR style="CURSOR: hand"> <TD class=menu_title id=menuTitle1 onmouseover="this.className='menu_title2';" onclick=menuChange(menu1,130,menuTitle1); onmouseout="this.className='menu_title';" background="http://www.example.com/admin/images/pics/title_bg_hide.gif" height=25> <SPAN>system</SPAN> </TD> </TR> <TR> <TD align="center" valign="middle"> <DIV class=sec_menu id=menu1 style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158px; HEIGHT: 0px"> <TABLE cellSpacing=0 cellPadding=0 width=135 align=center> <TR> <TD height=25><a href="Our.asp" target="BoardList">config</a></TD> </TR> <tr> <td height=25><a href="adminpic.asp" target="BoardList">uploadfiles</a></td> </tr> </TABLE> </DIV></TD> </TR> </TABLE> <TABLE cellSpacing=0 cellPadding=0 width=158 align=center> <TR style="CURSOR: hand"> <TD class=menu_title id=menuTitle4 onmouseover="this.className='menu_title2';" onclick=menuChange(menu4,110,menuTitle4); onmouseout="this.className='menu_title';" background="http://www.example.com/admin/images/pics/title_bg_show.gif" height=25><SPAN>room</SPAN> </TD> </TR> <TR> <TD valign="middle"> <DIV class=sec_menu id=menu4 style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158px; HEIGHT: 0px"> <TABLE cellSpacing=2 cellPadding=0 width=135 align=center> <TBODY> <TR> <TD height=25><a href="Room_Run.asp" target="BoardList">room run</a></TD> </TR> <TR> <TD height=25><a href="Order_Run.asp" target="BoardList">order run</a></TD> </TR> </TBODY> </TABLE> </DIV></TD> </TR> </TABLE> <SCRIPT language=javascript> var whichOpen=""; var whichContinue=''; </SCRIPT> <TABLE cellSpacing=0 cellPadding=0 width=158 align=center> <TR style="CURSOR: hand"> <TD class=menu_title id=menuTitle5 onmouseover="this.className='menu_title2';" onclick=menuChange(menu5,80,menuTitle5); onmouseout="this.className='menu_title';" background="http://www.example.com/admin/images/pics/title_bg_show.gif" height=25><SPAN>guestbook</SPAN> </TD> </TR> <TR> <TD valign="middle"> <DIV class=sec_menu id="menu5" style="DISPLAY: none; FILTER: alpha(Opacity=0); WIDTH: 158px; HEIGHT: 0px"> <TABLE width=135 align=center cellPadding=0 cellSpacing=2> <TR> <TD height=25><a href="Gbook_Run.asp" target="BoardList">gbook run</a></TD> </TR> </TABLE> </DIV></TD> </TR> </TABLE> </table> </body> </html> [edited by: tedster at 2:31 am (utc) on Oct 23, 2012] [edit reason] switch domain name to "example.com" [/edit]
|
drhowarddrfine

msg:4510780 | 12:44 pm on Oct 22, 2012 (gmt 0) | "Can't work" is not a technical term. What doesn't work? For one thing, "filter" is a non-standard IE-only property that doesn't work in any other browser.
|
lucy24

msg:4510905 | 5:13 pm on Oct 22, 2012 (gmt 0) | Does every single line of the quoted code need to be present in order for the problem to occur? (This is, ahem, a stock question asked in several forums hereabouts.)
|
|
|