网站前端开发的需求分析 |
前端电商网站开发周期 |
前端开发动态效果图网站 |
<script>
//点击改变图片大小,再次点击还原
$(function() {
$(‘.listbox-pic img’).click(function() {
var width = $(this).width()
if (width == 200) {
$(this).width(600)
$(this).height(400)
} else {
$(this).width(200)
$(this).height(200)
}
})
})
//点击显示or隐藏div
var flag = false
function displayDiv() {
var div = document.getElementById(‘commentpart’)
if (flag) div.style.display = ‘block’
else div.style.display = ‘none’
flag = !flag
}
</script>
前端开发参考的网站 |
关于网站前端开发的论文 |
web前端开发网站模板下载 |
» 本文来自:前端开发者 » 《前端开发图片点击放大/还原》
» 本文链接地址:https://www.rokub.com/7461.html
» 您也可以订阅本站:https://www.rokub.com
评论前必须登录!
注册