百度导航代码(求网址导航搜索代码.带提示框的那种!)

:暂无数据 2026-10-02 15:30:02 :0

百度导航代码(求网址导航搜索代码.带提示框的那种!)

大家好,关于百度导航代码很多朋友都还不太明白,不过没关系,因为今天小编就来为大家分享关于求网址导航搜索代码.带提示框的那种!的知识点,相信应该可以解决大家的一些困惑和问题,如果碰巧可以解决您的问题,还望关注下本站哦,希望对各位有所帮助!

本文目录

求网址导航搜索代码.带提示框的那种!

是用在网站中吗?直接嵌入网站的代码中就可以了。

《script type=’text/javascript’》
alimama_pid=’mm_12474806_0_0’;
alimama_type=’g’;
alimama_tks={};
alimama_tks.style_i=2;
alimama_tks.lg_i=1;
alimama_tks.w_i=290;
alimama_tks.h_i=57;
alimama_tks.btn_i=1;
alimama_tks.txt_s=’’;
alimama_tks.hot_i=1;
alimama_tks.hc_c=’#999999’;
alimama_tks.c_i=0;
alimama_tks.cid_i=0;
《/script》
《script type=’text/javascript’ src=’

百度搜索引擎:

140*75

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“140“ height=“75“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=105&bgcr=ffffff&urlcr=0000ff&tbsz=80&defid=2“》
《/iframe》

200*30

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“200“ height=“30“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=102&bgcr=ffffff&urlcr=0000ff&tbsz=80&defid=2“》
《/iframe》

360*40

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“360“ height=“40“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=221&bgcr=ffffff&urlcr=0000ff&tbsz=130&defid=2“》
《/iframe》

360*60

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“360“ height=“60“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=222&bgcr=ffffff&urlcr=0000ff&tbsz=210&defid=2&kwgp=0“》
《/iframe》

400*90

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“400“ height=“90“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=242&bgcr=ffffff&ftcr=000000&urlcr=0000ff&tbsz=335&sropls=1,2,3,4,5,6&defid=2&kwgp=0“》
《/iframe》

468*40

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“468“ height=“40“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=107&bgcr=ffffff&urlcr=0000ff&tbsz=165&sropls=1,2,3,4,5,6,7,9,10&defid=2“》
《/iframe》

468*60

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“468“ height=“60“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=106&bgcr=ffffff&urlcr=0000ff&tbsz=230&sropls=1,2,3,4,5,6,7,9,10&defid=2&kwgp=0“》
《/iframe》

600*40

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“600“ height=“40“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=225&bgcr=ffffff&urlcr=0000ff&tbsz=230&defid=2“》
《/iframe》

600*75

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“600“ height=“75“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=261&bgcr=ffffff&ftcr=000000&urlcr=0000ff&tbsz=265&sropls=1,2,3,4,5,6,7,9,10,99&insiteurl=&defid=99&kwgp=0“》
《/iframe》

670*40

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“670“ height=“40“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=103&bgcr=ffffff&urlcr=0000ff&tbsz=230&sropls=1,2,3,4,5,6,7,9,10&defid=2“》
《/iframe》

960*40

代码:《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“960“ height=“40“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=301&bgcr=ffffff&ftcr=000000&urlcr=0000ff&tbsz=260&sropls=1,2,3,4,5,6&defid=2“》
《/iframe》

960*60 - 1

代码: 《iframe id=“baiduframe“ marginwidth=“0“ marginheight=“0“ scrolling=“no“
framespacing=“0“ vspace=“0“ hspace=“0“ frameborder=“0“ width=“960“ height=“60“
src=“http://unstat.baidu.com/bdun.bsc?tn=zjw189_pg&cv=0&cid=1187741&csid=321&bgcr=ffffff&ftcr=000000&urlcr=0000ff&tbsz=360&sropls=1,2,3,4,5,6&defid=2“》
《/iframe》

960*60 - 2

有关百度空间导航代码的问题,拜托!

这个:
#tab{top:310px:left:5:background:none}

改为:
#tab{left:20px;top:310px:left:5:background:none}

百百度百科右侧导航滚动代码

function DirectoryNav($h,config){

this.opts = $.extend(true,{

scrollThreshold:0.5,    //滚动检测阀值 0.5在浏览器窗口中间部位

scrollSpeed:700,        //滚动到指定位置的动画时间

scrollTopBorder:500,    //滚动条距离顶部多少的时候显示导航,如果为0,则一直显示

easing: ’swing’,        //不解释

delayDetection:200,     //延时检测,避免滚动的时候检测过于频繁

scrollChange:function(){}

},config);

this.$win = $(window);

this.$h = $h;

this.$pageNavList = ““;

this.$pageNavListLis =““;

this.$curTag = ““;

this.$pageNavListLiH = ““;

this.offArr = ;

this.curIndex = 0;

this.scrollIng = false;

this.init();

}

