随笔分类 -  JavaScript

摘要:please see live demo:http://jsbin.com/siyoquva/2/editMarkers - Google Maps JavaScript API v3 — Google ... 阅读全文
posted @ 2014-04-30 11:32 happyu0223 阅读(108) 评论(0) 推荐(0)
摘要:ASP.NET Web Pages framework examples of the Database helper do not include calls to Close or Dispose because the framework itself is designed to call ... 阅读全文
posted @ 2014-04-29 15:06 happyu0223 阅读(181) 评论(0) 推荐(0)
摘要:You can try with the below code for a sliding animation on navigation menuJS BinTest Menu 1Test Menu 2Test Menu 3Test Menu 4Test Menu 5Sample Working ... 阅读全文
posted @ 2014-04-25 16:38 happyu0223 阅读(191) 评论(0) 推荐(0)
摘要:see the codes below:My Java Script code will be ,document.attachEvent("onkeydown", win_onkeydown_handler);function win_onkeydown_handler() { switch... 阅读全文
posted @ 2014-04-25 15:49 happyu0223 阅读(223) 评论(0) 推荐(0)
摘要:Editable header This is an editable div element element. please see live demo:http://jsbin.com/xipupemi/1 阅读全文
posted @ 2014-04-24 13:45 happyu0223 阅读(248) 评论(0) 推荐(0)
摘要:1.获取天气代码http://tianqi.2345.com/plugin/2. 加入到页面中 My JSP 'MyJsp.jsp' starting page http://blog.csdn.net/hello_haozi/article/details/7564223... 阅读全文
posted @ 2014-04-23 16:36 happyu0223 阅读(766) 评论(0) 推荐(0)
摘要:got the answer...this is the pattern ^[A-Za-z0-9\s!#$&#64;%^&*()_+=-`~\\\]\[{}|';:/.,?><] 阅读全文
posted @ 2014-04-23 09:47 happyu0223 阅读(148) 评论(0) 推荐(0)
摘要:var nav = navigator;var module = { Plugins: { list: function() { var list = []; if (nav.plugins) { for (var i = 0, l = nav.plugins.length; i = minVersion; i--) { try ... 阅读全文
posted @ 2014-04-04 17:17 happyu0223 阅读(205) 评论(0) 推荐(0)
摘要:jquery vticker (vertical news ticker)I want to share with you my jquery plugin. I have made this plugin for easy and simple vertical news automatic scrolling. It will calculate height automaticaly, so no styling needed (added an option to set height manually). Just grab it and use it – so simple. Do 阅读全文
posted @ 2014-04-04 15:39 happyu0223 阅读(433) 评论(0) 推荐(0)
摘要:Click Here to Insert function IFAdd() { ifobj = window.frames.iframe1; var e = document.getElementById("DropDownList1"); bookmark = e.options[e.selectedIndex].value; // bookmark = document.getElementById('HiddenField1').value; ... 阅读全文
posted @ 2014-04-02 18:55 happyu0223 阅读(204) 评论(0) 推荐(0)
摘要:AFAIK, this is not possible. You can detect the compatibility mode from JS but setting it is not possible to my knowledge.As for as your problem goes, typically you can use few solutions:If you are using Master pages in your site, add the meta header () in the master page.Similar to #1, if you are u 阅读全文
posted @ 2014-03-27 20:40 happyu0223 阅读(219) 评论(0) 推荐(0)
摘要:You need to escape the backslashes, e.g.,var commandtoRun ="C:\\Documents and Settings\\User\Desktop\\ABCD.exe";Update:This works fine on my machine:var oShell =newActiveXObject("Shell.Application");var commandtoRun ="C:\\Windows\\notepad.exe"; oShell.ShellExecute(comma 阅读全文
posted @ 2014-03-27 17:00 happyu0223 阅读(216) 评论(0) 推荐(0)
摘要:see the demo:http://www.twospy.com/galleriffic/example-3.html#leafDownload latest (release 2.0):Examples: galleriffic-2.0.zip ( ~135 kb )Script only: jquery.galleriffic.js ( ~32 kb )you can refer to the link for details :Galleriffic:A jQuery plugin for rendering rich, fast-performing photo gallerie. 阅读全文
posted @ 2014-03-07 16:34 happyu0223 阅读(137) 评论(0) 推荐(0)
摘要:see live demo:http://jsbin.com/melocoyi/1 阅读全文
posted @ 2014-03-06 14:55 happyu0223 阅读(281) 评论(0) 推荐(0)
摘要:see live demo:http://jsbin.com/melocoyi/1 阅读全文
posted @ 2014-03-06 14:55 happyu0223 阅读(561) 评论(0) 推荐(0)