| 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|---|
| 2 | <!-- |
|---|
| 3 | Copyright (c) 2003-2012, CKSource - Frederico Knabben. All rights reserved. |
|---|
| 4 | For licensing, see LICENSE.html or http://ckeditor.com/license |
|---|
| 5 | --> |
|---|
| 6 | <html xmlns="http://www.w3.org/1999/xhtml"> |
|---|
| 7 | <head> |
|---|
| 8 | <title>CKEditor issue #9715</title> |
|---|
| 9 | <meta content="text/html; charset=utf-8" http-equiv="content-type" /> |
|---|
| 10 | <script type="text/javascript" src="../ckeditor_source.js"></script> |
|---|
| 11 | <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js" type="text/javascript"></script> |
|---|
| 12 | <script type="text/javascript"> |
|---|
| 13 | $('#step1').live('click', function() { |
|---|
| 14 | $('.sampleEditor').addClass('hidden'); |
|---|
| 15 | }); |
|---|
| 16 | |
|---|
| 17 | $('#step3').live('click', function() { |
|---|
| 18 | $('.sampleEditor').removeClass('hidden'); |
|---|
| 19 | }); |
|---|
| 20 | </script> |
|---|
| 21 | <style> |
|---|
| 22 | .hidden { |
|---|
| 23 | display: none; |
|---|
| 24 | } |
|---|
| 25 | </style> |
|---|
| 26 | </head> |
|---|
| 27 | <body> |
|---|
| 28 | <h1>CKEditor issue #9715</h1> |
|---|
| 29 | |
|---|
| 30 | <div class="steps"> |
|---|
| 31 | <h2>Click on the steps</h2> |
|---|
| 32 | <p><a href="#" id="step1">Step 1:</a> This adds a style='display:none;' to the div which contains the ckeditor.</p> |
|---|
| 33 | <p>Step 2: Resize your browser</p> |
|---|
| 34 | <p><a href="#" id="step3">Step 3:</a> This removes the style='display:none;' from the div which contains the ckeditor.</p> |
|---|
| 35 | </div> |
|---|
| 36 | |
|---|
| 37 | <div class="sampleEditor"> |
|---|
| 38 | <textarea class="ckeditor" cols="80" id="editor1" name="editor1" rows="10">CKEditor issue #9715</textarea> |
|---|
| 39 | </div> |
|---|
| 40 | |
|---|
| 41 | </body> |
|---|
| 42 | </html> |
|---|