📄 xmlpractical5_column2.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
Introduction to Ajax Tutorial
</title>
</head>
<body>
<p class="code">
case "hide_menu":<br />
document.getElementById("eddies").style.visibility
= "hidden";<br />
break;
</p>
<p class="main">
All we are doing with the addition of this case to the
ajaxManager function is first targeting the ul elements by
obtaining the id value of eddie that we set earlier and then
setting its visibility property to hidden.
</p>
<p class="main">
You can see how this works in practice from the following
link:
</p>
<p>
<a href="http://dhtmlnirvana.com/ajax/ajax_tutorial/examples/example5/basicajax4.html" target="_blank" title="vie xml show hide"> View Example</a>
</p>
<p class="main">
Pretty neat huh? And what is cool is that not a lot of additional JavaScript was needed to dynamically manipulate that file. The simpler you can keep things, the better off you will be.
</p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -