19,809
edits
(adding parameter to setInnerHTML that allows for custom popup title) |
(oops, forgot I changed the first parameter name) |
||
| Line 467: | Line 467: | ||
var mt = '<div id="XEBmnu" style="width:' + this.width + 'px" >'; | var mt = '<div id="XEBmnu" style="width:' + this.width + 'px" >'; | ||
mt += '<div id="XEBmnuTitle" class="XEBPopupTitle" onmousedown="XEBstartDrag(event)" onmouseup="XEBstopDrag(event)" onmousemove="XEBDrag(event)">' + title + '</div>'; | mt += '<div id="XEBmnuTitle" class="XEBPopupTitle" onmousedown="XEBstartDrag(event)" onmouseup="XEBstopDrag(event)" onmousemove="XEBDrag(event)">' + title + '</div>'; | ||
mt += | mt += html; | ||
mt += '</div>'; | mt += '</div>'; | ||
this.div.innerHTML = mt; | this.div.innerHTML = mt; | ||