Jquery Tabs: spinner option not working?
作者: claymore 发表于: 2010-01-10 21:32:56
I need an ajax animation while the remote page is loaded in tabs.
I am using
$('#tabs2').tabs({ spinner: ''<img src="../../Content/images/Jquery/spinner.gi'' });
Even $('#tabs2').tabs({ spinner: 'Loading..' }); also doesn't works ...
Though the tab functionality is working but the animation is not working ...
I am using JQuery theme roller files. Your help is much appreciated. Many Thanks
Problem solved. I Put a <span> tag in the tabs. Found the solution in Jquery support discussions. http://docs.jquery.com/Discussion
e.g.
<li><a href="../URL">**<span>Text to display in Tabs</span></a></li>
<li><a href="tabdiv">**<span>Text to display in Tabs</span></a></li>
I am using
$('#tabs2').tabs({ spinner: ''<img src="../../Content/images/Jquery/spinner.gi'' });
Even $('#tabs2').tabs({ spinner: 'Loading..' }); also doesn't works ...
Though the tab functionality is working but the animation is not working ...
I am using JQuery theme roller files. Your help is much appreciated. Many Thanks
Problem solved. I Put a <span> tag in the tabs. Found the solution in Jquery support discussions. http://docs.jquery.com/Discussion
e.g.
<li><a href="../URL">**<span>Text to display in Tabs</span></a></li>
<li><a href="tabdiv">**<span>Text to display in Tabs</span></a></li>
阅读全文...
分类: Ajax | Web Developing
引用: 0
评论: 1
点击: 66
uploadprogress - a jQuery + PHP plugin
作者: claymore 发表于: 2009-05-16 01:35:27
plugin to augment a standard file upload form with transparent background upload and add uploadprogress meter to keep client informed of progress.
一款AJAX上传的jQuery插件,可以查看上传的进度、速度(而且速度很准确)等...
地址: http://nixbox.com/demos/jquery-uploadprogress.php
一款AJAX上传的jQuery插件,可以查看上传的进度、速度(而且速度很准确)等...
地址: http://nixbox.com/demos/jquery-uploadprogress.php
阅读全文...
分类: Ajax | Web Developing
引用: 0
评论: 1
点击: 69
uploadify一个jQuery上传插件
作者: claymore 发表于: 2009-05-15 00:10:23
先说说Uploadify:官方网 http://www.uploadify.com/

支持多文件和单文件的动态上传,可以用于社区类网站异步上传用户头像,论坛类异步上传附件,视频类网站异步上传视频等,用途还真多,这个插件结合了Flash的AS上传,我原来用的基于PHP5+AJAX的脚本没有这个插件来得美观实用。用法简要的写一下:
$("#fileUpload").fileUpload({
'uploader': '/scripts/uploader.swf',
'buttonImg': '/images/browse.png',
'cancelImg': '/images/cancel.png',
'folder': '/files',
'script': '/scripts/php/upload.php'
});
当然这些是九牛之一毛,在这里也说不清楚,毕竟这个插件还在继续开发中。详细用法还是参看uploadify官方的用法和文献:
How to implement
阅读全文...
分类: Javascript | Web Developing
引用: 0
评论: 1
点击: 266
jQuery插件---tooltip(超链接提示,图片提示)
作者: claymore 发表于: 2009-05-15 00:06:24
jQuery - animate(滑块滑动)
作者: claymore 发表于: 2009-04-05 15:58:17
分类: Javascript | Web Developing
引用: 0
评论: 0
点击: 137
关于jQuery的error事件处理
作者: claymore 发表于: 2009-04-04 19:01:53
一般来说在用jQuery进行前端脚本编写的时候常会将要在页面载入之后执行的函数代码这么写:
但是今天在写这个的时候发现一个问题,在对onError事件或者说对jQuery绑定的error事件处理时,将该事件处理脚本放在ready函数中执行时根本不起作用,反复测试不行;然而将error事件的处理脚本放在相关标签的页面之后却能正常进行.......百思不得其解...囧TL...
无奈之下,只得将图片载入错误的脚本放在页面最下面。。。
但是今天在写这个的时候发现一个问题,在对onError事件或者说对jQuery绑定的error事件处理时,将该事件处理脚本放在ready函数中执行时根本不起作用,反复测试不行;然而将error事件的处理脚本放在相关标签的页面之后却能正常进行.......百思不得其解...囧TL...
无奈之下,只得将图片载入错误的脚本放在页面最下面。。。
阅读全文...
分类: Javascript | Web Developing
引用: 0
评论: 1
点击: 470
PHPME_BLOG使用jQuery对页面图象进行缩放
作者: claymore 发表于: 2009-04-04 14:18:21
分类: Related | Web Developing
引用: 0
评论: 0
点击: 33
基于jQuery 常用WEB控件收集[收藏]
作者: claymore 发表于: 2009-02-26 11:21:29
分类: Related | Web Developing
引用: 0
评论: 0
点击: 63
jquery中ajax超时处理
作者: claymore 发表于: 2009-02-19 20:45:53
其实需要注意的是回调函数的几个参数,我们经常用法是回调函数只有一个msg参数,但是在处理超时的时候需要用到第二个参数error。
例:
手册中对于AJAX error参数的说明:
error (Function) : (默认: 自动判断 (xml 或 html)) 请求失败时调用时间。参数:XMLHttpRequest 对象、错误信息、(可选)捕获的错误对象。Ajax 事件。
function (XMLHttpRequest, textStatus, errorThrown) {
// 通常 textStatus 和 errorThrown 之中
// 只有一个会包含信息
this; // 调用本次AJAX请求时传递的options参数
// 通常 textStatus 和 errorThrown 之中
// 只有一个会包含信息
this; // 调用本次AJAX请求时传递的options参数
阅读全文...
分类: Ajax | Web Developing
引用: 0
评论: 1
点击: 313
jQuery实现图层居中
作者: claymore 发表于: 2008-12-28 13:58:11
分类: Javascript | Web Developing
引用: 0
评论: 0
点击: 394















