Columns Not Lining Up
In my table the header portion is not resizing at all when the table body resizes. However, if I put an extra column in the header the header will resize with the body but then I get a js error undefied is null or not an object line 669 and the verticle scroll does not get involked and the table displays all rows verticaly.
The name the Plugin?
The name of jQuery Plugin need a 'Product registration documents'? how to register a 'Product registration documents'? This is very Important for me
new to this... how to call a method in a method (solved)
hi i have problem understanding how i can call moveItems. i traid this: this.moveItems; $(this).moveItems; methods.moveItems; methods.moveItems; videoribbon.moveItems; this works.. but that's a bad one i think $(this).videoribbon('moveItems'); (function( $ ) { var methods = { init : function(options) { $('#ribbon ul li').find('video').on('ended', function(event) { //$("#ribbon ul").moveItems(); //methods.moveItems; //videoribbon.moveItems; //$(this).videoribbon('moveItems');
Access to methods of the plugin, after selecting an element...
Hello, I tried to find an answer but can't find it. So I have a plugin and add it to an element by: $(":input").tooltip(); Everything works fine. Now I want to select one of the input fields an call a method of the plugin. So: // Select Element (I have the id) var input = $('#myInput'); // And calling a method input.myMethod(); But it is not there. What is my misstake? The code of the plugin: $.fn.tooltipo = function(optionen){ // ..... some code this.myMethod = function(){ console.log("Bing");
How to write a plugin for event delegation?
I see similar question already, but not finding any standard approach. Is there any standard approach by which we can make all plugin calls to support future elements? $(".selector").pluginName();Here, future $(".selector") is not captured. Any help is highly appreciated. TIA
"Responsive Jquery" If width add div link else remove div link
I have this code that turns a div into a link when the screen is sized to a specific width. How do I get it to remove the link when the width is larger? $(window).resize(function(){ if ($(window).width() <= 768) { $(".discussionListItem .main, .nodeList .nodeInfo, .memberList .memberListItem").click(function(){ window.location=$(this).find("a").attr("href"); return false; }); } else if ($(window).width() >= 769) { $(".discussionListItem .main
Get attribute from dynamicly loaded element
Probably asked a thousand times before, but I really can't find the answer. This is my code: $.fn.eepager = function(options) { var defaults = { holder: $('#more'), target: $('#more'), link: $('#readMore a'), }; var options = $.extend(defaults, options); $('body').off("click").on("click", options.link,function(e) { e.preventDefault(); var link = options.link.attr('href'); $.get(link, function(data){ $(data).find("#more").appendTo(options.target); $(".paglink").html($(data).find(".paglink").html());
Running the plugin on a class selector works on the first element, but not the rest.
So basically, I'm making a little personal plugin, the idea is to have little galleries, divs with images in them. These divs have custom data attibutes for width, height, speed of transition, etc. I want to make set up super simple so anyone can just have a div with images in them, set a few data attributes and they're good to go. There is a problem however that I cannot work out - I'm going like this (where kbg is the name of my plugin) $('.kbGallery').kbg(); This works fine for the first element
File Image Uploader using drag and drop
Hi All, I need a help in jquery i am looking for the image uploader and editor using j_query for my website is there any plugin that might help me or please can anyone guide how can i make a one. Any help is deeply appreciated. Thanking you, Santosh Upadhayay
Not setting the attr or data of an element inside plugin
Guys, I am writing a small plugin for myself and somehow inside the plugin , I am not able to set the value of the elements attribute inside the plugin method. I am trying to set the data-sortasc attribute of th element and although in the console log it shows it set it never does when I look at elements and inspect it. What could I be doing wrong. Here is code frag sort: function () { var $this = $(this), data = $this.data('tablerender'); // If the plugin hasn't been initialized
How to reference original bound element in plugin callback?
I have plugin that simply opens a modal box and allows users to select a value form a picklist. The plugin attaches an event listen to open the select/modal box. This selected value will then be returned to a callback function. In this call back I would also like to reference the actual element the plugin was bound to but I am not sure how to do this. In the code see this section: "//************How do I " This is one of my first plugins so if there is a better way to do this please let me know.
Plugin - Google Chrome: css("zIndex") not being set
Hello, I am a big fan of jQuery, and this is my first post EVER, so big cheers for me. I have developed lots of plugins, but I noticed that on my latest one, there is a problem with the animation in starting/stopping in Google Chrome (and I suspect other webkit too). The plugin is of a menu type, and the animation is of one element sliding out from underneath it's previous sibling, to achieve this I first set the element to the position of it's previous sibling, set zIndex to -1 of previous, and
Comment Error in jquery.themepunsh.revolution.js
In Line 1885 of file jquery.themepunsh.revolution.js you will see a single SLASH!!! This Slash (Error) is responsable for upcoming errors in using JQuery according to JS-Compressors. These compressors are parsing the js-file and they won't read lines after 1885, perhaps the compressors can't handle single slashes!!! It seems to be an incomplete insertion.... PLEASE fix the ERROR and all JQuery-Users are very happy
How To Stop Playing When loaded
Hi I'm totally new to JQuery. I want to make the images only change when they are clicked and not when the slideshow loaded. How do I do this please? Many Thanks and Best Regards Charles <script type="text/javascript"> SqueezeBox.parsers.extend({ gallery:function(preset) { if (document.id(this.options.target)) return document.id(this.options.target); if (this.element && !this.element.parentNode) return this.element; return (preset ? this.element : false); } }); SqueezeBox.handlers.extend({ gallery:
Passing event data to a widget callback, is it possible
Hi, Using the Jquery bind method it is possible to provide data to the handler, retrieved from Event.Data. Can this be achieved using a callback option, aside from using closure ? Thanks Tony
Troubleshooting registering a plugin
Hi, I tried to register my plugin "jquery.wysiwyg". I followed the steps on [1], but my plugin just doesn't appear on plugins.jquery.com. I did that 14 hours ago. This is my wysiwyg.jquery.json file, which is in the root directory of my repostiory [2]. I registered the service hook and tagged the repository with my version number (and pushed it). My plugin doesn't apper at plugins.jquery.com though. Any idea/advice? Thank you, Lukas { "name" : "wysiwyg", "title" : "jQuery WYSIWYG", "description"
Duplicate of my plugin appearing on new site and doesn't update version
I changed the name and url of my plugin (from deferrize to defer) shortly after it got included in the new plugins site, and shortly after that I also released a new version. At the moment there are 2 duplicate entries in the plugin site http://plugins.jquery.com/?s=defer, one 'Deferrize' and one 'Defer', and neither are getting updated to the latest plugin version. Can anybody help me with getting rid of the duplicate entry (whose existence I guess is maybe rendering the site unable to properly
rich_textarea jQuery plugin
I have just released the first version of rich_textarea TEXTAREA replacement the supports: multiple configurable autcomplete triggers (@mentions/#tags/etc) insertion of rich markup objects (e.g. images, links with decorations, etc) generation of a text representation of the editable area Demo, source, etc available from here.
The Bootstrap rendering RoyalSlider inoperable?
I'm not sure exactly what is creating this conflict. When I run RoyalSlider with the WP default theme it works fine, but when I run it with The Bootstrap theme it no longer works. I followed the documentation and troubleshooting on the site and asked the developer but as of yet have not received a response. I checked to verify that the correct plugin settings were checked to included the slider on each page. I also verified that the theme author correctly called the .js scripts by enquerie, etc.
Alternative to $.event.handle in 1.9.0
Hi, I have written a library of mobile 'events', that unifies mobile and desktop clicks and touches into a single event (see here > https://github.com/benmajor/jQuery-Mobile-Events). I (rather foolishly) relied on two undocumented jQuery features to handle certain areas within the code. One of them was $.attrFn, which I have been able to fix by declaring it myself, but the other is a little more difficult, it is the $.event.handler. The full code that no longer works is as follows: function triggerCustomEvent(
jQuery BlockUI Plugin with Problem
Hello everybody The demos in site of blockIU are broken. http://jquery.malsup.com/block/
Validation / Submit Button Question
I guess this is a question of why is it working this way? I can't see the being normal behavior; what am I missing? I'm using the validation plugin and I have two buttons within a form. One is a submit submit<input> and another a button <button>. When I click on either of the buttons it validates the forms and submits the form? Why is the <button> causing validation to perform? Thanks.. Script... <script> $(document).ready(function(){ $("#cmaForm").validate(); }); </script> Html..
Fetching vBulletin Pages using jQuery
Hello everyone! We are currently working on redesigning our website and in this process we need to solve one problem with Google and vBulletin in combination with comments. We are using vBulletin Forum-Posts for Comments, which then get fetched and displayed on the frontpage. Due to caching, the content has to be replaced and kept fresh. What we were thinking of is to load the vBulletin content page from a separate clean website that is using the vBulletin Cookies and let's registered users reply
How to properly destroy jQ plugin
Hey guys, does anyone know how to destroy jQ plugin ? I usually unbinded all events and I thought that's enough, but after I looked into Google Dev Tools I realized it's not. I've attached a screenshot which shows that there is a still reference to my component in: jQuery.fn.jQuery.init. On second screenshot you can see that events are unbinded after I close the window (after application window is beeing closed, all components are unregistered), but nodes still remains in memory. Regards, Łukasz
Different settings for call made to a plugin
Hey, I started making a plugin yesterday that full screens the image you click on What I am wanting to be able to do is send custom settings to the plugin for each object that calls it, at the moment the plugin just adds all the settings sent to a global settings variable. (".images img").imagebox({"transition" : "fadeIn"}); while another class might call it with different settings so (".bigImages .img").imagebox({"transition" : "none"}); What is the method to make the plugin refer back to the settings
gapples jquery plugin
http://gapples.sinaapp.com/ include tables/tabs/waterfall/orgchart/msgbox orgchart http://gapples.sinaapp.com/doc_orgchart.html waterfall http://gapples.sinaapp.com/doc_waterfall_demo.html
Changed code around to allow options but wont work?
I decided to format my code to a more "standard" and friendly version so I could create options that could be called up at anytime within the HTML documents. Check this JS Fiddle document. You'll see it won't work, but for the effort of my life, can't figure out why. Depending on jQuery only. Working before hand using just Variables: http://jsfiddle.net/ScwbP/5/ Re-written but not working: http://jsfiddle.net/FxKFG/2/ Many thanks if anyone can clear this up. Totally lost in the code right now. Also,
Debugging wordpress plugin
Hello, I got problem with debugging plugin: Plugin is calling by: <script type='text/javascript'> jQuery(document).ready(function($){ $('#cfw').CustomFacebookWall({ id:'BizuteriaMagia', access_token:'377526185663419|i3Th376FkoAcOsJQREkybMfIeo8' }); }); </script> I used: jQuery(document).ready(function($){ Because when I using:
Autocomplete menu items does not change by external data
Dear All, I am using AutoComplete plugin of jQuery. but having a serious problem in my application. i have two textboxes. - first text box is for input a value - second text box is enabled for autocomplete and autocomplete menu items will be changed after changing input value of first text box. But, when i change input value of first text box, then i found a problem on second text box. new menu items are shown in upper layer of previous menu items. please see the attached image. Please give me
FadeBox V1.0
(function($){ $.fn.FadeBox = function(Settings){ var HasTrigger = false, TriggerType = "Click", Trigger = "", ME = $(this); if (Settings != null){ $.each(Settings, function(i, v){ if (i == "Trigger"){ HasTrigger = true; Trigger = $(v); } else if (i == "TriggerType"){ TriggerType = v; } }); } function Box(){ console.log("B"); $Object = $(" ").prependTo("body"); $Object.css( { "width": $(window).outerWidth(), "height": $(window).outerHeight(), "background-color": "black", "position": "fixed", "opacity":
load("post.php") reloads the data twice
Hi i m using the insert code in post.php file and i m refreshing the div automatic using the below code: <script> $(document).ready(function() { var b=$("#id1").val(); var d=$("#id2").val(); var refreshId = setInterval(function() { if(d=="") $("#demo").load("posts.php?id="+b); else $("#demo").load("friendspost.php?friendid="+d+"&id="+b); }, 75000); $.ajaxSetup({ cache: false }); </script> I have a problem that when div refreshes, it again loads the previous action done Mean When i post something
animateText.js - A new text animation jQuery plugin
animateText.js makes it easy to create text animations. It comes with several basic animations to customize. Or you could use it as a framework to create your own animations. You can check out the demo and documentation on its Github page: http://lukeas14.github.com/animateText.js/ Any feedback would be much appreciated. Thanks.
A Very Simple and Open Carousel
live demo: justinmccandless.com/demos/jQuery-Open-Carousel/index.html the code: github.com/justinmc/jQuery-Open-Carousel It's a carousel that is super easy to implement in HTML without touching any javascript, while also trying to be as flexible as possible. After including the js and css, you can implement it as easily as this: <div class="ocarousel"> <div class="ocarousel_window"> <!-- Your Content Here --> </div> </div> A bunch of more detailed features are easy to set up, like
Grid in jQuery based on Flex Grid
Below is the code which converts html table to jquery grid. I am using custom attributes like dataField, Sortable, ItemRendererFunction to display grid rows. Please copy the code to create test html file. I would appreciate feed back. Thanks! <!DOCTYPE html > <html> <head> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>FlexLikeGrid</title> <style type="text/css"> body { font-family:Arial; font-size:12px; color:#000000; } .Rowgradient { background-color:
plugin with functions for each element
Hello, I do not know how to explain it, but I'll try ... I have two or more elements, I would create, for each element, a box that controls some functions for that particular element. An example that could be cited are wysiwyg editors that can be applied in multiple textarea, and does not interfere in other's behavior. I'm having trouble researching this, if they have any explanation or reference would be of much help.
create a TimePicker with different output
hello guys, What can anybody help me? I want to customize a TimePicker, I want to be like the example below. timepicker menit Jam <input type="text" name="timepicker" id="timepicker" size="4" /> <input type="text" name="jam" id="menit" size="4" /> <input type="text" name="menit" id="jam" size="4" /> timpepicker selected on the input with id 'TimePicker' and the resulting display in the format H: i: s, then it was followed with automatic by input with id = 'clock' with format 'H' and input with id
jqgrid inline edit
Hi all, I use jqgrid with the inline edit function. Now I have the issue that the data will only send to the server by hit of the enter key. I would like to have a function which send each typing key will be send to the server. Can anyone help me? Many thanks DJ
Feature request - $.ajax lazy loading
Hi, why couldn't we store in a var all our $.ajax requests and execute them only on need? If i write $.ajax({something}), the request actually is automatically executed. I'd like to store this request in an array and execute them programmatically. If this is already possible, please tell me how...! Thanks Matteo P.S.: obviously I could wrap AJAX requests in an anonymous function's body and store its reference as an array element. I'm asking about why this couldn't be implemented as a native functionality,
How to upload my plugin in jQuery plugin repository ???
Can somebody help me by telling the steps to upload my plugin ???
SIWEBST jQuery FALLING TEXT plugin
Our FALLING TEXT javascript /jQuery function animate the text content of a #divmove to #divbox, which is great for spice up your web pages. We try to make it like real jQuery plugin .. but we are just stucked ... so is there anybody outhere for a nice help :) BLOG: http://jquery-swsfall.blogspot.com/ DEMO: http://sws.dussan.org/ Here is ther code: <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>SIWEBST jQuery FALLING TEXT
Next Page