firebug只能看到运行后和系统混合的代码,我想看看别人的JavaScript怎么写的改怎么办呢?
还有我看到一个导航做的很不错,不过没研究出来用什么做的,大家帮个忙
http://www.hnhuacheng.com/index.asp,鼠标移动到导航栏里面时,相关项就会移动!!
还有我看到一个导航做的很不错,不过没研究出来用什么做的,大家帮个忙
http://www.hnhuacheng.com/index.asp,鼠标移动到导航栏里面时,相关项就会移动!!
将JS文件的地址输入到地址栏,回车就行了
有的本页面就有JavaScript代码,有的在<script src=""></script>的src中链接着,直接将其复制浏览器地址栏中运行就将js文件弄下来了
这只针对一般情况 对加密的路径你没折了。。
貌似有看到人家用过类似工具 可以将整个网站用的文件都下下来。 js文件也能截下来 但一直没搜到 只看到人家用过。 你所说的这个js 用firebug 应该可以看的到啊
$(document).ready(function() {
$("#menu li a").wrapInner( '<span class="out"></span>' ).append( '<span class="bg"></span>' );
$("#menu li a").each(function() {
$( '<span class="over">' + $(this).text() + '</span>' ).appendTo( this );
});
$("#menu li a").hover(function() {
$(".out", this).stop().animate({'top': '44px'}, 250); // move down - hide
$(".over", this).stop().animate({'top': '0px'}, 250); // move down - show
$(".bg", this).stop().animate({'top': '0px'}, 120); // move down - show
}, function() {
$(".out", this).stop().animate({'top': '0px'}, 250); // move up - show
$(".over", this).stop().animate({'top': '-44px'}, 250); // move up - hide
$(".bg", this).stop().animate({'top': '-45px'}, 120); // move up - hide
});
});效果源码,用的jq