通信网络技术应用
职业:通信业 个性介绍:知识共享,欢迎交流 *专业决定高度,勤勉成就人生* QQ:45300570 www.good-net.net.cn
你好,请教顶部阿里妈妈和google广告是如何加上去的,请问是如何修改模板?使用 "HTML类型模板"或"XSLT类型模板"?谢谢!
你有没有在linux环境下用pvm成功添加其他计算机并行工作。 可以的话跟我分享一下你的经验好么? qq570630081 我的问题我blog上面有,还望你垂临。谢谢
Blog作者的回复: 不好意,这个我还没有用过,你可以查下资料试试看。
你好!我想咨询一下您一个问题!在你CU的右侧悬浮的广告,怎么能让漂浮呢!能告诉我一下代码吗? 谢谢!
Blog作者的回复: 演示参看 [url]http://wwwwww.cublog.cn[/url] [code]<div id="floatdiv" style=" position:absolute; width:250px;height:75px;left:0px;top:0px; padding:0px; border:none;"> <!-- 广告开始 --> <div style="background:#000000 url(/forum/images/vista/gradients/gradient_tcat.gif) repeat-x scroll left top; text-align:right;"><a href="javascript:closeAd();" style="color:white;">关闭</a></div> <script type="text/JavaScript"> alimama_pid="mm_10233447_355647_1397281"; alimama_titlecolor="0000FF"; alimama_descolor ="000000"; alimama_bgcolor="FFFFFF"; alimama_bordercolor="E6E6E6"; alimama_linkcolor="008000"; alimama_bottomcolor="FFFFFF"; alimama_anglesize="0"; alimama_bgpic="0"; alimama_icon="0"; alimama_sizecode="22"; alimama_width=120; alimama_height=240; alimama_type=2; </script> <script src="http://p.alimama.com/inf.js" type=text/javascript> </script> <!-- 广告结束--> </div> <script type="text/javascript"><!-- var target_x = -270; var target_y = 280; var has_inner = typeof(window.innerWidth) == 'number'; var has_element = document.documentElement && document.documentElement.clientWidth; var fm_id='floatdiv'; var floating_menu = document.getElementById ? document.getElementById(fm_id) : document.all ? document.all[fm_id] : document.layers[fm_id]; var fm_shift_x, fm_shift_y, fm_next_x, fm_next_y; function closeAd(){ floating_menu.style.display="none"; } function move_menu() { if (document.layers) { floating_menu.left = fm_next_x; floating_menu.top = fm_next_y; } else { floating_menu.style.left = fm_next_x + 'px'; floating_menu.style.top = fm_next_y + 'px'; } } function compute_shifts() { fm_shift_x = has_inner ? pageXOffset : has_element ? document.documentElement.scrollLeft : document.body.scrollLeft; if (target_x < 0) fm_shift_x += has_inner ? window.innerWidth : has_element ? document.documentElement.clientWidth : document.body.clientWidth; fm_shift_y = has_inner ? pageYOffset : has_element ? document.documentElement.scrollTop : document.body.scrollTop; if (target_y < 0) fm_shift_y += has_inner ? window.innerHeight : has_element ? document.documentElement.clientHeight : document.body.clientHeight; } function float_menu() { var step_x, step_y; compute_shifts(); step_x = (fm_shift_x + target_x - fm_next_x) * .07; if (Math.abs(step_x) < .5) step_x = fm_shift_x + target_x - fm_next_x; step_y = (fm_shift_y + target_y - fm_next_y) * .07; if (Math.abs(step_y) < .5) step_y = fm_shift_y + target_y - fm_next_y; if (Math.abs(step_x) > 0 || Math.abs(step_y) > 0) { fm_next_x += step_x; fm_next_y += step_y; move_menu(); } setTimeout('float_menu()', 20); }; compute_shifts(); if (document.layers) { // Netscape 4 cannot perform init move // when the page loads. fm_next_x = 0; fm_next_y = 0; } else { fm_next_x = fm_shift_x + target_x; fm_next_y = fm_shift_y + target_y; move_menu(); } float_menu(); //--></script>[/code] 把你需要的内容替换以下就可以了,支持广告代码。你可以试以下。
内容真的太棒了!
hao,非常好!
太好了
不错 ,多来来
内容不错,以后多来,呵呵!
太好了啊
推荐下..
狂顶ing...
nihao