Bug Tracker

Ticket #4546: w.html

File w.html, 1.9 KB (added by attenzione, 11 years ago)

html example

Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
3<head>
4        <title>Global Eval Scripts</title>
5        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6        <meta name="description" content="" />
7        <meta name="keywords" content="" />
8        <link rel="stylesheet" href="./css/jquery.wysiwyg.css" type="text/css" />
9<script type="text/javascript" src="./js/jquery.js"></script>
10<script type="text/javascript" src="./js/jquery.wysiwyg.js"></script>
11</script>
12</head>
13<body>
14        <form>
15                <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>
16        </form>
17        <script type="text/javascript">
18                $(function() {
19                        $.globalEval('$(\'#w\').wysiwyg();');
20                });
21        </script>
22</body>
23</html>