Home -> jqrte ->

jqrte Demo : Add page

<?php
$language="enus";
include_once("jqrte_latest/locale/".$language.".php");
function getLabel($key,$language){
global $label;
return $label[$language][$key];
}
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">

<link rel="Stylesheet" type="text/css" href="jqrte_latest/css/jqrte.css" />
<link type="text/css" href="jqrte_latest/css/jqpopup.css" rel="Stylesheet"/>
<link rel="stylesheet" href="jqrte_latest/css/jqcp.css" type="text/css"/>

<script type="text/javascript" src="jqrte_latest/js/jquery-1.4.1.min.js"></script>
<script type="text/javascript" src="jqrte_latest/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="jqrte_latest/js/jqDnR.min.js"></script>
<script type="text/javascript" src="jqrte_latest/js/jquery.jqpopup.min.js"></script>
<script type="text/javascript" src="jqrte_latest/js/jquery.jqcp.min.js"></script>
<script type="text/javascript" src="jqrte_latest/js/jquery.jqupload.min.js"></script>
<script type="text/javascript" src="jqrte_latest/js/jquery.jqrte.min.js"></script>
</head>

<body>

<?php
include_once("jqrte_latest/content_editor.php");
include_once("jqrte_latest/editor.php");
?>

<form method="post" action="jqrte_latest_add2.php">
<textarea id="content" name="content" class="jqrte_popup" rows="5" cols="5">rich text editor with &lt;b&gt;Content&lt;/b&gt;</textarea>
<input type="hidden" name="do" value="add" />
<input type="submit" name="Submit" value="Submit">
</form>

<script type="text/javascript">
window.onload = function(){
try{
$("#content_rte").jqrte();
}
catch(e){}
}

$(document).ready(function() {
$("#content_rte").jqrte_setIcon();
$("#content_rte").jqrte_setContent();
});
</script>

 

</body>
</html>