onFocus in phpLayers

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
TNTH

onFocus in phpLayers

Post by TNTH »

Hey,

I'm wondering how I can add the onFocus function to the phpLayersmodule. I tried it by copying all the parts with onMousOver in it and change that in onFocus, but it didn't work. I changed it like this in the file "layersmenu.inc.php":

Code: Select all

if ($this->tree[$cnt]['not_a_leaf']) {
	$this->tree[$cnt]['onmouseover'] = ' onmouseover="moveLayerX1(' . "'" . $this->tree[$cnt]['layer_label'] . "', '" . $menu_name . "') ; LMPopUp('" . $this->tree[$cnt]['layer_label'] . "'" . ', false);"';
	$this->tree[$cnt]['onfocus'] = ' onfocus="moveLayerX1(' . "'" . $this->tree[$cnt]['layer_label'] . "', '" . $menu_name . "') ; LMPopUp('" . $this->tree[$cnt]['layer_label'] . "'" . ', false);"';
Help?!
Locked

Return to “Modules/Add-Ons”