查看文章 |
【转】在和讯个人门户的任意位置加入广告的代码
2009年05月02日 星期六 07:52
下面所说的代码都是加在自定义html中。
oο甜櫁di`\ 宝贝博客 在加入代码的过程中需要注意的问题及具体的参数设置可以看我的这篇文章: http://hexun.com/lebabbs 一、在个人门户的头部加入广告的代码: 1.加在头部的左边: <div id="headBanner" name="headBanner" style="left: 0px; POSITION: absolute; TOP: 0px; width: 957px; height: 220px;"> 在这里加入广告代码 </div> 2.加在头部的中间: <div id="headBanner" name="headBanner" style="center: 0px; POSITION: absolute; TOP: 0px; width: 957px; height: 220px;"> 在这里加入广告代码 </div> 1.加在头部的右边: <div id="headBanner" name="headBanner" style="right: 0px; POSITION: absolute; TOP: 0px; width: 957px; height: 220px;"> 在这里加入广告代码 </div> 二、在下方的主体位置加入广告的代码: 注意:以下广告代码由『醉饮儒林的自定义栏目设置工具 V1.0』自动生成。 1.加在左边的代码: <script language="javascript" src="http://shequ2.tool.hexun.com/6707296/my.css"></script> <div id="SelfPane5HiddenDiv" style="display: none;"> 在这里加入广告代码 </div> <script language="javascript"> /* 以下代码负责创建版面 */ function MyCreate() { Create_LeftPanel(0, "SelfPane1", "这里自定义是模块的标题", GetPanelInnerHTML("SelfPane5HiddenDiv")); ResetInnerHeight(); } setTimeout("MyCreate()", 2800); </script> 2.加在中间的代码: <script language="javascript" src="http://shequ2.tool.hexun.com/6707296/my.css"></script> <div id="SelfPane5HiddenDiv" style="display: none;"> 在这里加入广告代码 </div> <script language="javascript"> /* 以下代码负责创建版面 */ function MyCreate() { Create_MainPanel(0, "SelfPane2", "这里自定义是模块的标题", GetPanelInnerHTML("SelfPane5HiddenDiv")); ResetInnerHeight(); } setTimeout("MyCreate()", 2800); </script> 3.加在右边的代码: <script language="javascript" src="http://shequ2.tool.hexun.com/6707296/my.css"></script> <div id="SelfPane5HiddenDiv" style="display: none;"> 在这里加入广告代码 </div> <script language="javascript"> /* 以下代码负责创建版面 */ function MyCreate() { Create_RightPanel(0, "SelfPane3", "这里自定义是模块的标题", GetPanelInnerHTML("SelfPane5HiddenDiv")); ResetInnerHeight(); } setTimeout("MyCreate()", 2800); </script> |
最近读者: