文章详情

  • 游戏榜单
  • 软件榜单
关闭导航
热搜榜
热门下载
热门标签
php爱好者> php文档>Display a message or image when a request is in pr

Display a message or image when a request is in pr

时间:2007-06-29  来源:liuxingyuyuni

Often, we want to notify the end user that an operation is in process; to let them know they may need to wait a bit for the operation to finish.  
First, let's define the message, what to do to show the message and what to do to hide the message:
   
and later (in the HTML of the page):
Loading, please wait a moment...
----------
With xajax 0.2.4 (the current release), you can accomplish this with the following javascript code:
   
----------
With xajax 0.5 (the current beta release), you can accomplish this with the following javascript code:
on a global level:
   
on a per call basis:
   
----------
With xajax 0.5, you have more flexibility.  Instead of a single loading message, you can now define a variety of loading messages.  In addition, you can use two or more loading messages simultaneously.
please see this post for a detailed description:
http://community.xajaxproject.org/viewt … 840#p13840


相关阅读 更多 +
排行榜 更多 +
jojo的奇妙冒险手机版下载

jojo的奇妙冒险手机版下载

飞行射击 下载
雪糕工厂 v9.87.13.02 安卓版

雪糕工厂 v9.87.13.02 安卓版

休闲益智 下载
雪糕工厂 v9.87.13.02 安卓版

雪糕工厂 v9.87.13.02 安卓版

休闲益智 下载