Skip to main content

Bug Tracker

Side navigation

Ticket #4546: w.html
File w.html, 1.9 KB (added by attenzione, April 16, 2009 03:25PM UTC)

html example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	<title>Global Eval Scripts</title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="description" content="" />
	<meta name="keywords" content="" />
	<link rel="stylesheet" href="./css/jquery.wysiwyg.css" type="text/css" />
<script type="text/javascript" src="./js/jquery.js"></script>
<script type="text/javascript" src="./js/jquery.wysiwyg.js"></script>
</script>
</head>
<body>
	<form>
		<textarea id="w" name="a" cols="100" rows="20">Integer <span>mass<span style="text-decoration: underline;">a. Morbi at odio. Quisque magna. Fusce hendrerit nulla id risus. Donec sce<span>lerisque odio nec mi. Curabitur vehicula, lectus vitae fermentum dapibus, <span style="font-style: italic;">tellus er</span><span style="font-weight: bold; font-style: italic;">a<font size="5">t ultrices est, eget vehicula enim lectus sed risus. Etiam sed ante vel tortor tristique pre</font></span></span><font style="font-style: italic;" size="5"><span style="font-weight: bold;">tium. Quisque elementum, diam id sagittis semper, elit neque euismod p</span></font></span><font style="font-style: italic;" size="5"><span style="font-weight: bold; text-decoration: underline;">urus, </span></font></span><font size="5"><span style="font-weight: bold; text-decoration: underline; font-style: italic;">mo</span><span style="text-decoration: underline;"><span style="font-style: italic;">lestie luctus dolor ipsum sit amet risus. Vivamus volutpat hendrerit tellus. Mauris </span>at lacus ac leo faucibus gravida.</span></font></textarea>
	</form>
	<script type="text/javascript">
		$(function() {
			$.globalEval('$(\'#w\').wysiwyg();');
		});
	</script>
</body>
</html>

Download in other formats:

Original Format