one6666
Mitglied Titanium
Hallo,
folgendes funktioniert :
html:
Externe Javascript Datei:
Das ganze ist aber so nicht sinn der ganzen Sache später soll man nur die externe .js Datei einbinden und den div und alles soll funktionieren ![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Mach ich also das,
HTML:
Externe Javascript Datei:
passiert irgentwie garnichts![Eek! :eek: :eek:](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Hat Jemand eine Idee wodran das liegen könnte
?
folgendes funktioniert :
html:
HTML:
<html>
<head>
<title>Editor</title>
<script type="text/javascript" src="insert_editor.js"></script>
</head>
<body onload="ready()">
<div id="editor_id"></div>
</body>
</html>
HTML:
function ready(){
var editor = document.createElement("iframe");
var editor_id = document.getElementById("editor_id");
editor_id.appendChild(editor);
}
Mach ich also das,
HTML:
HTML:
<html>
<head>
<title>Editor</title>
<script type="text/javascript" src="insert_editor.js"></script>
</head>
<body>
<div id="editor_id"></div>
</body>
</html>
HTML:
function ready(){
var editor = document.createElement("iframe");
var editor_id = document.getElementById("editor_id");
editor_id.appendChild(editor);
}
document.onload = ready;
passiert irgentwie garnichts
Hat Jemand eine Idee wodran das liegen könnte