includes/clientside/static/dropdown.js
changeset 1353 1e8c224d47ef
parent 1272 05b7645f12e6
equal deleted inserted replaced
1352:d97cf005f674 1353:1e8c224d47ef
   121 								domObjChangeOpac(100, ul);
   121 								domObjChangeOpac(100, ul);
   122 								
   122 								
   123 								// Setup events
   123 								// Setup events
   124 								obj.childNodes[i].onmouseover = function()  { jBoxOverHandler(this); };
   124 								obj.childNodes[i].onmouseover = function()  { jBoxOverHandler(this); };
   125 								obj.childNodes[i].onmouseout = function(e)  { jBoxOutHandler(this, e); };
   125 								obj.childNodes[i].onmouseout = function(e)  { jBoxOutHandler(this, e); };
       
   126 								console.debug(obj.childNodes[i].href);
       
   127 								if ( obj.childNodes[i].href == window.location.href + '#' )
       
   128 									obj.childNodes[i].onclick = function()
       
   129 										{
       
   130 											jBoxOverHandlerBin(this);
       
   131 											return false;
       
   132 										};
   126 								obj.childNodes[i].nextSibling.onmouseout = function(e)  { jBoxOutHandler(this, e); };
   133 								obj.childNodes[i].nextSibling.onmouseout = function(e)  { jBoxOutHandler(this, e); };
   127 								if ( is_iPhone )
   134 								if ( is_iPhone )
   128 								{
   135 								{
   129 									obj.childNodes[i].onclick = function()  { jBoxOverHandler(this); return false; };
   136 									obj.childNodes[i].onclick = function()  { jBoxOverHandler(this); return false; };
   130 								}
   137 								}