dt3999 2010-12-06 08:52
浏览 31

时事通讯块

Just wondering if someone can help me create a newsletter block on my website.

So far I have the following on the site:

<div class="one-fourth-last panel border-vert-left newsletter">
                    <div class="padleft">
                    <h4>Join Our<br/> Newsletter</h4>
                    <p>To receieve our newsletter, simply sign up below:</p>
                    <table cellpadding="0" cellspacing="0">
                      <tr>
                        <td><input name="" class="field"/></td>
                        <td><input type="image" name="go" src="images/newsletter-input-button.png" alt="Go" class="form-imagebutton" /></td>
                      </tr>
                    </table>

                <span class="small">* We will not share your information.</span>
                </div>
            </div>

Now I'm using Campaign Monitor for newsletter sign-ups and I somehow need to intergrate the following:

<form id="newsletter-form" action="http://companyname.createsend.com/t/r/s/hrihuj/"  method="post">
                    <p>Stay up-to-date with what we're up to</p>            
                    <input id="email-address" type="text" value="Join our newsletter" name="cm-hrihuj-hrihuj"  onclick="this.value='';" />
                    <input id="submit" type="submit" value="go" name="commit"/> 
                    </form>

Into what I have already without having to further change the CSS to accomodate this and would appreciate someone showing me how I can intergrate the campaign monitor code into the existing code.

Thanks

  • 写回答

1条回答 默认 最新

  • duangu1878 2010-12-06 09:32
    关注

    Try that:

            <div class="one-fourth-last panel border-vert-left newsletter">
                <div class="padleft">
                <h4>Join Our<br/> Newsletter</h4>
                <p>To receieve our newsletter, simply sign up below:</p>
    
                <form id="newsletter-form" action="http://companyname.createsend.com/t/r/s/hrihuj/"  method="post">
                  <table cellpadding="0" cellspacing="0">
                    <tr>
                      <td><input id="email-address" name="cm-hrihuj-hrihuj" onclick="this.value='';" type="text" class="field" /></td>
                      <td><input type="image" name="commit" src="images/newsletter-input-button.png" alt="Go" class="form-imagebutton" /></td>
                    </tr>
                  </table>
                </form>
    
              <span class="small">* We will not share your information.</span>
            </div>
        </div>
    

    I'm not sure wether you need to update the action param within the <form> tag.
    Maybe you need to do that.

    评论

报告相同问题?

悬赏问题

  • ¥15 基于51单片机的厨房煤气泄露检测报警系统设计
  • ¥15 路易威登官网 里边的参数逆向
  • ¥15 Arduino无法同时连接多个hx711模块,如何解决?
  • ¥50 需求一个up主付费课程
  • ¥20 模型在y分布之外的数据上预测能力不好如何解决
  • ¥15 processing提取音乐节奏
  • ¥15 gg加速器加速游戏时,提示不是x86架构
  • ¥15 python按要求编写程序
  • ¥15 Python输入字符串转化为列表排序具体见图,严格按照输入
  • ¥20 XP系统在重新启动后进不去桌面,一直黑屏。