jquery-plugins

jQuery iframeFix on a Sortable

怎甘沉沦 提交于 2019-12-22 00:25:57
问题 On my CMS I have a list of thumbnails (Sortable). The thumbnails work great and now I'm writing a plug-in to drag-them to a tinyMCE window. As the tinyMCE window has an iFrame it doesn't work that well. jQuery has an option for Draggables called iframeFix that works exactly as I need. However that list must be a Sortables. I've looked quite extensively on Google and found no-one with my requirements. Has anyone here on StackOverflow done it? Apply the iframeFix to a Sortables? If not... I'm

load more content from an array using codeigniter

痞子三分冷 提交于 2019-12-22 00:09:30
问题 I am using CodeIgniter. In my controller I am decoding a JSON response and simply displaying the values upon loading a view. I am simply displaying all my content from a JSON array ( no database used ). It is completely an array from which i am rendering the data.I want to autoload the content whilst scrolling. Example: $resultjson = $this->curl->simple_get("http://www.test.com/api/records.php?ak=XXXXXXXX&ts=XXXXXXXX&sig=XXXXXXXX&postano=XXXXXX&count=100"); How can I fetch 10 records when

jQuery .delegate() with a plugin?

回眸只為那壹抹淺笑 提交于 2019-12-22 00:02:38
问题 I am using a plugin named : jkey. Now i want to use the .deligate() with it. The basic syntax of this plugin is : $(document).jkey('a',function(){ jkey.log('You pressed the a key.'); }); QUESTION How do i supply the arguments like in this i want to send the key value 'a' i tried to do this $("#hmm").delegate(".mm","jkey","a",function() { $("#get").html("WOW"); }); but failed 回答1: The #hmm needs to be present at the start and .mm is what is being bound. You also need to give it an event for

dynamic speedmeter javascript or jquery plugin

半世苍凉 提交于 2019-12-21 22:24:53
问题 I want to have dynamic ajax plugin to show a speedmeter on the page. One Idea is that I set a background and rotate the needle. Anyone knows about a related plugin? 回答1: Here are some for your reference http://bernii.github.com/gauge.js/ https://github.com/vjt/canvas-speedometer And lots of more at Drawing a half gauge/speedometer (JavaScript Canvas or Java Swing Example needed) 来源: https://stackoverflow.com/questions/12152105/dynamic-speedmeter-javascript-or-jquery-plugin

Need to combine JQuery files to save load time

那年仲夏 提交于 2019-12-21 21:35:52
问题 I have the following JQuery libraries and I need to combine them in order to fasten up my web pages. Whats the best way and do some of them include the other ones in it, or can I find it some where, minified version that is. JQuery.v1.6.4.js jquery.tools.min.js jquery-ui-1.8.16.custom.min.js jquery.hoverIntent.minified.js jquery.alphanumeric.pack.js jquery.dcmegamenu.1.3.3.js hero_image_slideshow.js Thanks. 回答1: You can use httpcombiner if you are using asp.net. http://archive.msdn.microsoft

Are there any Ajax(Prototype or JQuery Plugin) sample for stackoverflow-like voting?

半腔热情 提交于 2019-12-21 21:27:14
问题 any good ajax samples for implementing voting similar to the up and down buttons of stackoverflow.com 回答1: You create a page for voting like yoursite.com/vote?postid=1234&direction=up that saves the vote in the database. Then you create buttons or links for voting and perform an Ajax request when the user clicks the link: jquery: $.post("vote", { postid: the_id, direction: "up" }) 回答2: You can use this one: http://www.technabled.com/2011/02/pulse-lite-reddit-ajax-up-down-voting.html

Add row in jqgrid

烈酒焚心 提交于 2019-12-21 21:08:04
问题 I am using jqGrid and it's working fine. I have a scenario where I have to add a blank row in jqGgrid instead of a popup to add the row. How can I do it? 回答1: You can use for example addRowData. Look at jQGrid, how to add a new row inside the grid, not via a modal?. Probably the answer Spreadsheet-like inline editing in jqGrid and the demo http://www.ok-soft-gmbh.com/jqGrid/ClientsideEditing5.htm could help you also. 回答2: from the jqgrid demo page, i see this: jQuery("#list7").jqGrid(

Add row in jqgrid

∥☆過路亽.° 提交于 2019-12-21 21:05:11
问题 I am using jqGrid and it's working fine. I have a scenario where I have to add a blank row in jqGgrid instead of a popup to add the row. How can I do it? 回答1: You can use for example addRowData. Look at jQGrid, how to add a new row inside the grid, not via a modal?. Probably the answer Spreadsheet-like inline editing in jqGrid and the demo http://www.ok-soft-gmbh.com/jqGrid/ClientsideEditing5.htm could help you also. 回答2: from the jqgrid demo page, i see this: jQuery("#list7").jqGrid(

jCarousel with unknown content width

主宰稳场 提交于 2019-12-21 20:59:16
问题 I am trying to use jCarousel plugin for jQuery in order to provide my website users with scrollable (horizontal) content. The content I am mentioning is basically user defined <li> elements, styled so that they have a feel and look of a tab. so basically I am trying to achieve the same effect of the tabs in pageflakes.com. As you may imagine, the users are creating tabs and providing tab names by themselves.. jCarousel needs you to specify a fixed width for the content e.g., all their

Help turning jQuery script into a plugin

妖精的绣舞 提交于 2019-12-21 20:47:10
问题 Easy All As I've been learning jQuery lately, I decided to write my own modal window to play videos in, when the video thumbnail is clicked. It all works fine, but I'm just wondering how could I turn it into a plugin, so I could use it on different pages with different parameters etc. I read the documentation, and a few tutorials, but I can't seem to get it working. My basic code is as follows: <script type="text/javascript"> var $j = jQuery.noConflict(); $j(document).ready(function(){ // Add