Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
Не се показва картинката, а кръгът си се показва още...DireWolf каза:CSS:
Код:input[type="radio"] { CSS STYLE }
<script type="text/javascript">
function rbcc(el) {
rbn = el.getElementsByTagName("input")[0].name;
rbn = document.getElementsByName(rbn);
for (i=0;i<rbn.length;i++) {
rbn[i].checked = false;
rbn[i].parentNode.className = "rbu";
}
el.getElementsByTagName("input")[0].checked = true;
el.className = "rbc";
}
</script>
<style type="text/css">
.rbc {width:14px;height:13px;background:url(http://web-tourist.net/userfiles/2/2508.png) no-repeat;cursor:pointer;}
.rbu {width:14px;height:13px;background:url(http://web-tourist.net/userfiles/2/2509.png) no-repeat;cursor:pointer;}
.rbc input,.rbu input {display:none;}
</style>
<form>
<div class="rbc" onclick="rbcc(this)"><input type="radio" name="rb" value="purvi" checked="checked" /></div>
<div class="rbu" onclick="rbcc(this)"><input type="radio" name="rb" value="vtori" /></div>
<div class="rbu" onclick="rbcc(this)"><input type="radio" name="rb" value="treti" /></div>
</form>