2016-08-23 84 views
0

我使用的Datebox插件jquerymobile從here,還要注意的是,我正在使用timeflipbox模式。
我的問題是,是否有一個去掉Timeflipbox或時間框左上角的關閉按鈕([X])。Datebox插件刪除關閉按鈕

回答

1

Demeter的答案適用於DateBox的Bootstrap版本。對於jQuery Mobile的版本中,CSS選擇器shouldBe這樣

.ui-datebox-container > a.ui-btn { 
    display: none; 
} 

DEMO

+0

耶,這個伎倆非常感謝你 – TheWandererr

0

您可以使用css將其刪除。只需將display:none添加到指定的類。

<style type="text/css"> 
    .closer.glyphicon.glyphicon-remove.pull-left{display:none!important} 
</style> 
+0

不幸的是,這是不是爲我工作:(。我會給你一個小提琴,但沒有HTTPS CDN鏈接,datebox。 js鏈接.. – TheWandererr