如何在Jquery Mobile中增加复选框的高度和宽度 [英] How to increase height and width of checkbox in Jquery Mobile

查看:97
本文介绍了如何在Jquery Mobile中增加复选框的高度和宽度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Iam使用Jquery mobile 1.3.2。



我需要增加复选框的高度和宽度



是否可以增加高度和宽度?



如果是,如何???



为我节省更多时间。





请帮助我..

解决方案

以下是如何创建一个独立于浏览器的自定义复选框控件。

创建一组图像并存储在服务器上,每个状态一个:选中,取消选中,禁用(禁用选中) ),可以添加更多状态来显示不确定状态。使用< img src...> 显示控件中的图像。处理单击和空格键按下以从状态进入状态,启用/禁用操作。作为回应,相应地更改 img 元素的图像。



-SA

Iam Using Jquery mobile 1.3.2 .

I need to increase the height and width of checkbox

Is it possible to increase height and width??

If Yes HOW???

Killing more time for me.


Please help me..

解决方案

Here is the idea how to make a custom browser-independent check box control.
Create a set of images and store on the server, one per state: checked, unchecked, disabled (disabled checked), can add more state to show indeterminate states. Use <img src"..."> to show the image in your control. Handle click and space key press to go from state to state, enable/disable operation. In response, change the image of the img element accordingly.

—SA


这篇关于如何在Jquery Mobile中增加复选框的高度和宽度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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