DirectoryNav.prototype = {

init:function(){

this.make();

this.setArr();

this.bindEvent();

},

make:function(){

//生成导航目录结构,这是根据需求自己生成的。如果你直接在页面中输出一个结构那也挺好不用 搞js

$(“body“).append(’《div class=“directory-nav“ id=“directoryNav“》《ul》《/ul》《span class=“cur-tag“》《/span》《span class=“c-top“》《/span》《span class=“c-bottom“》《/span》《span class=“line“》《/span》《/div》》’);

var $hs = this.$h,

$directoryNav = $(“#directoryNav“),

temp = ,

index1 = 0,

index2 = 0;

$hs.each(function(index){

var $this = $(this),

text = $this.text();

if(this.tagName.toLowerCase()==’h2’){

index1++;

if(index1%2==0) index2 = 0;

temp.push(’《li class=“l1“》《span class=“c-dot“》《/span》’+index1+’. 《a class=“l1-text“》’+text+’《/a》《/li》’);

}else{

index2++;

temp.push(’《li class=“l2“》’+index1+’.’+index2+’ 《a class=“l2-text“》’+text+’《/a》《/li》’);

}

});

$directoryNav.find(“ul“).html(temp.join(““));

//设置变量

this.$pageNavList = $directoryNav;

this.$pageNavListLis = this.$pageNavList.find(“li“);

this.$curTag = this.$pageNavList.find(“.cur-tag“);

this.$pageNavListLiH = this.$pageNavListLis.eq(0).height();

if(!this.opts.scrollTopBorder){

this.$pageNavList.show();

}

},

setArr:function(){

var This = this;

this.$h.each(function(){

var $this = $(this),

offT = Math.round($this.offset().top);

This.offArr.push(offT);

});

},

posTag:function(top){

this.$curTag.css({top:top+’px’});

},

ifPos:function(st){

var offArr = this.offArr;

//console.log(st);

var windowHeight = Math.round(this.$win.height() * this.opts.scrollThreshold);

for(var i=0;i《offArr.length;i++){

if((offArr[i] - windowHeight) 《 st) {

var $curLi = this.$pageNavListLis.eq(i),

tagTop = $curLi.position().top;

$curLi.addClass(“cur“).siblings(“li“).removeClass(“cur“);

this.curIndex = i;

this.posTag(tagTop+this.$pageNavListLiH*0.5);

//this.curIndex = this.$pageNavListLis.filter(“.cur“).index();

this.opts.scrollChange.call(this);

}

}

},

bindEvent:function(){

var This = this,

show = false,

timer = 0;

this.$win.on(“scroll“,function(){

var $this = $(this);

clearTimeout(timer);

timer = setTimeout(function(){

This.scrollIng = true;

if($this.scrollTop()》This.opts.scrollTopBorder){

if(!This.$pageNavListLiH) This.$pageNavListLiH = This.$pageNavListLis.eq(0).height();

if(!show){

This.$pageNavList.fadeIn();

show = true;

}

This.ifPos( $(this).scrollTop() );

}else{

if(show){

This.$pageNavList.fadeOut();

show = false;

}

}

},This.opts.delayDetection);

});

this.$pageNavList.on(“click“,“li“,function(){

var $this = $(this),

index = $this.index();

This.scrollTo(This.offArr[index]);

})

},

scrollTo: function(offset,callback) {

var This = this;

$(’html,body’).animate({

scrollTop: offset

}, this.opts.scrollSpeed, this.opts.easing, function(){

This.scrollIng = false;

//修正弹两次回调 蛋疼

callback && this.tagName.toLowerCase()==’body’ && callback();

});

}

};

//实例化

var directoryNav = new DirectoryNav($(“h2,h3“),{

scrollTopBorder:0   //滚动条距离顶部多少的时候显示导航,如果为0,则一直显示

});

百度空间的导航栏代码是什么

去不掉的,这个是空间默认保留的部分
要隐藏的话只要把它的字体颜色改成背景的颜色或直接改成font-color:no就可以了
要改的话就是

#tab a.on,#tab a.on:link,#tab a.on:visited TAB选中状态{margin-top:3px;border-left:1px solid #FFFFFF;border-right:1px solid #FFFFFF;border-top:1px solid #FFFFFF;line-height:19px;background-color:#F3F1F1;color:#197CAE;font-size:14px}
#tab span TAB与TAB之间的分割符“|”{color:#FFFFFF;font-size:14px}
#tab a:link TAB未选中状态{color:#FFFFFF;text-decoration:none;font-size:14px}
#tab a:visited{color:#FFFFFF;text-decoration:none;font-size:14px}
#tab2 设置TAB菜单主体{background:#DAE9F5}
#tab2 span TAB选中状态{color:#000000;font-size:12px;font-weight:bold}
#tab2 a TAB未选中状态{font-size:12px}

这几行里面有font项的全部改成无色或背景色

显示导航的代码

我给LZ提供的是最简单实用的代码
免费导航代码 共8款
心爱花藤:javascript:window.top.space_addItem(13,9114,0,0,200,600,0); (推荐)
摘星 javascript:window.top.space_addItem(13,5145,0,0,200,600,0); (很不错!)
流金岁月 javascript:window.top.space_addItem(13,5330,0,0,200,600,0); (很不错!)
深海奥妙 javascript:window.top.space_addItem(13,5003,0,0,200,600,0);
竖着的免费导航:javascript:window.top.space_addItem(13,1,100,80,0,0,94); (换个角度更精彩!)
睡美人竖向导航:(很漂亮哦) javascript:window.top.space_addItem(13,9758,0,0,200,600,0);
粉可爱BUG空导航:javascript:window.top.space_addItem(13,4332,0,0,600,200,0); (就是把导航给隐掉了!)
西瓜导航 javascript:window.top.space_addItem(13,4384,0,0,150,700,0);

以上就是我们为大家找到的有关“百度导航代码(求网址导航搜索代码.带提示框的那种!)”的所有内容了,希望可以帮助到你。如果对我们网站的其他内容感兴趣请持续关注本站。

百度导航代码(求网址导航搜索代码.带提示框的那种!)

本文编辑:admin

更多文章:


dropdownlist 绑定(DropDownList 绑定所有项 并 显示指定项)

dropdownlist 绑定(DropDownList 绑定所有项 并 显示指定项)

本篇文章给大家谈谈dropdownlist 绑定,以及DropDownList 绑定所有项 并 显示指定项对应的知识点,希望对各位有所帮助,不要忘了收藏本站喔。

2026年10月11日 08:50

协方差计算公式(协方差的计算公式)

协方差计算公式(协方差的计算公式)

这篇文章给大家聊聊关于协方差计算公式,以及协方差的计算公式对应的知识点,希望对各位有所帮助,不要忘了收藏本站哦。

2026年10月11日 08:10

易语言网页api接口怎么调用(易语言,怎么读取网页json的api)

易语言网页api接口怎么调用(易语言,怎么读取网页json的api)

本篇文章给大家谈谈易语言网页api接口怎么调用,以及易语言,怎么读取网页json的api对应的知识点,文章可能有点长,但是希望大家可以阅读完,增长自己的知识,最重要的是希望对各位有所帮助,可以解决了您的问题,不要忘了收藏本站喔。

2026年10月11日 08:00

majority of(the majority of 和 a majority of的区别以及用法例句)

majority of(the majority of 和 a majority of的区别以及用法例句)

这篇文章给大家聊聊关于majority of,以及the majority of 和 a majority of的区别以及用法例句对应的知识点,希望对各位有所帮助,不要忘了收藏本站哦。

2026年10月11日 07:40

汉字机内码查询表(1个汉字的机内码是几位谢谢)

汉字机内码查询表(1个汉字的机内码是几位谢谢)

大家好,关于汉字机内码查询表很多朋友都还不太明白,不过没关系,因为今天小编就来为大家分享关于1个汉字的机内码是几位谢谢的知识点,相信应该可以解决大家的一些困惑和问题,如果碰巧可以解决您的问题,还望关注下本站哦,希望对各位有所帮助!

2026年10月11日 07:20

promote翻译(英语翻译倡导怎么说)

promote翻译(英语翻译倡导怎么说)

其实promote翻译的问题并不复杂,但是又很多的朋友都不太了解英语翻译倡导怎么说,因此呢,今天小编就来为大家分享promote翻译的一些知识,希望可以帮助到大家,下面我们一起来看看这个问题的分析吧!

2026年10月11日 06:30

用手机如何导航?开车用手机导航哪个软件最好

用手机如何导航?开车用手机导航哪个软件最好

今天给各位分享用手机如何导航的知识,其中也会对用手机如何导航进行解释,如果能碰巧解决你现在面临的问题,别忘了关注本站,现在开始吧!

2026年10月11日 06:20

多线程技术有什么用(多线程有什么作用)

多线程技术有什么用(多线程有什么作用)

其实多线程技术有什么用的问题并不复杂,但是又很多的朋友都不太了解多线程有什么作用,因此呢,今天小编就来为大家分享多线程技术有什么用的一些知识,希望可以帮助到大家,下面我们一起来看看这个问题的分析吧!

2026年10月11日 05:40

another time(another time和other time的区别)

another time(another time和other time的区别)

大家好,another time相信很多的网友都不是很明白,包括another time和other time的区别也是一样,不过没有关系,接下来就来为大家分享关于another time和another time和other time的区

2026年10月11日 05:00

java开发工具包jdk(JDK是什么意思)

java开发工具包jdk(JDK是什么意思)

其实java开发工具包jdk的问题并不复杂,但是又很多的朋友都不太了解JDK是什么意思,因此呢,今天小编就来为大家分享java开发工具包jdk的一些知识,希望可以帮助到大家,下面我们一起来看看这个问题的分析吧!

2026年10月11日 04:50

最近更新

repercussions(都是余波,repercussions和aftermath有什么区别啊)
2026-10-11 09:00:05 浏览:0
dropdownlist 绑定(DropDownList 绑定所有项 并 显示指定项)
2026-10-11 08:50:04 浏览:0
majority of(the majority of 和 a majority of的区别以及用法例句)
2026-10-11 07:40:02 浏览:0
热门文章

标签列表