Trigger function on mouseover, mouseout & click

Get rid of inline JS param setting and now call new showHidePlugins
function on these events
Added an ID to this so we can target this pane
This commit is contained in:
Matt Pass
2013-09-20 17:28:33 +01:00
parent c9e163a2df
commit ace40e0c29

View File

@@ -94,7 +94,7 @@ window.onbeforeunload = function() {
</div>
</div>
<div class="plugins" onMouseOver="this.style.width='55px'; this.style.background='#333'" onMouseOut="this.style.width='3px'; this.style.background='transparent'" onClick="this.style.width='3px'; this.style.background='transparent'">
<div id="plugins" class="plugins" onMouseOver="top.ICEcoder.showHidePlugins('show')" onMouseOut="top.ICEcoder.showHidePlugins('hide')" onClick="top.ICEcoder.showHidePlugins('hide')">
<div style="padding: 15px">
<a nohref onClick="top.ICEcoder.showColorPicker(top.document.getElementById('color') ? top.document.getElementById('color').value : '#123456')" title="Farbtastic
Color picker"><img src="images/color-picker.png" style="cursor: pointer" alt="Color Picker"></a><br><br>