1 <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Step3.aspx.cs" Inherits="PumpkinHouse.Guide.Step3" MasterPageFile="/Account/Account.Master"%>
\r
3 <asp:Content ID="Head" runat="server" ContentPlaceHolderID="headHolder">
\r
5 <script type="text/javascript">
\r
6 function addBox(content, insertInFront) {
\r
7 var holder = $('#boxHolder .InputBox');
\r
8 if (content.length > 0 && content.charAt(0) == '+') {
\r
9 content = content.substring(1);
\r
11 var template = $('<div class="InputBoxText"><input type="text" value="' + content + '" class="Rounded toAddInput" /> <a class="remove" style="cursor: pointer"> x </a></div>');
\r
12 if (insertInFront) {
\r
13 holder.prepend(template);
\r
16 $('.newBox', holder).parent().before(template);
\r
18 $('a.remove', template).on('click', function (eventObject) {
\r
19 var target = $(eventObject.target);
\r
20 target.parent().remove();
\r
22 $('input', template).watermark('ÊäÈëÒª´´½¨µÄºÐ×ÓÃû³Æ');
\r
25 $('a.newBox').on('click', function () { addBox('', false) });
\r
26 $('a.toAdd').on('click', function (eventObject) {
\r
27 var target = $(eventObject.target);
\r
28 addBox(target.text(), true);
\r
31 $('.stepBtn3').on('click', function () {
\r
33 $('input.toAddInput').each(function (index, item) {
\r
34 var name = $.trim($(item).val());
\r
39 ajaxCreateAlbums(true, names, function () {
\r
40 document.location = '/';
\r
41 }, function (errorCode) {
\r
42 handleSensitiveWord(errorCode, '±§Ç¸£¬×¨¼Ãû°üº¬·Ç·¨×Ö·û£¬ÇëÐ޸ĺóÔÙ´´½¨¡£');
\r
49 <asp:Content ID="Content" runat="server" ContentPlaceHolderID="AccountContentHolder">
\r
50 <div class="RegStep">
\r
53 <li class="step1"><a href="javascript:void(0);" class="allPngPic">1</a><br />¹Ø×¢Äã¿ÉÄܸÐÐËȤµÄ</li>
\r
54 <li class="step1"><a href="javascript:void(0);" class="allPngPic">2</a><br />ѧϰʹÓÃľͷºÐ×Ó</li>
\r
55 <li class="step3 step3t ColorAacd60"><a href="javascript:void(0);" class="allPngPic">3</a><br />Ìí¼ÓÎҵĺÐ×Ó</li>
\r
58 <div class="step3ConBox clearfix">
\r
59 <div class="float_l" id="boxHolder">
\r
60 <div class="title"><span>ºÐ×Ó</span>ÊÇÄãµÄ·ÖÏí·ÖÀ࣬ËüÄܹ»ÈÃÄãµÄ±¦±´ÃÇÊÕ²Ø<span>¾®¾®ÓÐÌõ</span>Ŷ£¡</div>
\r
61 <div class="InputBox clearfix">
\r
62 <div class="InputBoxText"><input type="text" value="ÎÒϲ»¶µÄºÐ×Ó" class="Rounded toAddInput" /><a class="remove"> x </a></div>
\r
63 <div class="InputBoxText"><a href="#" class="newBox">+ÐÂÔöÒ»¸ö</a></div>
\r
66 <div class="float_r">
\r
67 <h1>¿ìËÙÌí¼ÓºÐ×Ó</h1><br />
\r
68 <a href="#" class="toAdd">+¿ÍÌü</a>
\r
69 <a href="#" class="toAdd">+²ÍÌü</a>
\r
70 <a href="#" class="toAdd">+ÎÔÊÒ</a>
\r
71 <a href="#" class="toAdd">+³ø·¿</a>
\r
72 <a href="#" class="toAdd">+ɳ·¢</a>
\r
73 <a href="#" class="toAdd">+ÒÎ×Ó</a>
\r
74 <a href="#" class="toAdd">+²è¼¸</a>
\r
75 <a href="#" class="toAdd">+Ò¹ñ</a>
\r
79 <div class="stepBtnBox">
\r
80 <input type="button" value="" class="stepBtn3" />
\r