Hi,
It works fine for me. Can you try the example page below? does it work for you too?
- <%@ Page Language="C#" %>
-
- <%@ Register Namespace="CuteEditor" Assembly="CuteEditor" TagPrefix="CE" %>
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head id="Head1" runat="server">
- <title></title>
-
- <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
-
- <script type="text/javascript">
- $(document).ready(function () {
- $('.tabs a').click(function () {
- switch_tabs($(this));
- });
- switch_tabs($('.defaulttab'));
- });
-
- function switch_tabs(obj) {
- $('.tab-content').hide();
- $('.tabs a').removeClass("selected");
- var id = obj.attr("rel");
- $('#' + id).show();
- obj.addClass("selected");
- }
- </script>
-
- </head>
- <body>
- <form id="form1" runat="server">
- <div id="wrapper">
- <ul class="tabs">
- <li><a href="#" class="defaulttab" rel="tabs1">Tab #1</a></li>
- <li><a href="#" rel="tabs2">Tab #2</a></li>
- </ul>
- <div class="tab-content" id="tabs1">
- <CE:Editor ID="editor1" runat="server" Text="editor1">
- </CE:Editor>
- </div>
- <div class="tab-content" id="tabs2">
- <CE:Editor ID="editor2" runat="server" Text="editor2">
- </CE:Editor>
- </div>
- </div>
- </form>
- </body>
- </html>
Regards,
Ken