Пытаются зайти в панель управления коммутатора Planet через Firefox 3.0.4 но в итоге просто загружается фон, кнопочки, вкладки не работают. В настройках в JavaScript установлены все галочки.
В консоли ошибок следующее:

Выделить код

Код:

Предупреждение: Ошибка при анализе значения свойства «top».  Потерянное объявление.
Источник: http://192.168.2.10/css/newlink_pl.css
Строка: 154
Предупреждение: Ошибка при анализе значения свойства «top».  Потерянное объявление.
Источник: http://192.168.2.10/css/newlink_pl.css
Строка: 154
Ошибка: tbl.firstChild.firstChild is null
Источник: http://192.168.2.10/js/tabs_pl.js
Строка: 24
Ошибка: tbl.firstChild.firstChild is null
Источник: http://192.168.2.10/js/tabs_pl.js
Строка: 24

192.168.2.10 - это адрес коммутатора

Что по Вашему, мы должны Вам ответить, если у нас нет ни кода страницы, ни кода скриптов? Покупать этот коммуникатор и пробовать на нем все версии его прошивок и ПО?

В IE работает, в Firefox не хотит. Вот код главной страницы

Выделить код

Код:

<html>
<head>
<title>home</title>
<script src="js/common_data_pl.js"></script>
<script src="js/tabs_pl.js"></script>
<link type="text/css" href="css/home_pl.css" rel="stylesheet">
<script src="js/common_functions_pl.js"></script>
<script language="javascript">
if( top.location!=self.location )
top.location.href=document.location.href;
var formele;
var firstRequest = true;
var firstUpdate = false;
var updateModelName = false;
var mTimeoutId = 0;
var mAuthPolId = 0;
var mRefreshRate = 30000;
var bInitArrays = true;
var tabs = null;
var bChildClose = false;
var zoom_bg_name = "../images/zoom_bg.gif";
var regularPos = [177,37];
function startRequestData()
{
if( firstRequest )
{
frames.dataFrame.location.href = '../device/folder_system_panel_data.htm?[systemDataTable]Filter:(ifOperStatus!=6)';
frames.data2Frame.location.href = '../device/folder_system_data2.htm?[PortTrunkVT]Filter:(ifOperStatus!=6)[generalDataTable]Filter:((rlHostParamName="vlanDefaultVID")||(rlHostParamName="l2_num_of_vlans"))';
mTimeoutId = setInterval( "polling();" , 30000 );
firstRequest = false;
}
}
function polling()
{
try
{
if( downloadState != "yes" )
{
frames.dataFrame.location.reload();
frames.data2Frame.location.reload();
}
}
catch(err)
{
}
}
function stopRequestData()
{
if( 0 != mTimeoutId )
clearInterval( mTimeoutId );
}
function onSave()
{
try{
if(!document.getElementById("mainFrame").contentWindow.checkValid())return;
}
catch(err){}
if(document.getElementById("mainFrame").contentWindow.location.href.indexOf("Admin_Datafrm1.htm")!=-1)return;
if(document.getElementById("mainFrame").contentWindow.location.href.indexOf("Admin_Datafrm0.htm")!=-1)return;
try
{
document.getElementById("mainFrame").width=0;
document.getElementById("mainFrame").height=0;
document.getElementById("bgFrame").width="100%";
document.getElementById("bgFrame").height="100%";
frames.mainFrame.formSubmit();
}
catch(err)
{
frames.mainFrame.location.reload();
}
}
function restore_size()
{
document.getElementById("mainFrame").width="100%";
document.getElementById("mainFrame").height="100%";
document.getElementById("bgFrame").width=0;
document.getElementById("bgFrame").height=0;
}
function onCancel()
{
try
{
document.getElementById("mainFrame").width=0;
document.getElementById("mainFrame").height=0;
document.getElementById("bgFrame").width="100%";
document.getElementById("bgFrame").height="100%";
frames.mainFrame.document.location.reload();
}
catch(err)
{}
}
function get_default_VLAN_id()
{
return defaultVlanId;
}
function get_number_of_ports()
{
return NumberOfPorts;
}
function get_first_trunk_index()
{
return trunkFirstIndex;
}
function get_number_of_trunk()
{
return NumberOfTrunks;
}
function get_bind_acl_url()
{
switch(TypePerModuleArr[0])
{
case "39":
case "40":
case "42":
case "43":
return "Security/Security_ACLBinding_soho.htm";
case "57":
case "58":
case "45" :
return "Security/Security_ACLBinding.htm";
default:
return "Security/Security_ACLBinding.htm";
}
}
function get_mac_based_acl_url()
{
switch(TypePerModuleArr[0])
{
case "39":
case "40":
case "42":
case "43":
return "ACL/ACL_MacBased_S.htm?[AclVT]Filter:rlQosAclType=1^Query:rlQosAclIndex=0[AceVT]Filter:rlQosAceTidxAclIndex=0";
case "45" :
return "ACL/ACL_MacBased.htm?[AclVT]Filter:rlQosAclType=1^Query:rlQosAclIndex=0[AceVT]Filter:rlQosAceTidxAclIndex=0";
default:
return "ACL/ACL_MacBased.htm?[AclVT]Filter:rlQosAclType=1^Query:rlQosAclIndex=0[AceVT]Filter:rlQosAceTidxAclIndex=0";
}
}
function get_stormControl_url()
{
switch( TypePerModuleArr[0] )
{
case "39":
case "40":
return 'Security/Security_StormControl_Salsa.htm?Filter:(dot1dBasePort<='+numPortsOnPage+')';
default:
return 'Security/Security_StormControl.htm?Filter:(dot1dBasePort<='+numPortsOnPage+')';
}
}
function get_QosBand_url()
{
switch( TypePerModuleArr[0] )
{
case "42":
case "43":
return "QoS/Qos_Bandwidth_S.htm?[IfVT]FixedKey:rlIfType=2^Filter:((ifOperStatus!=6)&&(ifIndex>=1)&&(ifIndex<="+top.numPortsOnPage+"))";
default:
return "QoS/Qos_Bandwidth.htm?[IfVT]FixedKey:rlIfType=2^Filter:((ifOperStatus!=6)&&(ifIndex>=1)&&(ifIndex<="+top.numPortsOnPage+"))";
}
}
function get_QSettings_url()
{
switch( TypePerModuleArr[0] )
{
case "39":
case "40":
case "45" :
case "57":
case "58":
return "Qos/Qos_QueueSet_cheetha.htm";
default:
return "Qos/Qos_QueueSet.htm";
}
}
function get_port_config_url()
{
switch( TypePerModuleArr[0] )
{
case "39":
case "40":
return 'bridge/bridg_interface_interfaceConfig_m.htm?[PortConfigTable]Filter:(ifOperStatus!=6)&&(ifIndex<='+numPortsOnPage+')';
case "42":
case "43":
return 'bridge/bridg_interface_interfaceConfig_m_no_pve.htm?[PortConfigTable]Filter:(ifOperStatus!=6)&&(ifIndex<='+numPortsOnPage+')';
break;
case "45" :
return 'bridge/bridg_interface_interfaceConfig_m.htm?[PortConfigTable]Filter:(ifOperStatus!=6)&&(ifIndex<='+numPortsOnPage+')';
default:
return 'bridge/bridg_interface_interfaceConfig_m.htm?[PortConfigTable]Filter:(ifOperStatus!=6)&&(ifIndex<='+numPortsOnPage+')';
}
}
function get_lag_config_url( idx )
{
switch( TypePerModuleArr[0] )
{
case "39":
case "40":
return "bridg_link_aggregation_e.htm?[TrunkConfigTable]Query:dot3adAggIndex="+ idx;
case "42":
case "43":
return "bridg_link_aggregation_e_no_pve.htm?[TrunkConfigTable]Query:dot3adAggIndex="+ idx;
break;
case "45" :
return "bridg_link_aggregation_e.htm?[TrunkConfigTable]Query:dot3adAggIndex="+ idx;
default:
return "bridg_link_aggregation_e.htm?[TrunkConfigTable]Query:dot3adAggIndex="+ idx;
}
}
function set_ref_state( item_id , type )
{
var tab_table = null;
var i = 0;
while( null != (tab_table = document.getElementById( item_id +i ) ) )
{
tab_table.style.cursor=type;
i=i+1;
}
}
function loadPeriodicAuth()
{
try
{
if(top.frames.PeriodicAuth != null)
frames.PeriodicAuth.location.href = "../device/authenticate_user.htm";
}
catch(err)
{
}
}
function setTimeInterval()
{
mAuthPolId=setInterval("loadPeriodicAuth()",20000);
}
function stopAuthPoling()
{
if( 0 != mAuthPolId )
clearInterval( mAuthPolId );
}
function getHostParamValues( hostParamName )
{
var i = 1;
while( null != formele["rlHostParamName$repeat?"+i] )
{
if( formele["rlHostParamName$repeat?"+i].value == hostParamName )
return formele["rlHostParamValue$repeat?"+i].value;
i = i + 1;
}
return -1;
}
</script>
</head>
<body bgcolor="#ffffff" onload="document.getElementsByName('lnk')[0].onclick();firstUpdate=true;set_ref_state('sub_tab_','wait');set_ref_state('tab_','wait');setTimeInterval();"
onunload="stopRequestData();">

