2013-05-19 23 views
0

我構建了一個目錄頁 - >http://www.zentify.com/ 我使用了twitter bootstrap並集成了Launchrock小部件並調整了一些css。 現在它看起來像我想看看,但提交按鈕「Jetzt Unternehmen anmelden」不起作用。註冊按鈕在我的Launchrock小部件中不起作用

有人明白爲什麼那個按鈕不在任何地方? 哪些代碼片段有助於查看?

這裏是我的自定義CSS https://github.com/Boeru/Zentify-website/blob/master/css/custom.css

小部件我在登錄到朗奇巖控件編輯在先進的代碼編輯器中直接編輯的CSS和HTML。

這是自帶的朗奇巖插件的JS(這裏請問問題出在哪裏?)

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"); 

這是小工具

.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; 

的覆蓋CSS如果有更多的代碼張貼瞭解我的問題,請讓我知道。 意見和建議非常感謝。我想這是一個相當小的問題,但是我個人被困住了。

回答

0

我收到錯誤,指出您的頁面上沒有鏈接的腳本已加載。特別感興趣的是jQuery沒有加載,也沒有任何bootstrap.js腳本。

+0

感謝瑞恩指出這個問題。我更正了我本地目錄中的js鏈接。 Launchrock傢伙回答說,最有可能與我的自定義代碼有關,我可能評論了一些重要的東西。 我重置了小部件編輯器中的默認代碼,現在再次慢慢剝離css。 –

+0

沒問題。如果您可以加載實況網站腳本,我很樂意看一看。 –