Latest Neocron News and Information

  • New test server patch #563 has been released to Vedeena

Difference between revisions of "Metadata:Mapping/Map.js"

From Neocron Wiki
Jump to: navigation, search
(Fecking IE7 fixes)
Line 2: Line 2:
  
 
// Function to hide unsed map key elements
 
// Function to hide unsed map key elements
function hideMapKey(class)
+
function hideMapKey(class_name)
 
{
 
{
 
// Check the map areas for the class
 
// Check the map areas for the class
if ($kjq('area.'+class).length==0)
+
if ($kjq('area.'+class_name).length==0)
 
{
 
{
 
// Not found anything - so hide it on the map
 
// Not found anything - so hide it on the map
$kjq('li.'+class+'_key').hide();
+
$kjq('li.'+class_name+'_key').hide();
 
}
 
}
 
}
 
}

Revision as of 20:54, 17 May 2008

Sorry you do not have permissions to view this page.