div的visibility可以控制div的显示和隐藏,但是隐藏后页面显示空白
style="visibility: none;"
document.getElementById("typediv1").style.visibility="hidden";//隐藏
document.getElementById("typediv1").style.visibility="visible";//显示
通过设置display属性可以使div隐藏后释放占用的页面空间,如下
style="display: none;"
document.getElementById("typediv1" ...
string nl2br (string $string)
说明:将换行符用 <br/>代替
范例:<?php
echo nl2br("foo isn't\n bar");
?>
将输出:
foo isn't<br />
bar
string htmlspecialchars ( string $string [, int $quote_style [, string $charset [, bool $double_encode ]]] )
说明:将特殊字符转成 HTML 的字符串格式 ( &....; )。最常用到的场合可能就是处理客户留言的留言版了 ...
1.将下载的php的zip包解压缩到c:\php
2.默认安装apache2.2.4后,安装目录为:C:\Program Files\Apache Software Foundation\Apache2.2
3.按照php.net网站的设置方法(http://www.php.net/manual/en/install.windows.apache2.php)将php做为模块对apache进行配置:
# For PHP 4 do something like this:
LoadModule php4_module "c:/php/php4apache2.dll"
# Don't ...
- 浏览: 7735 次
- 性别:

- 来自: 北京

- 详细资料
搜索本博客
最近加入圈子
链接
最新评论
-
Spring2结合DWR2的用户注 ...
javaprograms看看是不是你的dwr的包的版本不对呢
-- by lveyo -
Spring2结合DWR2的用户注 ...
哈哈,好啊
-- by kjj -
Spring2结合DWR2的用户注 ...
严重: Context initialization failed org.sp ...
-- by javaprograms -
innerHTML的性能问题
hax我看了你的分析文章,我也是用到的时候才发现老外的那篇文章的,也没想去研究为 ...
-- by lveyo -
innerHTML的性能问题
对于返回的 element 使用后是不是需要手动的delete掉? 否则会不会有 ...
-- by myreligion






评论排行榜