首先加载jquery(如果你的博客已经加载了,就不要重复加载jquery了)
| | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> |
|
然后新建一个名为huadong的js文件,在里面写入如下内容:
| 1 | | 2 | | 3 | | 4 | | 5 | | 6 | | 7 | | 8 | | 9 | | 10 | | 11 | | 12 | | 13 | | 14 | | 15 | | 16 | | 17 | | 18 | | 19 | | 20 | | 21 | | 22 | | 23 | | 24 | | 25 | | 26 | | 27 | | 28 | | 29 | | 30 | | 31 |
| | jQuery(document).ready(function($) {
| | var s = $('#shangxia').offset().top;
| | $(window).scroll(function() {
| | $("#shangxia").animate({
| | top: $(window).scrollTop() + s + "px"
| | },
| | {
| | queue: false,
| | duration: 500
| | })
| | });
| | $body = (window.opera) ? (document.compatMode == "CSS1Compat" ? $('html') : $('body')) : $('html,body');
| | $('#shang').click(function() {
| | $body.animate({
| | scrollTop: '0px'
| | },
| | 400)
| | });
| | $('#xia').click(function() {
| | $body.animate({
| | scrollTop: $('#footer').offset().top
| | },
| | 400)
| | });
| | $('#comt').click(function() {
| | $body.animate({
| | scrollTop: $('#comments').offset().top
| | },
| | 400)
| | });
| | }); |
|
然后在头部加载huadong.js文件:
| | <script type="text/javascript" src="js/huadong.js"></script> |
|
在头部写下如下代码:
| | <div id="shangxia"><div id="shang"></div><div id="comt"></div><div id="xia"></div></div> |
|
CSS代码,添加到主题的style.css里:
| | #shangxia{position:absolute;top:40%;left:50%;margin-left:-520px;display:block;}
| | #shang{background:url(images/huadong.gif) no-repeat;position:relative;cursor:pointer;height:42px;width:32px;margin:10px 0;}
| | #comt{background:url(images/huadong.gif) no-repeat center -45px;position:relative;cursor:pointer;height:32px;width:32px;margin:10px 0;}
| | #xia{background:url(images/huadong.gif) no-repeat center -78px;position:relative;cursor:pointer;height:42px;width:32px;margin:10px 0;} |
|
所有步骤都完成了,效果出来了吧
1、为什么民营医疗的节日促销活动越来越没有效果?主要来自于不确定性,体现在三方面:1)市场环境在变,而我们仍在刻舟求剑;2)消费者早已司空见惯;3)医院的结构困局仍然没有走出去,我们要搞清楚的不是搞不搞活动,而是我们是否具备了某种竞争优势。
2、思考惯性的力量是多么可怕,它会让我们轻易走不出去。别人用过的招,或者是自己曾经打胜仗的招,不可以轻易再重复。
3、企业发展周期不同,面临市场环境不同,资源配置不同,不能用老一种方法。活着,还是死去,这是一个问题。
Read the rest of this entry »
seo并不但是几个简单的秘诀或者简单发发外链就可以的,做一个合格的seoer你首先你需要调整好自己的心态,因为心态调整好了做起来就不会那么烦躁,seo本来就是一份既苦又乏味的工作。言归正传在这里简单的谈谈自己做seo的一点经验。
一个新站给seoer你要学会做六件事:
一、新站的一个网站架构分析以及链接分析。
二、网站关键词的分析和合作敌手的分析。
三、seoer要对网站流量以及访问来路都要进行分析。
四、seoer还要对网站目录以及网站的页面优化做好分析记录。
五、立式多级离心泵专业的软文撰写,选择好的外链发布平台。
六、seoer要学会和同行进行交流,一份分享十份收获。

西城男孩宣布解散
In a statement posted on their website, they said: "We today announce our plan to go our separate ways after a greatest hits collection this Christmas and a farewell tour next year。
西城男孩在其官网发表声明,“今天我们宣布,在今年圣诞的精选集及明年的告别巡演后,我们将解散。”
Read the rest of this entry »