HTML CSS exersice,简单(只是为了理解任务) [英] HTML CSS exersice, simple (just to understand the task)

查看:209
本文介绍了HTML CSS exersice,简单(只是为了理解任务)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要更改此页面的表单 http://dubailifestyleapp.com/members/ 。根据以下步骤:



 中添加此链接< HEAD> 
< link rel =stylesheet
href =https://trafficbalance.io/static/css/sdk/sdk.css>

- 然后添加这些js链接以及脚本:

 < script src =https://trafficbalance.io/static/js/sdk/all.min.js> 
< / script>
< script>
$(function(){
tbsdk.init({
container:'#cont',
pipe:'0rSX2a2',
campaign:'13',
sub_campaign:'30DayChange',
password_required:true,
extra_data:{
subAffiliateId:30DayChange
}
});
});
< / script>

并将表单的div更改为

 < div id =cont>< / div> 

我改变了所有这些,网页形式没有任何变化。
我想我需要为表单使用Javascript函数,我该如何使用它?

解决方案

您需要复制 http://dubailifestyleapp.com
http://dubailifestyleapp.com/members/

然后在第一页上更改表单到只有一个按钮,重定向到
成员页面

然后,在成员页面上将表单更改为以下形式:
inside:
p>

  before< / body>关闭:


如果jQuery已经在页面中,则不需要添加此行。 / p>


  $(function(){
tbsdk.init({
container:'#cont',
pipe:'0rSX2a2',
campaign:'13',
sub_campaign:'30DayChange',
password_required:true,
extra_data:{
subAffiliateId:30DayChange
}
});
});

你应该做的最后一件事就是把这个div放在原来的形式上

 < div id =cont>< / div> 


I need to change the form of this page http://dubailifestyleapp.com/members/. according to the following steps:

add this link inside the

 <head>
<link rel="stylesheet" 
    href="https://trafficbalance.io/static/css/sdk/sdk.css">

-then to add these js link and also the script:

<script src="https://trafficbalance.io/static/js/sdk/all.min.js">
</script>
  <script>
  $(function() {
  tbsdk.init({
    container: '#cont',
pipe: '0rSX2a2',
 campaign: '13',
sub_campaign: '30DayChange',
  password_required: true,
    extra_data: {
  subAffiliateId: "30DayChange"
  }
   });
   });
  </script>

and to change the div of the form to

<div id="cont"></div>

I change all of these, and nothing was change in the form of the webpage. I guess I need to use the Javascript function for the form, how can I use it?

解决方案

So first you need to Duplicate http://dubailifestyleapp.com and http://dubailifestyleapp.com/members/

Then on the first page Change the form to only a button that redirect to the members page

Then, on the members page change the form to this form : inside :

  before </body> closes:

if jQuery is already in page, no need to add this line.

$(function() {
    tbsdk.init({
    container: '#cont',
    pipe: '0rSX2a2',
    campaign: '13',
    sub_campaign: '30DayChange',
    password_required: true,
    extra_data: {
    subAffiliateId: "30DayChange"
}
});
});

And the last thing you should do is put this div instead of the original form

<div id="cont"></div>

这篇关于HTML CSS exersice,简单(只是为了理解任务)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