<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!--
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>jQuery adapter - CKEditor Sample</title>
	<meta content="text/html; charset=utf-8" http-equiv="content-type" />
	<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1/jquery.js"></script>
	<script type="text/javascript" src="ckeditor/ckeditor.js"></script>
	<script type="text/javascript" src="ckeditor/adapters/jquery.js"></script>
	<script src="ckeditor/samples/sample.js" type="text/javascript"></script>
	<link href="ckeditor/samples/sample.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript">
	//<![CDATA[

$(function()
{
	var config = {
		toolbar:
		[

['Bold', 'Italic', 'Underline', '-'],

['TextColor','BGColor']

			['UIColor']
		]
	};

	// Initialize the editor.
	// Callback function can be passed and executed after full instance creation.
	$('.jquery_ckeditor').ckeditor(config);
});

	//]]>
	</script>
</head>
<body>

<form method="post" action="
<?php
echo'adm_menu_horiz.php?lg='.$lg.'&adm=menuhoriz&menu='.$valor["nome"].'&adm=menuhoriz&opcao=altera&flag=gravar">

<INPUT TYPE="hidden" name="cod" value="'.$valor["cod_item"].'">


Nome do Menu Horizontal
<br/>
<input type="text" name="nome" size="80" value="'.$valor["nome"].'">
<br/><br/>
Texto do Item
<br/>

'; ?>

<div>



<textarea cols="50" rows="2" class="jquery_ckeditor" name="item_menu">
<?php echo''.$valor["item_menu"].''; ?>
</textarea>



<?php

echo'
<br/><br/>

Ordem de Exibi&ccedil;&atilde;o
<br/>
<input type="text" name="id" size="8" value="'.$valor["id"].'">
<br/><br/>


URL
<br/>
<input type="text" name="url" size="80" value="'.$valor["url"].'">

<p align="right">
<input type="submit" value="Salvar" name="B1">
</p>
<br/>
<br/>


Selecione uma URL:
<br/>

<iframe  name="site" src="menu_urls.php?lg='.$lg.'"  target="site" width="420" height="240" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="yes">
</iframe>

<br/><br/>';

?>



<div style="float: right; margin-right: 20px;">
<input type="submit" value="SALVAR"/>
</div>



    
</div>
</form>

</body>
</html>



