Uygulama Örnegi Için Tiklayin

<!-- www.aliakyildirim.com -->
<!DOCTYPE html>
<html>
<head>
<title>Bedavajava Online HTML Editoru - 
www.aliakyildirim.com</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-9">
<script type="text/javascript"> 
 
var editboxHTML = 
’<html class="expand close">’ +
’<head>’ +
’<style type="text/css">’ +
’.expand { width: 100%; height: 100%; }’ +
’.close { border: none; margin: 0px; padding: 0px; }’ +
’html,body { overflow: hidden; }’ +
’<\/style>’ +
’<\/head>’ +
’<body class="expand close" onload="document.f.ta.focus(); document.f.ta.select();">’ +
’<form class="expand close" name="f">’ +
’<textarea class="expand close" style="background: #def;" name="ta" wrap="hard" spellcheck="false">’ +
’<\/textarea>’ +
’<\/form>’ +
’<\/body>’ +
’<\/html>’;
 
var defaultStuff = ’<h3>Bedavajava HTML Editorune Hosgeldiniz..!<\/h3>\n’ +
’<p>Bu Alana HTML ile Ilgili Kodlari Yazin ve Degisikliklerin Browserinizdaki Gorunuslerini Aninda Izleyin <\/p>’;
 
// I don’t want this stuff to appear in the box at the top because I feel it’s likely to be distracting. | Bedavajava
var extraStuff = ’<div style="position:absolute; margin:.3em; bottom:0em; right:0em;"><small>\n  Dizayn: <a href="
http://www.aliakyildirim.com" target="_top">Ali AKYILDIRIM<\/a> Online Editör: <a href="http://www.aliakyildirim.com/HTMLEditor.html" target="_top">Bedavajava HTMLEditor<\/a>.\n<\/small><\/div>’;
 
var old = ’’;
         
function init()
{
  window.editbox.document.write(editboxHTML);
  window.editbox.document.close();
  window.editbox.document.f.ta.value = defaultStuff;
  update();
}
 
function update()
{
  var textarea = window.editbox.document.f.ta;
  var d = dynamicframe.document; 
 
  if (old != textarea.value) {
    old = textarea.value;
    d.open();
    d.write(old);
    if (old.replace(/[\r\n]/g,’’) == defaultStuff.replace(/[\r\n]/g,’’))
      d.write(extraStuff);
    d.close();
  }
 
  window.setTimeout(update, 150);
}
 
</script>
</head>
 
<frameset resizable="yes" rows="50%,*" onload="init();">
  <!-- about:blank confuses opera, so use javascript: URLs instead | Ali AKYILDIRIM -->
  <frame name="editbox" src="javascript:’’;">
  <frame name="dynamicframe" src="javascript:’’;">
</frameset> 
</html>
<!-- 
www.aliakyildirim.com -->


Uygulama Örnegi Için Tiklayin