Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
Users might experience few discrepancies in Search results. We are working on this on our side. We apologize for the inconvenience it may have caused.
New Member

upgrade firmware of wet200 to support additional browsers (chrome and safari)

hi all, my first posting to these forums, i hope someone from cisco reads this here.

currently (with fw 2.0.34), if you try to access the configuration panel of a wet200 with a browser other than firefox,opera or IE, you don't reach the control panel but a blank page (html source with js-code attached underneath)

cisco, please fix this

thanks in advance

here is the html of the start-page

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" type="text/css" href="css/main.css">
<link rel="stylesheet" type="text/css" href="css/treeMenu.css">
<script language="javascript" type="text/javascript" src="js/ua.js"></script>
<script language="javascript" type="text/javascript" src="js/ftiens4.js"></script>
<script language="javascript" type="text/javascript" src="js/treeMenu.js"></script>
<!--[if lt IE 7]>
        <script type="text/javascript" src="js/unitpngfix.js"></script>
<![endif]--> 
<title>WET200 Wireless-G Business Ethernet Bridge</title>
<style type="text/css">


html, body {
     height: 100%;
     width: 100%;
}
body{
     overflow /**/:hidden;
}

#bg_IMG {
     position:absolute;
     top:0px;
     left:0px;
     width:100%;
     height:100%;
     z-index:-1;
}

/* put all of elements here. */
#container_All {
     position:relative;
     z-index:1;
     margin:15px; /* p.04 */
     padding:0px;
     overflow:auto;
}

/* Header Area = header_IMG + header_Product + header_SubTitle 
 *             + header_Help + header_About
 */
#header {
     position:relative;
     width:100%;
     overflow:hidden;
}

/* put the logo image */
#header_IMG {
     float:left; /* p.34 */
     cursor:pointer;
     top:13px;
}


/* Product Family */
#header_Product {
     float:left;
     font-size:14px;/* p.34 */
     margin-left:15px;
     color:#FFFFFF;
}

#header_SubTitle {
     margin-top:0px;
     color:#FFFFFF; 
     margin-top:3px;
     font-size:22px; /* p.34 */
     word-break : break-all;
     position:absolute;
     left: 82px;
     top: 13px;
}

#header_About {
     float:right; /* p.34 */
     color:#FFFFFF;
     margin-right:15px;
}

#header_Help {
     float:right; /* p.34 */
     color:#FFFFFF;
     margin-right:0px;
}

/* content area */
#content {
     clear:both;
     padding:0px;
     /*border:dotted;*/
     padding-top:15px;
     overflow:auto;
     visibility:hidden;
}

/* tree menu here */
#leftFrame {
     float:left;
     /*width:150px; we need to calculate*/
     /*height:400px; we need to calculate*/
     width:210px;
     height:400px;
     overflow:hidden;
     _overflow:auto;
     background-color:#FFFFFF;
     filter:alpha(opacity=67);
     -ms-filter:"alpha(opacity=67)";
     -moz-opacity:0.67;
     -khtml-opacity: 0.67;
     opacity:0.67;
     left: 0px;
     top: 0px;     

}

/* content page here */
#rightFrame {
     float:right;
     /*width:800px; we need to calculate*/
     /*height:400px; we need to calculate*/
     width:790px;
     height:400px;
     padding:0px;
     margin:0px;
}

/* copyright here */
#footer {
     float:left;
     padding-top:8px; /* p.43 */
     padding-bottom:14px;
     color:#FFFFFF;
}


/* a href css */
a {
     color:#FFFFFF;
}


</style>
<script language="javascript" type="text/javascript">
<!--
/* can not frame the index.htm */
if (top.location != self.location)
{
     top.location = self.location;
}

function resize(){
     
     //IE & FF
     var DIV_height = 0;
     var DIV_width = 0;
     
     DIV_height     = document.documentElement.offsetHeight 
                    - document.getElementById("header").offsetHeight 
                    - document.getElementById("footer").offsetHeight - 30;
     
     DIV_width     = document.getElementById("content").offsetWidth - document.getElementById('leftFrame').offsetWidth - 4;
     
     document.getElementById("leftFrame").style.height = DIV_height +"px";
     document.getElementById("treeMenu").style.height = DIV_height - 25 +"px";
     document.getElementById("rightFrame").style.height = DIV_height +"px";
     
     
     document.getElementById("rightFrame").style.width = DIV_width +"px";
     
     //window.frames["rightFrame"].location = window.frames["rightFrame"].location;
     
     document.getElementById("content").style.visibility="visible";
     //if(document.getElementById("helpLink").href=="help_Setup.asp")
     if(document.getElementById("firstLoad").value == "1") // First Time to Load index.htm.
     {
          document.getElementById("firstLoad").value = 0;     
     }

}

