ad.htm 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. <!DOCTYPE html>
  2. <!-- saved from url=(0078)http://blog.csdn.net/common/ad.html?t=12&containerId=ad_commend&frmId=ad_frm_2 -->
  3. <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <title>CSDN Ad</title>
  5. <style type="text/css">
  6. body { margin:0px; padding:0px;}
  7. </style>
  8. <script src="jquery.js" type="text/javascript"></script>
  9. </head>
  10. <body>
  11. <div id="div1"><style type="text/css">
  12. ul { margin:0px; padding:0 4px 0 0; }
  13. ul, x:-moz-any-link, x:default { width:90%; }
  14. ul li { padding:3px 0px;}
  15. a { font-size:12px; text-decoration:none; color:#006699; }
  16. a:hover { color:#000; }
  17. </style>
  18. <ul>
  19. <li><a href="http://blog.csdn.net/kikitamoon/article/details/39288671" target="_blank">* ArcGIS 构建3D动画方法</a></li>
  20. <li><a href="http://blog.csdn.net/qinyuanpei/article/details/39185195" target="_blank">* Unity3D游戏开发之截屏保存精彩瞬间</a></li>
  21. <li><a href="http://blog.csdn.net/harrymeng/article/details/39311981" target="_blank">* 大数据让生活更加糟糕</a></li>
  22. <li><a href="http://blog.csdn.net/pleasecallmewhy/article/details/39321255" target="_blank">* 用Swift开发一个TODO应用</a></li>
  23. <li><a href="http://blog.csdn.net/shulianghan/article/details/39269163" target="_blank">* ActionBar 样式详解 -- 样式 主题 简介 Actionbar 的 icon logo 标题 菜单样式修改</a></li>
  24. <li><a href="http://blog.csdn.net/candycat1992/article/details/39315065" target="_blank">* 使用Unity Render Textures实现画面特效——画面特效中的亮度、饱和度和对比度</a></li>
  25. </ul></div>
  26. <script type="text/javascript">
  27. window.onload = function () {
  28. if (document.domain != 'blog.csdn.net') {
  29. document.domain = "csdn.net";
  30. }
  31. //这种给广告区域赋值的方式,对于有些JS广告不能完美的显示
  32. //top.document.getElementById('ad_commend').innerHTML = document.getElementById('div1').innerHTML;
  33. var h = document.body.offsetHeight + 2;
  34. setTimeout(function () {
  35. if (h > 800) h = document.getElementById('div1').offsetHeight + 4;
  36. try { top.document.getElementById('ad_frm_2').style.height = h + 'px'; }
  37. catch (err) { }
  38. }, 100);
  39. };
  40. $(function() {
  41. $("#div1 a").click(function() {
  42. top._gaq.push(['_trackEvent', 'function', 'onclick', 'blog_articles_tuijianwenzhang']);
  43. });
  44. });
  45. </script>
  46. </body></html>