Update index-open.html
This commit is contained in:
parent
45da2628f2
commit
10d1ab6c8c
|
@ -112,7 +112,7 @@
|
||||||
$('#' + app).css('z-index', 9999);
|
$('#' + app).css('z-index', 9999);
|
||||||
}
|
}
|
||||||
function openApplication(app) {
|
function openApplication(app) {
|
||||||
var newElement="<div onclick=\"moveToFront(" + app + ")\" id=\"" + app + "\" class=\"framewrap\"><input type=\"button\" onclick=\"closeApplication(" + app + ")\" value=\"X\" /><iframe class=\"appFrame\" src=\"apps/" + app + "/\"></iframe></div>";
|
var newElement="<div onclick=\"moveToFront(\"" + app + "\")\" id=\"" + app + "\" class=\"framewrap\"><input type=\"button\" onclick=\"closeApplication(\"" + app + "\")\" value=\"X\" /><iframe class=\"appFrame\" src=\"apps/" + app + "/\"></iframe></div>";
|
||||||
var parent=document.getElementById('appContainer');
|
var parent=document.getElementById('appContainer');
|
||||||
parent.innerHTML+=newElement;
|
parent.innerHTML+=newElement;
|
||||||
moveToFront(app);
|
moveToFront(app);
|
||||||
|
|
Loading…
Reference in a new issue