百度空间 | 百度首页 
 
查看文章
 
【转】在和讯个人门户的任意位置加入广告的代码
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>

类别:默认分类 | 添加到搜藏 | 浏览() | 评论 (0)
 
最近读者:
 
网友评论:
发表评论:
姓 名:
网址或邮箱: (选填)
内 容:
验证码: 请点击后输入四位验证码,字母不区分大小写
      

     

©2009 Baidu