<FORM METHOD='POST' name="home"  ACTION="/home.htm"   >
<INPUT  Type="HIDDEN" Name="restoreUrl" SIZE=256   value="">
<INPUT  Type=HIDDEN Name=ModuleTable   value="OK" SIZE="20" MAXLENGTH="20">
<INPUT  Type=HIDDEN Name=rlPhdModuleTable$VT SIZE=128   value="OK">
<INPUT  Type=HIDDEN Name=rlPhdModuleStackUnit$VT   value="Type=0;Access=1;NumOfEnumerations=0;Range0=[-2147483648,2147483647]" SIZE="20" MAXLENGTH="20">
<INPUT  Type=HIDDEN Name=rlPhdModuleIndex$VT   value="Type=0;Access=1;NumOfEnumerations=0;Range0=[-2147483648,2147483647]" SIZE="20" MAXLENGTH="20">
<INPUT  Type=HIDDEN Name=rlPhdModuleType$VT   value="Type=0;Access=1;NumOfEnumerations=0;Range0=[-2147483648,2147483647]" SIZE="20" MAXLENGTH="20">
<INPUT  Type=HIDDEN Name=rlPhdModuleNumberOfPorts$VT   value="Type=0;Access=1;NumOfEnumerations=0;Range0=[-2147483648,2147483647]" SIZE="20" MAXLENGTH="20">
<INPUT  Type=HIDDEN Name=ModuleTable$endVT   value="OK" SIZE="20" MAXLENGTH="20">