function reload_div(){
     /*Broser Type*/
     var broswer_type = "Unknown";
      
     if(window.ActiveXObject){ 
        broswer_type = "IE"; 
    
     }else if(navigator.userAgent.toLowerCase().indexOf("firefox") != -1){ 
        broswer_type = "Firefox"; 
    
     }else if((typeof document.implementation != "undefined") && (typeof document.implementation.createDocument != "undefined") && (typeof HTMLDocument != "undefined")){ 
        broswer_type = "Mozilla"; 
    
     }else if(navigator.userAgent.toLowerCase().indexOf("opera") != -1){ 
        broswer_type = "Opera"; 
    
     } 
     

     var DIV_height      = 0;
     var DIV_width      = 0;
     var FRAME_height = window.frames["rightFrame"].document.body.scrollHeight;
     var FRAME_width      = window.frames["rightFrame"].document.body.scrollWidth;
     
     if (broswer_type == "IE") {
          /* IE Scroll appear|disappear */
     
          DIV_height= document.documentElement.offsetHeight 
                         - document.getElementById("header").offsetHeight 
                         - document.getElementById("footer").offsetHeight - 30;

          DIV_width     = document.getElementById("content").offsetWidth - document.getElementById('leftFrame').offsetWidth - 4;

          
          /* Background Size*/     
          if (window.frames["rightFrame"].document.getElementById("content_Background") != null) {
               if (DIV_height > FRAME_height) {
                    window.frames["rightFrame"].document.getElementById("content_Background").style.height = DIV_height + "px";
               }
               else
               {
                    window.frames["rightFrame"].document.getElementById("content_Background").style.height = FRAME_height +"px";
               }
          }
          
          if (parseInt(DIV_height, 10) < parseInt(FRAME_height, 10)) {
               window.frames["rightFrame"].document.body.scroll = "auto";
          
          }
          else
          {
               window.frames["rightFrame"].document.body.scroll = "no";
               FRAME_width = FRAME_width + 15;
          }          
          
          if(window.frames["rightFrame"].document.getElementById("content_Pane"))
               window.frames["rightFrame"].document.getElementById("content_Pane").style.width = FRAME_width -20  + "px";
          if(window.frames["rightFrame"].document.getElementById("content_Background"))
               window.frames["rightFrame"].document.getElementById("content_Background").style.width = FRAME_width +"px";

     }
     else
     {     
          if(window.frames["rightFrame"].document.getElementById("content_Pane"))
               window.frames["rightFrame"].document.getElementById("content_Pane").style.width = FRAME_width - 40 + "px";
     }
     
     
}


</script>
</head>
<body onload="resize();" onresize="resize();" scroll="no">
<input type="hidden" id="firstLoad" value="1" />

<img id="bg_IMG" src="image/pageBackground.jpg" alt="background image" />
<div id="container_All">
     <div id="header">
          <div id="header_IMG" onClick="window.open('http://www.cisco.com/','','')">
               <img id="logo_img" src="image/cisco_logo_header.png" width="67" height="40" />
          </div>
          <div id="header_Product">
               Small Business
               <div id="header_SubTitle">WET200 Wireless-G Business Ethernet Bridge</div>
          </div>
          <div id="header_Help"><a id="helpLink" href="javascript://" onClick="window.open('HSetup.htm','HelpPage','menubar=no,status=no,scrollbars=no,resizable,toolbar=no,width=800,height=600')">Help</a></div>
          
          <div id="header_About">
               <a href="javascript:void(0);" onClick="window.open('about.htm','','menubar=no,status=no,scrollbars=no,toolbar=no,width=520,height=385')">About</a>

          </div>
     </div>

     <div id="content">
          <div id="leftFrame"></div>
               <div id="treeMenu" style="overflow:hidden;">
                    <a style="font-size:0pt;text-decoration:none;color:silver" href="http://www.treemenu/" target="_blank"></a>
                    <script language="javascript" type="text/javascript">
                         initializeDocument();
                    </script>
               </div>          
          <iframe id="rightFrame" name="rightFrame" src="Setup.htm" marginwidth="0" marginheight="0" framespacing="0" frameborder="0" allowtransparency="true" onload="reload_div();">
          </iframe>
     </div>
     <div id="footer">
          © 2009 Cisco Systems, Inc. All rights reserved.
     </div>
</div>
</body>
</html>

1 REPLY
New Member

Re: upgrade firmware of wet200 to support additional browsers (c

Thanks for your e-mail. I am on vacation and will respond on my return. If you need help in my absence, please call the office at 215-968-7577. Peter.

573
Views
0
Helpful
1
Replies
CreatePlease to create content