首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >注册按钮在我的Launchrock小部件中不起作用

注册按钮在我的Launchrock小部件中不起作用
EN

Stack Overflow用户
提问于 2013-05-20 02:21:04
回答 1查看 1K关注 0票数 0

我构建了一个登陆页--> http://www.zentify.com/,我使用了twitter bootstrap,集成了Launchrock小部件,并调整了一些css。现在看起来我想让它看起来像是,但是提交按钮"Jetzt Unternehmen“不起作用。

有没有人知道为什么那个按钮不能通向任何地方?哪些代码片段会对您有所帮助?

下面是我的自定义css https://github.com/Boeru/Zentify-website/blob/master/css/custom.css

当我登录到Launchrock小部件编辑器时,我直接在高级代码编辑器中编辑小部件的CSS和html。

这是随Launchrock Widget提供的JS (问题出在这里吗?)

代码语言:javascript
复制
The widget css in the Launchrock advanced code editor
window.lrignition.themesJS.customTheme = function() {
/* DO NOT MODIFY ABOVE THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING */
this.init.push(function() {
    /* Your code here to run on initialization */
});
// Uncomment to override default mode set behavior
/*
this.setMode = function( ignition, mode ) {
    var container = ignition.getContainer(); // jQuery
    if( mode === "main" ) {
        container.find( ".LR-content" ).removeClass( "LR-sharing-page" );
        container.find( ".LR-site-share" ).hide();
        container.find( ".LR-sign-up-container" ).show();
    } else if( mode === "postsignup" ) {
        container.find( ".LR-content" ).addClass( "LR-sharing-page" );
        container.find( ".LR-sign-up-container" ).hide();
        container.find( ".LR-site-share" ).show();
    }
};
*/
/* DO NOT MODIFY BELOW THIS LINE UNLESS YOU KNOW WHAT YOU ARE DOING */
  };
  window.lrignition.themesJS.customTheme.prototype = new ( window.lrignition.themesJS.clean || window.lrignition.themesJS.common )( "customTheme" );

这是小部件的覆盖css

代码语言:javascript
复制
.LR-sign-up-submit{

style="background-color:#00FA9A;"
height: 100px;
    }


.myButton {
width: 98%;



    -moz-box-shadow:inset 0px 1px 0px 0px #00fa9a;
    -webkit-box-shadow:inset 0px 1px 0px 0px #00fa9a;
    box-shadow:inset 0px 1px 0px 0px #00fa9a;

    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #00fa9a), color-stop(1, #00fa9a));
    background:-moz-linear-gradient(top, #00fa9a 5%, #00fa9a 100%);
    background:-webkit-linear-gradient(top, #00fa9a 5%, #00fa9a 100%);
    background:-o-linear-gradient(top, #00fa9a 5%, #00fa9a 100%);
    background:-ms-linear-gradient(top, #00fa9a 5%, #00fa9a 100%);
    background:linear-gradient(to bottom, #00fa9a 5%, #00fa9a 100%);
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00fa9a', endColorstr='#00fa9a',GradientType=0);

    background-color:#00fa9a;

    -moz-border-radius:7px;
    -webkit-border-radius:7px;
    border-radius:7px;

    border:1px solid #fafafa;

    display:inline-block;
   color: #333333;
    font-family:Trebuchet MS;
    font-size:17px;
    font-weight:bold;
    padding:11px 38.5px  ;
    margin:0px 3px 6px ;
    text-decoration:none;

    text-shadow:0px 1px 0px #00fa9a;

}
.myButton:hover {

    background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #33FF99), color-stop(1, #33FF99));
    background:-moz-linear-gradient(top, #33FF99 5%, #33FF99 100%);
    background:-webkit-linear-gradient(top, #33FF99 5%, #33FF99 100%);
    background:-o-linear-gradient(top, #33FF99 5%, #33FF99 100%);
    background:-ms-linear-gradient(top, #33FF99 5%, #33FF99 100%);
    background:linear-gradient(to bottom, #33FF99 5%, #33FF99 100%);


    background-color:#33FF99;
}
.myButton:active {
    position:relative;
    top:1px;
}


.LR-bg-img {
margin-top: 0px;
background-attachment: relative;
background-color: #222222;
background-image: url("img/classicBg.png");
background-position: center center;
background-size: cover;
content: "";
height: 700px;
left: 0;
margin: 0;
padding: 0;
position: relative;
top: 0;
width: 100%;
z-index: -1;
}


div.LR-box-container {
z-index: -1;
}


.LR-content {
margin-top: 75px;
color: #FFFFFF;
font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
font-size: 14px;
font-weight: 300;
height: 600px;
min-height: 100%;
position: relative; 
z-index: 0;
display: block;
}

.cookie {
margin-top: 160px;
font-family: Cookie;
font-size: 6em
}


.neuehelvetica {
font-family: "Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;
font-weight: 400;
margin-top: -40px;}

div#lr-widget {


height: 540px;

如果有更多的代码要发布以了解我的问题,请让我知道。非常感谢您的建议和意见。我想这是一个相当小的问题,但就我个人而言,我被卡住了。

EN

回答 1

Stack Overflow用户

发布于 2013-05-20 02:29:53

我得到的错误信息表明你的页面上没有链接的脚本被加载。特别有趣的是,没有加载jQuery,也没有加载任何bootstrap.js脚本。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/16637965

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档