Description: 网站的内容如有更新的话,总在要在首页表现出来。所以当更新一个地方的时候,总是要同时更新首页。但利用在线自动更新就方便得多啦。以下我们将利用ASP完成这一过程。 一个程序写之前,它的结构要先描绘出来。当结构确定之后,这个程序也已经完成一半了,所差的只是如何用语言去实现它。 根据本站的要求这个自动更新程序的结构(要求)初步定如下: 用数据库以保存所有的更新内容; 在首页上体现出最新更新的10条内容(当然不一定非10条不可啦); 在首页建个链接,可以弹出窗口按分页查看所有更新内容。 还有一个问题是:更新内容以什么方式输出到首页?一是用ASP直接修改首页,但那样可能不是好办法,因为本站的首页较为笨重,而所需更新的地方只是首页的“最新更新”部份,写起来较为复杂,需要在首页上加入标志,再则如果有镜象站点的话还要一个一个更新。二是首页直接用ASP文件,但那样消耗资源较为严重,速度较慢,特别是首页是大家首先要经过的地方,速度不快会影响冲浪者的心情。三是在首页以插入形式加入ASP或JAVA小程序,比较起来当然是客户端JAVA更理想,本程序采用的是自动生成js文件。-website content updated if so, to the total shown on the first page. So when an update local time, must also update Home. But the use of on-line automatic update it more convenient. Below we will use ASP to complete the process. Before I write a procedure, the structure of its first portrayed. When the structure is determined, the process has been completed, half of the difference is how the language used to reach it. According to the requirements of the site automatically update the structure (requirement) is tentatively scheduled as follows : database to keep all the content has been updated; Home on the latest updates to reflect the 10 (of course, not necessarily -- not 10); Home to build the link, a pop-up window by Pagination View all updated. There is also a question : updating conte Platform: |
Size: 21141 |
Author:江夏 |
Hits:
Description: 网站的内容如有更新的话,总在要在首页表现出来。所以当更新一个地方的时候,总是要同时更新首页。但利用在线自动更新就方便得多啦。以下我们将利用ASP完成这一过程。 一个程序写之前,它的结构要先描绘出来。当结构确定之后,这个程序也已经完成一半了,所差的只是如何用语言去实现它。 根据本站的要求这个自动更新程序的结构(要求)初步定如下: 用数据库以保存所有的更新内容; 在首页上体现出最新更新的10条内容(当然不一定非10条不可啦); 在首页建个链接,可以弹出窗口按分页查看所有更新内容。 还有一个问题是:更新内容以什么方式输出到首页?一是用ASP直接修改首页,但那样可能不是好办法,因为本站的首页较为笨重,而所需更新的地方只是首页的“最新更新”部份,写起来较为复杂,需要在首页上加入标志,再则如果有镜象站点的话还要一个一个更新。二是首页直接用ASP文件,但那样消耗资源较为严重,速度较慢,特别是首页是大家首先要经过的地方,速度不快会影响冲浪者的心情。三是在首页以插入形式加入ASP或JAVA小程序,比较起来当然是客户端JAVA更理想,本程序采用的是自动生成js文件。-website content updated if so, to the total shown on the first page. So when an update local time, must also update Home. But the use of on-line automatic update it more convenient. Below we will use ASP to complete the process. Before I write a procedure, the structure of its first portrayed. When the structure is determined, the process has been completed, half of the difference is how the language used to reach it. According to the requirements of the site automatically update the structure (requirement) is tentatively scheduled as follows : database to keep all the content has been updated; Home on the latest updates to reflect the 10 (of course, not necessarily-- not 10); Home to build the link, a pop-up window by Pagination View all updated. There is also a question : updating conte Platform: |
Size: 22528 |
Author:江夏 |
Hits:
Description: 实现在屏幕右下角弹出小窗口效果,可以用作短消息提示-To achieve the lower right corner of the screen small window pop-up effect, can be used as a short message prompts Platform: |
Size: 6144 |
Author:nwu |
Hits:
Description: JavaScript弹出窗口源代码.js本身所带弹出窗口太简陋,本代码弹出窗口有多种效果-JavaScript source code pop-up window. Js bring their own pop-up window is too simple, the code there are several effects of pop-up window Platform: |
Size: 96256 |
Author:paradise |
Hits:
Description: js做的div弹出窗口,方便自己开发的网站弹出框,面向对象编写,具有拓展性。可以拖动等-div js pop-up window to do to facilitate their development of the site pop-up box, write the object-oriented, with expandable. Can drag, etc. Platform: |
Size: 98304 |
Author:史韩 |
Hits:
Description: 用JS弹出登录窗口的源代码,在做登录时比较有用。-JS pop-up login window with the source code, when you log in to do more useful. Platform: |
Size: 2048 |
Author:xiaoming |
Hits:
Description: GenJS是一个Div弹出窗口JS类,简称Gen,兼容当前主流浏览器(Firefox1.5+/IE6+),完全基于纯Html/CSS+JS技术。 主要封装Web常用JS操作:加入收藏夹、设为主页、刷新、复制、Cookie操作、弹出窗口、下来列表、获...
运行环境:html-GenJS JS pop-up window is a Div class, referred to as Gen, compatible with the current major browsers (Firefox1.5+/IE6+), entirely based on pure Html/CSS+ JS technology. Operation of the main package Web Common JS: Add to Favorites, set home page, refresh, copy, Cookie operation, pop-up window, down the list, was ... operating environment: html Platform: |
Size: 23552 |
Author:pudn_20101001 |
Hits:
Description: 拦截弹出窗口,类似与金山网盾的拦截功能全面拦截各种js弹出窗口。-Blocking pop-up window, similar to a small shield Jinshan network fully functional pop-up blocking all js. Platform: |
Size: 5120 |
Author:安定超 |
Hits:
Description: 弹出窗口,
水晶质感,设计细腻,外观漂亮;
兼容ie6/7/8、firefox2/3、Opera;弹出框在ie6下不会被select控件穿透;
无外部css文件,引用Dialog.js即可使用;
-Pop-up window, crystal texture, design, delicate, beautiful appearance compatible ie6/7/8, firefox2/3, Opera pop-up box select the ie6 will not be under control through no external css file, you can use references Dialog.js Platform: |
Size: 81920 |
Author:何伟 |
Hits:
Description: 主要技术:
(1)弹出新窗口时,自动关闭父窗口。
(2)弹出窗口居中显示
(3)从网页对话框中选择头像
(4)应用Ajax技术实现用户名的检测,同时应用ASP实现UTF-8到GB2312的编码问题进行解决。
(5)验证输入的日期格式是否正确
(6)客户端验证输入的Email地址格式是否正确
(7)在ASP中使用ctrl+enter实现表单提交。
(8)解决ASP进行程序开发时遇到的错误。
(9)解决当前用户在不在线的问题,如果在线的话就显示彩色头像,如果不在线就显示灰色的头像。(这个问题不太好解决,浪费我很多时间)
(10)对XML文件节点的读取。
(11)关闭子窗口时刷新父窗口
(12)cookie集合的应用
(13)实现左右菜单的动态添加与删除
(14)JS控制文本框内有值按钮可用,无值按钮为灰色不可用
(15)使用XML实现不刷新页面查询数据
(16)对查询结果进行锁定
主要功能:
(1)实现用户昵称的在线修改
(2)用户登录,应用AJAX实现无刷新的用户名的检测功能。
(3)完成用户密码功能的修改。
(4)好友分组管理操作,框架技术的应用。
(5)让在线的用户置顶显示。
(6)查看用户的详细信息
(7)清楚当前用户的聊天记录
(8)复制当前聊天记录到剪贴板,再对当前记录进行备份。-Technical:
(1) a new window pops up automatically when closing the parent window.
(2) pop-up window is centered
(3) dialog box, select the picture from the web
(4) application of Ajax technology for the detection of the user name, and application of ASP to achieve UTF-8 to GB2312 encoding problem solved.
(5) validate the input date format is correct
(6) client input validation Email address format is correct
(7) in ASP using ctrl+ enter to achieve the form submission.
(8) solution developed in ASP program encountered an error.
(9) to solve the current problem of the user is not online, if online, then it shows color picture, if you do not show the gray line on the head. (This problem is not
Good solution, I wasted a lot of time)
(10) reads the XML document node.
(11) close the child window parent window refresh
(12) cookie collection application
(13) to achieve approximately the dynamic add and delete menu
(14) JS has the value text box control button is Platform: |
Size: 553984 |
Author:宁远夜 |
Hits:
Description: 采用两种弹出窗口实现方式:
window.open()和window.showModalDialog(),并解决了showModalDialog()弹出窗口中列表分页的问题。
提供了三个JS方法:
(1)showWindow(sURL, width, height)
(2)showWindowInPage(pageUrl, params, title, width, height)
(3)openWindow(sURL, title, width, height)
弹出窗口关闭的JS方法:window.close()
示例请参照:demo.html
窗口内分页方法请参照:demoInPage.jsp
(注:项目中使用时需要修改JS文件中,iFrame.jsp页面的路径)-Pop-up achieved in two ways: window.open () and window.showModalDialog (), and solve the showModalDialog () pop-up window a list of paging problem. JS provides three methods: (1) showWindow (sURL, width, height) (2) showWindowInPage (pageUrl, params, title, width, height) (3) openWindow (sURL, title, width, height) pop window closed JS method: window.close () example, please refer to: demo.html window page, refer to: demoInPage.jsp (Note: when used in the project need to modify the JS file in, iFrame.jsp path of the page) Platform: |
Size: 5120 |
Author:联盟 |
Hits:
Description: JS 右下角弹出窗口,简洁,美观,比较好用-JS pop-up window in the lower right corner, simple, elegant, and relatively easy to use Platform: |
Size: 6144 |
Author:lizh |
Hits:
Description: 这是一个基于层的可拖动的JS弹出对话框,点击文字后弹出一个层窗口,可用鼠标按住标题栏拖动,不用的时候可以关闭它。压缩包内含有两个弹层效果,功能类似。不过两具在IE下显示有JS错误,但是功能正常,在火狐下则不报错。两个都是基于createdialog.js,在阅读v2的createdialog函数时请参考v1的布局,此函数生成的窗体布局和v1的是一样的。-This is a layer draggable JS-based pop-up dialog, click on the text layer after a pop-up window, use the mouse to drag and hold the title bar, you can turn it off when not in use. The compressed package containing two bombs layer effects, similar to the function. But when two in IE JS error is displayed, but the function is normal, no error in Firefox. Both are based on createdialog.js, createdialog function of reading v2 v1 Please refer to the layout of the form of this function is generated and the layout is the same as v1. Platform: |
Size: 11264 |
Author:gpudn95 |
Hits:
Description: 一个古老的JS密码保护方法实例,主要是使用JavaScript的prompt方法来弹出输入框实现密码保护与验证,在第一次弹出的窗口中输入用户名,第二次的输入密码,点击确认后就验证了密码,貌似现在都绝种的方法了,仅为了让新手研究JS时参考。-JS password protect an ancient method instance, the main method is to use JavaScript to prompt input box pops up password protection and realization of authentication, enter a user name in the first pop-up window, enter the password a second time, click OK after verification password, seemingly methods are now extinct, and only a reference when JS novice study. Platform: |
Size: 4096 |
Author:npudn72 |
Hits: