![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
20/02/2007, 05:25
|
| | Fecha de Ingreso: enero-2002 Ubicación: Graná
Mensajes: 646
Antigüedad: 23 años, 1 mes Puntos: 0 | |
Re: error javascript en firefox No la he hecho yo, así que no se muy bien cómo funciona. La función completa es:
function CViewerObj.prototype.DoNext()
{
var szNodeID = m_szCurrentNodeID;
var oNewCurrentNode = this.GetNext(szNodeID);
//while(oNewCurrentNode != null)
//{
//if(oNewCurrentNode.selectSingleNode("Root/ContentItem[@PrerequisitesMet = 'true']"))
//{
// m_szCurrentNodeID = oNewCurrentNode.documentElement.childNodes(0).getA ttribute("ID");
// break;
//}
//oNewCurrentNode = this.GetNext(szNodeID);
//}
if (oNewCurrentNode != null)
{
m_szCurrentNodeID = oNewCurrentNode.documentElement.childNodes(0).getA ttribute("ID");
mf_CreateEvent(enum_CPO_NEXT, m_szCurrentNodeID);
}
return ( oNewCurrentNode );
} |