[隐藏日志]
作者:dulaifasheng 日期:2007-03-01
隐藏横向拉条
作者:dulaifasheng 日期:2008-11-12
li 图标使用.
作者:dulaifasheng 日期:2008-11-09
英文单词自动换行
作者:dulaifasheng 日期:2008-11-09
横向滚动条隐藏的方法
作者:dulaifasheng 日期:2008-11-07
如何隐藏滚动条?
作者:dulaifasheng 日期:2008-11-06
CSS垂直菜单
作者:dulaifasheng 日期:2007-11-15
横向下拉菜单
作者:dulaifasheng 日期:2007-11-07
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
google广告的js调用
作者:dulaifasheng 日期:2007-11-04
用dreamwaver写一个js文件,将google广告的代码粘贴进去:查找替换所有的 " 字符,将其全部换成 \" ,然后查找所有的 / 字符将其换成 \/ 。替换工作结束,然后要做的就是,在每一行的开始地方加上:document.writeln(" 在结尾的地方加上 "); 这样google广告的js文件就做好了。
我的js代码如下(ad.js):
document.writeln("<script type=\"text\/javascript\"><!--");
document.writeln("google_ad_client = \"pub-5781434532031006\";");
document.writeln("google_ad_width = 468;");
document.writeln("google_ad_height = 15;");
document.writeln("google_ad_format = \"468x15_0ads_al_s\";");
document.writeln("google_ad_channel = \"\";");
document.writeln("google_color_border = \"FFFFFF\";");
document.writeln("google_color_bg = \"FFFFFF\";");
document.writeln("google_color_link = \"3FA600\";");
document.writeln("google_color_text = \"000000\";");
document.writeln("google_color_url = \"008000\";");
document.writeln("\/\/--><\/script>");
document.writeln("<script type=\"text\/javascript\"");
document.writeln(" src=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">");
document.writeln("<\/script>");

HTML代码






