Example 6 - Popup Editor

This example use a popup toolbar to launch the editor within a popup window.

Two mean of lunching the editor are demonstrated, but the same approach can be used in other applications:

A text link: Launch Equation Editor

A button:

Key HTML Code

<!DOCTYPE html>
<html lang="en">
<script type="text/javascript" src="http://latex.codecogs.com/eqneditor/editor.js"></script>
<h1>Example 6</h1>

<p>A text link: <a href="#" onclick="OpenLatexEditor('testbox','html','')">
Launch Equation Editor

<p>A button: <button onclick="OpenLatexEditor('testbox','html','')">Launch Equation Editor</button></p>

<textarea id="testbox" rows="6" cols="60"></textarea>


© 2004-2013 www.CodeCogs.com, Zyba Ltd.