jQueryMobile和jQuery UI数据图标冲突 [英] Jquerymobile and jquery ui data icon conflict

查看:109
本文介绍了jQueryMobile和jQuery UI数据图标冲突的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的Web应用程序中,我有一个页面,在其中使用jQuery UI的自动完成小部件. 我从此页面链接到jQuery Mobile和jQuery UI CSS.

In my web app, I have a page where I use autocomplete widget from jQuery UI. I link to jQuery Mobileand jQuery UI CSS from this page.

link rel="stylesheet" href="Styles/jquery.mobile-1.0.1.min.css"
type="text/css"  link rel="stylesheet" type="text/css"
href="Styles/ui-lightness/jquery-ui-1.8.16.custom.css"

当我这样做时,我的jQuery Mobile数据图标完全不显示.我只是看到一个黑洞.我仅指的是jQuery Mobile的其他页面没有问题.他们可以很好地显示数据图标.

when I do this, my jQuery Mobile data-icons dont show at all. I just see a black hole in place. The other pages where I refer to only the jQuery Mobile have no issues. they display the data-icons fine.

关于我可能在做错什么的任何想法吗?

Any idea as to what I could be doing wrong?

推荐答案

在jQuery移动CSS之前放置jQuery UI css链接,并且应该可以使用.

Put the jQuery UI css link BEFORE the jQuery mobile css and should work.

这篇关于jQueryMobile和jQuery UI数据图标冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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