Sorry....1. Lesen
2. Verstehen
Topic-Bumping
Ich verstehe einfach nicht wie ich die Funktion korrekt einbinde.Was genau funktioniert nicht?
Code: Alles auswählen
<html>
<head>
<title>Test</title>
<script type="text/javascript" src="/javascripts/prototype.js"> </script> <script type="text/javascript" src="/javascripts/window.js"> </script> <link href="/stylesheets/themes/default.css" rel="stylesheet" type="text/css"> <!-- Add this to have a specific theme--> <link href="themes/mac_os_x.css" rel="stylesheet" type="text/css">
</head>
<body>
<script type="text/javascript">
win = new Window('window_id', {className: "mac_os_x", title: "Sample", width:200, height:150}); win.getContent().innerHTML = "<h1>Hello world !!</h1>"; win.setDestroyOnClose(); win.showCenter();
</script>
</body>
</html>