1、廣力雲投票系統怎麼設計投票風格和界面啊?
廣力雲投票界面有多款風格模板,不需要自己再花費時間單獨設計。
2、投票網頁選項太多應怎麼設計?
投票完全可以放在第一頁面上,那些小圖標可以利用翻頁的效果實現,不會佔用很大的地方
3、您好 能幫我設計一個 微信投票頁面的源代碼嗎?
這個自己就可以做啊,注冊個微信公眾號,隨便弄,很簡單的
4、用HTML設計一個5選4個投票界面,但是怎麼整都搞不定,我是初學者,求指導
1.box1.form.checked,你查找元素的方法錯了;
2.</br>雖然可以用,但是也不對,應該是<br/>
3.<h1>標簽應該在Body裡面
<!DOCTYPE html>
<html>
<head>
<title>5選4</title>
<script type="text/javascript">
function count() {
box1 = form.box1.checked;
box2 = form.box2.checked;
box3 = form.box3.checked;
box4 = form.box4.checked;
box5 = form.box5.checked;
result = (box1 ? 1 : 0) + (box2 ? 1 : 0) + (box3 ? 1 : 0) + (box4 ? 1 : 0) + (box5 ? 1 : 0);
if (result > 4) {
alert("你只能選4個哦"); box5.checked = false
}
}
</script>
</head>
<body>
<h1>
候選人</h1>
<form name="form">
<input type="checkbox" name="box1">甲<br />
<input type="checkbox" name="box2">乙<br />
<input type="checkbox" name="box3">丙<br />
<input type="checkbox" name="box4">丁<br />
<input type="checkbox" name="box5">戊<br />
<input type="button" value="提交" onclick="count()"></form>
</body>
</html>