I am suspecting in file
http://github.com/tkyk/jquery-history-plugin/blob/master/samples/ajax/ajax.js
line 13 and 14
load(url);
$.history.load(url);
in Firefox, Chrome, and IE 8, I see that the page is loaded twice when 1, 2, or 3 is clicked on.
Is it true that line 13, "load(url);" can be removed because $.h...
I am using the jquery form plugin (http://jquery.malsup.com/form/) but I want to handle a special case when a user tries to post to the site without being logged in.
The backend returns a 403 (forbidden) response in this case - which is working ok - but the 'error' callback doesn't fire and if I use the 'complete' callback, the XMLHttp...
There are some decent JavaScript-based RTEs out there, but when it comes to jQuery plugins, the selection seems to be quite sparse. What are the most recommended/promising projects (either finished, or in progress) that provide a simple-to-implement RTE using jQuery?
Here's what I've found from my research so far:
jQuery UI Rich Text ...
When should I be creating a plugin and when not?
Is it better to create a plugin and stuff everything (Data, Logic, View) within a plugin and use it like a black box or to separate Data, Logic and View ?
...
Hey folks,
I'm just getting my bearings with Javascript and jQuery, and I'm working on an animation.
Essentially, what's going on is an element, #left-arrow. On hover, the arrow moves left 10px and increases opacity. I'm using the 2D Transform plugin for jQuery to handle the transform.
Now my issue, however, is that javascript will ...
I'm working with the jQuery Form Plugin. I have my servers send 200 responses on success, which trips the success listener perfectly fine. Per the standard, 301 and 302 and transparently redirected by the browser. However, when the server returns, say a 401, the Form Plugin just silently dies. How can I apply a listener to non-200 respon...
Let's say I have a div that when it's clicked on it adds the .resizable() function to the div, thus being able to be resized. Would anyone have a code example of this? Thanks!!
...
I am confused on why this code is written like this, but I am sure it is important to understand:
$.fn.mapImage = function(options){
//Set user input options and defaults
var optionConfig = $.extend({}, $.fn.mapImage.defaults, options);
image=this;
this.image = this;
// Assign defaults
this.getUrl = optionConfi...
Right so I'm creating a plugin using jquery what I have thus far is this. .
(function ($) {
$.fn.AppCompFunctionality = function () {
var defaults = {
};
var options = $.extend(defaults, options);
return this.each(function () {
$(this).click(function () {
var currentComps = $("#currentComps").get();
$(current...
Hi, I'm trying to load a different fancybox page every time someone clicks one of the links on the left menu.
example: http://cupones.com.ec/stackoverflow/
I am using the Facebox image and content viewer plugin. The first link "pizzerias" loads an image with no problem. However there is a problem displaying the second "mexicanos" lin...
Hi, I was wondering after I resize a div that has the .resizable() feature on it, how do I make it call a function as soon as the user resizes the box and lets go of the mouse?
Thanks!
...
Hi, I have a click function setup to make a div resizable. When I click on the div, the style has white lines and is all spaced out, I am guessing it might have something to do with the jquery ui css file? How would i go about styling it?
Example: http://www.fissiondesigns.com/simon/
try clicking on one of the boxes on the image. Than...
I have a application when you click on a div it starts a resizable function on the div, but when I click off of it, or click on another div how can i destroy it? I don't think the stop: function(){} will quite do it because it will destroy it after one resize. Any ideas?
I have an example here: http://www.fissiondesigns.com/simon/
Yo...
If I have a div that contains other divs, how do I make it so I remove all the divs inside the original div? That might have been confusing, heres a code example:
<div class="test"><div class="delete"></div></div>
<div class="delete"></div>
How do I remove the 'delete' div thats INSIDE the 'test' div ONLY and still keep the one outsi...
I have this code, and I cant seem to get the width to come out right after I resize the div.
this.area = $('<div class="dynamic-pinpoint-area"><div id="inner"></div></div>');
var area= this.area;
this.area.click(function(event) {
event.stopPropagation();
area.css('border', '1px dashed #000000');
area.childre...
Hi,
I wahnt to write a jQuery plugin which will change the x background-position in an looped time interval.
$('#element').pluginName(); - starts the looped action
Then I wahnt to stop it by $('#element').stopFunction(); or $('#element').pluginName().stopFunction();
Is it possible? Can You give me a tip how to write it?
EDIT (my solu...
I'm attempting to write my first jQuery plugin to query multi-dimensional arrays of complex objects. It kind of functions how I want it, but right now it receives a property name and value as input for comparison of the items. I want to modify it so that it can receive jQuery's selector syntax as input in order to filter my objects in ...
I'm using the .cycle() plugin here: http://commonmovement.com/MIP/our-clients.html
I'm not sure why the second image does not show up in Safari/Chrome. After you roll over the nav it shows up. After searching this forum and the web, I did not come up with a solution that works.
any thoughts?
script:
<script type="text/javascript">
$...
Hi there
I'm currently using jQuery.Cycle to cycle through a few child <div> tags. However, I want the default cycle fx to be fade, and when I click on the next or prev selectors, I want the cycle fx to temporarily change to scrollRight or scrollLeft depending on the selector clicked.
Is this possible?
jQuery code, if necessary:
$('#...
Why is that jquery dialog does not work in firefox? this is working in IE very well.I used jqueryblockui.js pug-in.
function showConfirmation(progTit, msgText, msgIcon, msgHideIcon) {
var tblMsg;
tblMsg = '<table width="310" cellpadding="0" cellspacing="0" border="0" height=113px >' +
'<tr style="background-color:#3a3a3a;">' +
...