English 中文(简体)
离子机器人可以选择位于另一行星后方的元素
原标题:On Android can select element positioned behind another

我使用了绝对定位和 CSS3 动画, 因此点击触发 Div 使另一个动画可以覆盖它。 这效果很好, 除了我的老旧的Android 电话, 当您在前面点击 div 时, 您有时可以选择一个选项输入, 它后面的 div 。 我尝试过添加一个 z- index, 但问题仍然存在 。

最佳回答

我希望有一个 CSS 解决方案, 但用 jQuery 完成 。 下面是我调用禁用/ 禁用输入的功能, 这样它无法被选中 。

function disableInputs () {
$( select ).prop("disabled", true);
//alert( disabled );
}

function unDisableInputs () {
$( select ).prop("disabled", false);
//alert( un disabled );
}
问题回答

暂无回答




相关问题
CSS working only in Firefox

I am trying to create a search text-field like on the Apple website. The HTML looks like this: <div class="frm-search"> <div> <input class="btn" type="image" src="http://www....

image changed but appears the same in browser

I m writing a php script to crop an image. The script overwrites the old image with the new one, but when I reload the page (which is supposed to pickup the new image) I still see the old one. ...

Firefox background image horizontal centering oddity

I am building some basic HTML code for a CMS. One of the page-related options in the CMS is "background image" and "stretch page width / height to background image width / height." so that with large ...

Separator line in ASP.NET

I d like to add a simple separator line in an aspx web form. Does anyone know how? It sounds easy enough, but still I can t manage to find how to do it.. 10x!

热门标签