延迟显示div [英] display div with delay

查看:122
本文介绍了延迟显示div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://www.daniweb.com/web-development/javascript-dhtml -ajax/threads/76965

在此链接中,当窗口向下滚动时,工具栏会显示.我想知道js代码.
使用的js:jquery-ui-1.8.custom.min.js,jquery.min.js.

http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/76965

In this link when window scroll down,Toolbar display .I Want to know js code.
js used: jquery-ui-1.8.custom.min.js,jquery.min.js.

推荐答案



干得好.下次在问这样的问题之前,请安装
Hi,

Here you go. Next time before asking something like this, install FireBug [^]and try to extract code. It''s easy...
Here is full code you need to achieve this:
<html>
<head>
	<script src="http://code.jquery.com/jquery-latest.js"></script>
	<script type="text/javascript">


(功能(){ var _top =
(document).ready(function(){ var _top =


(窗口).scrollTop();
(window).scrollTop();


这篇关于延迟显示div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