<INPUT  TYPE=HIDDEN NAME=rlPhdModuleStackUnit$repeat?1    value="1" SIZE="20" MAXLENGTH="20">
<INPUT  TYPE=HIDDEN NAME=rlPhdModuleIndex$repeat?1    value="1" SIZE="20" MAXLENGTH="20">
<INPUT  TYPE=HIDDEN NAME=rlPhdModuleType$repeat?1    value="60" SIZE="20" MAXLENGTH="20">
<INPUT  TYPE=HIDDEN NAME=rlPhdModuleNumberOfPorts$repeat?1    value="10" SIZE="20" MAXLENGTH="20">
<INPUT  type=hidden Name=ModuleTable$endRepeat?1    value="OK" SIZE="20" MAXLENGTH="20">


<INPUT  Type=HIDDEN Name=HostParamTable   value="OK" SIZE="20" MAXLENGTH="20">
<INPUT  Type=HIDDEN Name=rlHostParamTable$VT SIZE=128   value="OK">
<INPUT  Type=HIDDEN Name=rlHostParamName$VT SIZE=128   value="Type=100;Access=1;NumOfEnumerations=0;Range0=[1,80]">
<INPUT  Type=HIDDEN Name=rlHostParamValue$VT SIZE=128   value="Type=0;Access=1;NumOfEnumerations=0;Range0=[-2147483648,2147483647]">
<INPUT  Type=HIDDEN Name="Filter:rlHostParamName='l2_first_trunk_ifIndex' || rlHostParamName='l2_num_of_trunks'"   value="OK" SIZE="20" MAXLENGTH="20">
<INPUT  Type=HIDDEN Name=HostParamTable$endVT   value="OK" SIZE="20" MAXLENGTH="20">

<INPUT  TYPE=HIDDEN NAME=rlHostParamName$repeat?1  disabled   value="l2_first_trunk_ifIndex" SIZE="20" MAXLENGTH="20">
<INPUT  TYPE=HIDDEN NAME=rlHostParamValue$repeat?1  disabled   value="1000" SIZE="20" MAXLENGTH="20">
<INPUT  type=hidden Name=HostParamTable$endRepeat?1  disabled   value="OK" SIZE="20" MAXLENGTH="20">

<INPUT  TYPE=HIDDEN NAME=rlHostParamName$repeat?2  disabled   value="l2_num_of_trunks" SIZE="20" MAXLENGTH="20">
<INPUT  TYPE=HIDDEN NAME=rlHostParamValue$repeat?2  disabled   value="8" SIZE="20" MAXLENGTH="20">
<INPUT  type=hidden Name=HostParamTable$endRepeat?2  disabled   value="OK" SIZE="20" MAXLENGTH="20">


