Sina's comment blocks include:
Netease's example:
I borrowed the page in the garden as follows ):
Technical points:
1. Because images cannot be placed in textarea, like Sina's practice, use iframe to put the content, and then hide a textarea for submission.
2. Use of the JQqery tab plug-in
Reference these three first:
- <link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
- <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
- <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
Then:
- $(function() {
-
- $("#tabs").tabs();
-
- });
3. Edit iframe
- window.frames["iframe1"].document.designMode='on';
4. Open simple form
- var newwindow = window.open("tab.htm",'_blank', toolbars=0,resizable=1);
5. How to execute the parent form in iframe
- window.opener.XXX(xxx);
6. Download demo
In fact, there are only three pages. You can copy and paste them without downloading them. Do you have any good ideas or ideas.