2013-11-26 55 views
1

我對Android應用程序使用jQuery移動,PhoneGap的工作中,我有形式的本地看,我需要做的無線電元件是原生的人並不像按鈕這樣 [1]: http://i.stack.imgur.com/YKEGa.png ,我這樣做,通過增加數據角色=「選擇圈子」,「無」,但無線電尺寸太小,我怎麼可以放大收音機大小?在jQuery Mobile的單選按鈕

請幫我,

在此先感謝。

+0

@Omar我該怎麼辦呢?你能幫我嗎? – user

+0

選中此http://www.hongkiat.com/blog/css3-checkbox-radio/ – Omar

回答

1

如你願意,你可以基本樣式的字段。例如,下面的主題具有您所期望的風格。

http://driftyco.github.io/graphite/

<fieldset data-role="controlgroup" data-type="horizontal"> 
    <legend>Choose a pet:</legend> 
    <input type="radio" name="radio-choice" id="radio-choice-1" value="choice-1" checked="checked" /> 
    <label for="radio-choice-1">Cat</label> 

    <input type="radio" name="radio-choice" id="radio-choice-2" value="choice-2" /> 
    <label for="radio-choice-2">Dog</label> 

    <input type="radio" name="radio-choice" id="radio-choice-3" value="choice-3" /> 
    <label for="radio-choice-3">Hamster</label> 

    <input type="radio" name="radio-choice" id="radio-choice-4" value="choice-4" /> 
    <label for="radio-choice-4">Lizard</label> 
</fieldset> 
+0

我都稱呼他們爲本地,其實我需要的是擴大規模電臺「我們檢查了一圈」。 – user

+0

@user這可能是一種選擇。另一種選擇是製作自己的風格。 – Omar