<script>
formele=document.forms[0].elements;
moduleType = TypePerModuleArr[0] = formele["rlPhdModuleType$repeat?1"].value;
NumberOfPorts = NumberOfPortPerModuleArr[0] = formele["rlPhdModuleNumberOfPorts$repeat?1"].value;
numPortsOnPage = 12;
switch(moduleType)
{
case "43":
case "45":
case "53":
case "58":
numPortsOnPage = 12;
break;
default:
numPortsOnPage = 12;
}
if(NumberOfPorts<numPortsOnPage)
numPortsOnPage=NumberOfPorts;
trunkFirstIndex = getHostParamValues( 'l2_first_trunk_ifIndex' );
NumberOfTrunks = getHostParamValues( 'l2_num_of_trunks' );

</script>
<script src="js/tab_items_cheetah_pl.js"></script>
<script src="js/tab_items_soho_pl.js"></script>
<script src="js/tab_items_salsa_pl.js"></script>
<script src="js/tab_items_cheetah_cut_pl.js"></script>
<script src="js/tab_items_208_no_poe_pl.js"></script>
<script src="js/tab_items_208_poe_pl.js"></script>
<script src="js/tab_items_106_pl.js"></script>
<table align="center" border="1" width="983" height="600" bgcolor="#ffffff">
<tr>

<td bgcolor="#B5D1E8">
<table width="100%" border="0">
<tr>
<td width="980"><IMG height="70" src="images/logo_pl_8E.gif" width="980" align="middle" border="0"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="#B5D1E8">
<table id="t1" width="100%" bgcolor="#FFFFFF" border="0">
<tr>
<td bgcolor="#FFFFFF" colspan="3">
<table style="BORDER-RIGHT: 0px; PADDING-RIGHT: 0px; BORDER-TOP: 0px; PADDING-LEFT: 0px; PADDING-BOTTOM: 0px; BORDER-LEFT: 0px; PADDING-TOP: 0px; BORDER-BOTTOM: 0px; BORDER-COLLAPSE: collapse;" height="100%" ID="Table2">
<tbody class="midNavLevel">
<tr height="20">
<script>
menu_dispatcher();
if( null != tabs )
drawHeadsTab( tabs );

</script>
</tr>
</tbody>
</table>
</td>
<td align="right" valign="middle" style="padding-right:5px;" >
<table ID="Table1">
<tbody class='changeLink'>
<td nowrap id='cloneTd'>
</td>
<td width='76' height='41' background="images/ConfigButton_pl.jpg" nowrap>
<a name="save" id="save" href="javascript:void(0)" onclick="onSave();"><font align="center" size="2" style="text-decoration: none"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save</font> </a>
</td>
</tbody>

</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="100%" border="0" >
<tr>
<td width="18%" colspan="3" bgcolor="#55637E" valign="top" align="center">
<table border="0">
<tr>
<td>
<table>
<tr>
<td class='sublinks' id='subTubs' width="171" background="images/subTubsbg.gif">

</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
<td width="82%" height="465" bgcolor="#B5D1E8">
<iframe frameborder="no" name="bgFrame" id="bgFrame" src="device/empty.htm" width="100%"
height="100%"></iframe>
<iframe frameborder="no" onload="restore_size();" name="mainFrame" id="mainFrame" src="system/blank.htm"
width="0" height="0"></iframe>
<iframe frameborder="no" name="dataFrame" id="dataFrame" src="system/blank.htm" align="left"
width="0" height="0"></iframe>
<iframe frameborder="no" name="data2Frame" id="data2Frame" src="system/blank.htm" align="left"
width="0" height="0"></iframe>
<iframe frameborder="no" name="PeriodicAuth" id="PeriodicAuth" src="device/empty.htm" width="0"
height="0"></iframe>

</td>
<td width="0%">
<table id="helps" width="0%" height="100%">
<tr>
<td bgcolor="#B5D1E8" valign="top" style="background-image: url(images/logotop_pl.jpg);background-position:right bottom;background-repeat:no-repeat;">
<iframe frameborder="no" name="helpFrame" id="helpFrame" src="system/blank.htm" align="left"
width="0%" height="95%"></iframe>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right" valign="middle" style="padding-right:5px;background-image: url(images/BlackLineBG_pl.jpg);background-position:left top;background-repeat:repeat-y;" height="1">
<table ID="Table1">
<tbody class='changeLink'>
<tr>

<td nowrap id='cloneTd'>
</td>
<td></td>
<td></td>
<td></td>
</tr>
</tbody>
</table>
</td>
<td bgcolor="#FFFFFF" align="right" valign="top" style="background-image: url(images/logobuttom_pl.jpg);background-position:right top;background-repeat:no-repeat;"><br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</FORM>

</body>
</html>

Если консоль говорит, что "http://192.168.2.10/css/newlink_pl.css", значит ошибки не в той страничке, которую вы прислали, а во внешних скриптах и css таблицах стилей.