»
AnglaisFrançaisVietnamien

Imprimer - Code Box Editor - JavaScriptBank.com

Version complète: jsB@nk » Utilitaire » Générateur » Code Box Editor
URL: https://www.javascriptbank.com/code-box-editor.html

Code Box Editor © JavaScriptBank.comUn code de la case où les utilisateurs peuvent modifier le code et l'aperçu de leurs résultats sur la même page. Une excellente façon d'offrir à vos extraits de code à vos visiteurs.

Version complète: jsB@nk » Utilitaire » Générateur » Code Box Editor
URL: https://www.javascriptbank.com/code-box-editor.html



HTML
<table style="width:600px;border:solid 1px #959492;background:#ebebea"><tr><td valign="top"><form name="form1" method="post"><textarea name="code" wrap="soft" onclick="focus(this.code)" style="border:solid 1px #b9b8b6;padding:5px;width:300px;height:300px;scroll:auto;">This is a great way to display code snippets to your visitors, allowing them to make changes and preview those changes all from the same page - keeping them on your site longer. Just replace this text within the script with whatever code you want to have displayed to your visitors. Click on the 'Generate Code' button to launch preview.<br><br><a href="http://www.thenetter.com/scripts/" target="_new">More Free Scripts</a></textarea></form></td><td valign="top"><iframe src="about:blank" name="preview" style="height:300px;width:300px;border:solid 1px #b9b8b6;background:#ffffff" frameborder="0"></iframe></td></tr></table><button onclick="preview.document.write (document.getElementsByTagName ('TEXTAREA')[0].value); preview.document.close(); preview.focus()">Generate Preview</button><button onclick="window.document.form1.code.value='';preview.document.write (document.getElementsByTagName ('TEXTAREA')[0].value); preview.document.close(); preview.focus()">Clear All</button><button onclick="window.location.href=window.location.href">Reload</button><!--    This script downloaded from www.JavaScriptBank.com    Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->