2016-08-23 80 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