#2
林月儿2018-07-01 09:44
|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<script src="jquery-3.3.1.js" type="text/javascript"></script>
<script type="text/javascript">
$("#show").click(
function()
{
$("#img").show(400);
}
);
$("#hide").click(
function()
{
$("img").hide(400);
}
);
</script>
</head>
<body>
<input type="button" value="show" id="show"/>
<input type="button" value="hide" id="button"/>
<img id="img" src="glaring/1.jpg" width=500 height=500 />
</body>
</html>