![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javascript
walk walk
这个作者很懒,什么都没留下…
展开
-
jquery插件jtip的实用修改
jtip插件可以方便作出超酷的提示效果,但功能过于简单,我对其进行了扩展改进: 1.将ajax文件加载方式由href改为rel 2.增加了 鼠标可以移动到弹出层,当鼠标离开时弹出层消失 3.增加了 可以将本页面内某ID的层内容 显示为提示层。比如:显示testdiv 这里是testdiv的内容 当鼠标移动到上边链接时,将显示testdiv层内的内容 以下为jtip代码...2010-03-29 15:50:51 · 207 阅读 · 0 评论 -
js弹出层,鼠标划上弹出,鼠标离开关闭
代码如下: function getElementWidth(objectId) {x = $_(objectId);return x.offsetWidth;} function getElementHeight(objectId) {x = $_(objectId);return x.offsetHeight;} function getAbsoluteLeft(objectId) ...2010-03-29 15:52:10 · 373 阅读 · 0 评论 -
(转)gb2312编码页面post到utf-8页面乱码解决方法
在gb2312页面的form中添加:accept-charset="utf-8" onsubmit="document.charset='utf-8';",如:<form method="post" action="2.php" accept-charset="utf-8" onsubmit="document.charset='utf-8';">这样一来,ie原创 2013-07-25 16:57:14 · 653 阅读 · 0 评论 -
jsonp 跨域
前端 [code="java"] Insert title here $(function(){ /* //简写形式,效果相同 $.getJSON("http://app.example.com/base/json.do?sid=1494&busiId=101&jsonpCallbac...原创 2016-11-04 11:37:33 · 62 阅读 · 0 评论 -
(转)jquery的base64
https://github.com/yckart/jquery.base64.js var a="123"; var b=$.base64.btoa(a); console.log(a===$.base64.atob(b))原创 2017-10-19 14:54:32 · 1126 阅读 · 0 评论