Hi,
I was wondering if you could post an example of your modified
dragstart and dragstop callbacks which fix the issue?
Thanks.
On Jan 2, 12:37 am, Yuriy Pobezhymov yuradoc.commerc...@gmail.com
wrote:
Thank you much. It's work!
Happy New Year!!!
You have to supply the canvas object as a parameter to the push function to
add it to the array.
canvasClasses.push($(this));
On Thu, Nov 5, 2009 at 10:16 AM, shaf shaolinfin...@gmail.com wrote:
Hi Guys,
I have several .class DIVs I want to manipulate. I have retrieved them
using the
You have to supply the canvas object as a parameter to the push
function to add it to the array.
canvasClasses.push($(this));
Would we be able to pass in a number of variables to the functions
such as show and hide which are initialised outside of the closures,
rather than store references to the this object.
I attempted to refactor/modify the code as a quick test but I kept
getting null references to things like the
Which lightbox plugin are you using?
I have been using prettyPhoto and with that one you need to have a
link/anchor to each picture and each link/anchor needs to have the rel
prettyPhoto.
The memory is released when you refresh the page.
However, the users of my web app will be using the same page for 8+
hours a day and the page will most likely not be refreshed since all
the updates are displayed and retrieved via ajax and jquery.
Hi,
I have been tracking down a memory leak in my web app which
dynamically removes and adds anchors which have cluetip tooltips
attached and I think that I may have narrowed down the problem to the
main closure in cluetip which attaches the cluetip to the node (line
32: var link = this, $this =
.
Basically I need a way of finding all widgets that are descendents of
the current working node, but with no other widgets in-between.
If anything needs clarifying let me know.
Regards,
Andrew Ingram
=mySelect]).val() == '2');
}
},
myfield4: {
required: function() {
return ($(input[name=mySelect]).val() == '2');
}
},
}
}
On Sep 28, 2:10 pm, Andrew andrewgtibbe...@gmail.com wrote:
Info
Info:
- jquery-1.3.2
- jquery.validate-1.5.5
- form with 1 dropdown select and 4 text inputs
Setup:
- all 4 text fields are not initially required.
Issue:
The first input element is a required dropdown select.
If the user selects option 1, then text field 1 2 need to be
required.
If the user
It would be nice if the autocomplete plugin accepted a function that
retrieved the data on behalf of the plugin instead of being stuck with
either static data or a relatively inflexible canned ajax request.
$(#example).autocomplete(function (term, success, failure) { /* do
custom method for
Live preview (hover over the navigation):
http://www.monikercreative.com/monikerguest/test.php
I'm having a problem getting the tooltip to move next to each nav list
item...I can move the static tooltip placement around and I've tried
using offset and jobj width, but it doesn't work well since
, Andrew McHargamch...@gmail.com wrote:
It would be nice if the autocomplete plugin accepted a function that
retrieved the data on behalf of the plugin instead of being stuck with
either static data or a relatively inflexible canned ajax request.
$(#example).autocomplete(function (term
various URLs to do both, but not found one that works.
Andrew
On Jul 3, 3:49 pm, Pyrolupus pyrolu...@gmail.com wrote:
On Fri, Jul 3, 2009 at 8:51 AM, Andrew m...@andrewcampbell.us wrote:
I'm new to JavaScript -- and cannot get jQuery to work (unless I
accesshttp://code.jquery.com/jquery
Can I use the jQuery.js on http://code.jquery.com/jquery-latest.js, or
must I download jquery.js to my server?
If the answer is no, my hosting service does not support GZIP -- so
what file do I install on my server?
I've tried both jquery-1.3.2.min.js, and jquery-1.3.2.js.txt and they
don't
I'm new to JavaScript -- and cannot get jQuery to work (unless I
access http://code.jquery.com/jquery-latest.js)
Is this permissible, or do I have to download jquery.js to my server?
If not, I have other questions:
* my hosting service does doesn't have gzip compression enabled --
what file do
Any feedback?
On Jun 3, 11:24 am, Andrew andrew.alcant...@hotmail.com wrote:
Hi All,
I have a plug-in that adds onclick event to an element, below is a
snippet?
jQuery.fn.showBox = function(options) {
var options = {title:the title,content:the content};
return this.each(function
you can try something like this
$(a[class^=edit]).click(function(){
var url_id = $(this).attr('href');
do stuff..
});
On Jun 3, 11:20 am, Dave Maharaj :: WidePixels.com
d...@widepixels.com wrote:
I have a page with 6 links that each have a unique class ;
edit_profile
edit_preferences
Hi All,
I have a plug-in that adds onclick event to an element, below is a
snippet?
jQuery.fn.showBox = function(options) {
var options = {title:the title,content:the content};
return this.each(function(){
var obj = $(this);
obj.bind(click,function(e){
//
When blockUI is called, the cursor changes to an hour glass to
indicate something is loading. If you don't move the mouse after
everything has completed and unblockUI has been called, the cursor
remains as an hour glass!? It will only go back to normal when you
move the cursor!?
HTML:
ul
li/li
li/li
ul
li/li
/ul
li/li
/ul
JS:
$(ul li).click(function(){
$(this).next().doSomething();
});
When I click on any li that has an li after it, that next li will
'doSomething'.
But, when I click on the li that has a ul after, only in IE, the ul is
li/li
/ul
- Richard
On Wed, Mar 25, 2009 at 1:50 PM, Andrew andrewgtibbe...@gmail.com wrote:
HTML:
ul
li/li
li/li
ul
li/li
/ul
li/li
/ul
JS:
$(ul li).click(function(){
$(this).next().doSomething();
});
When I click on any li that has
The order of elements in a simple array like this is guaranteed.
Looping over an object with a for in loop, the order is not
guaranteed, though by convention most browsers honor the order in
which the elements were added. jQuery would have to go out of its way
to return the elements from your
the Accept-Encoding value?
Thanks,
-Andrew
(say, a particular MIME type or charset)? In other
words, is there no way to change this?
On Jan 26, 2:41 pm, Andrew Hedges segd...@gmail.com wrote:
I'm trying to make an Ajax request, specifically requesting a non-
gzipped response. Here's how I am going about it:
$.ajax({
url : 'http
I've seen issues similar to what I ran into posted elsewhere in this group,
however, not the same solution I came up with.
Recently I have been pushing very hard to convert my company's site from
using a multitude of outdated libraries (Prototype, Rico, YUI) to using just
jQuery. Interestingly, I
Hi
I've got an application that has a pop up div which has controls that
submit an ajax post before which I'm getting some hidden variables
from within the popup div, I'm using 'live' with the popup div
controls. I'm referencing the elements by their parent id then their
specific Id, eg
just curious if anyone else had problems in
relation to using 1.3 vs 1.2.6 in this way.
Thanks
Andrew
On Jan 23, 9:40 am, Jeffrey Kretz jeffkr...@hotmail.com wrote:
One question, if you're referring to your elements by id, can't you just do:
$('#elmId');
Directly? Rather than by a parent
I'm trying to write a couple functions that will clear a form field on
focus. I also want to the change the class if the value has changed.
I'm new to jQuery and a novice Javascript developer, so hopefully my
issue is apparent. There appears to be an issue in how I am
referencing $this. I wanted
and
clients.
I *hope* I'm wrong because I would love to take full advantage of the
improvements in 1.3. I welcome your comments.
-Andrew
-
http://andrew.hedges.name/blog/
Nope.
Haven't had time to troubleshoot.
I decompressed the code if you wanna take another look.
Thanks!
Andrew
On Dec 3, 11:13 am, Josh Nathanson [EMAIL PROTECTED] wrote:
Andrew - I got the link you sent and indeed, it does not seem to work on ie6
or ie7. However, I couldn't see your code
It was the compression.
The compression mod i am using has some toggle options, I'll see if I
can figure it out.
Thanks for indirectly solving this!
On Dec 8, 2:19 pm, Andrew [EMAIL PROTECTED] wrote:
Nope.
Haven't had time to troubleshoot.
I decompressed the code if you wanna take another
Hey Josh, thanks for helping me out. Your plugin has helped me quite a
bit already.
It may be JS conflict, it may be CSS (but I think I ruled out z-
index)...
I sent the link to your gmail address. Thanks!
On Dec 1, 5:44 pm, Josh Nathanson [EMAIL PROTECTED] wrote:
Andrew -- I just checked
I am almost certain that I previously had it working in IE7, which
leads me to think it's some new JS that is conflicting but I can't
figure it out. Where can I start to look for IE7 conflicts?
ie
$(#browser).treeview({
animated: fast,
persist: cookie,
collapsed: true
}).css('display','block');
Any feedback on this would still be appreciated.
Dirceu Barquette wrote:
Try my plugin.
http://sourceforge.net/projects/jqtreevial/
2008/11/29 Andrew [EMAIL
see the styles are only partially applied as well?
Please help! Otherwise, i've found this plugin to be just what i
needed :)
Thanks, Andrew
MeanStudios wrote:
Greetings,
I am using this plugin in my web application and I had a quick
question. Is there a way to trigger an ajax call if someone selects
something from the dropdown list? The ajax call would then fill in
some fields below related to what was just selected from the
I'm just a jquery novice, but I was wondering if it would be possible
to do something like Amazon's new windoshop.com without flash and just
use jquery, html, and css.
Right now (jquery 1.2.6), the httpData function does this with JSON
data:
// Get the JavaScript object, if JSON is used.
if ( type == json )
data = eval(( + data + ));
This is not very secure. It would be better to allow users to choose a
Hi
I'm pretty new to jquery and I've basically got a form which allows
you to add additional fields and take them away, I've got it adding
and removing any fields that are there when the page loads but any
that are added after that the controls don't do anything.
I've got each form element like
Hi Everyone,
I came across jqDnR (Minimalistic Drag'n'Resize for jQuery) just the
other day, but found it only included a SE resize option and no
limitations on size. So I decided to add this support myself.
Included in this post is the min version (1.48kB), and the expanded/
dev version
Hi I've just started using jquery and I'm developing a dynamic site so
I don't need the same code on every page and I'm loading various
different javascript files in based on the page, but nothings working
in IE but it works fine in firefox and safari. I have all the jquery
calls in functions
I suggest giving jQuery a more specific context in which to search for
the elements in question. If the set of elements you want is (or can
be put) inside an element with an ID, that is the most efficient.
Selectors like:
$('#some-element .a-bunch-of-elements')
...are way faster than selectors
pattern to
individual parts of the script to get a more detailed view. That said,
I'm pretty sure there are (commercial?) tools out there that let you
profile scripts in some detail. I'd be interested to know, too, if
there are any that are free software.
-Andrew
On Sep 17, 4:14 pm, Alex Weber [EMAIL
I think you can get dimensions of div, dimensions of p, their
positions, and than calculate if p is overflowed.
For some pages I want some menu-items to be always dropped-down. For
example, I have li elements with class=no. I need Superfish don't
react to events on the submenu inside this element.
Not at all the same, but near ))
Do you have any ideas?
I tried to edit source code, but I'm very newbie in jQuery...
There is one method, but IE braek layout of HTML template after that -
I tried to wrap li elements that I need to proccess with
SuperFish to div/div:
liThis must be always
I'm building a Dashboard widget. It's not quite done, but it mostly
works and it doesn't need 'net access because it contains a local copy
of the docs. You can find it here:
http://code.google.com/p/jquery-reference/
On Sep 6, 12:11 pm, Karl Swedberg [EMAIL PROTECTED] wrote:
Until it does ...
the Prototype syntax, so I wrote my own. It's
only 1009 bytes!
Enjoy!
-Andrew
Hi all,
Can anyone provide guidance on ranges for salaries in the UK for
experienced jQuery / JavaScript / UI programmers?
Cheers,
-Andrew
The really proper way to do this is with XML-RPC or JSON-RPC, which
is probably what you really want as you're already using JSON. RPC
means remote procedure call. The basics are pretty well illustrated
on the wikipedia page here:
http://en.wikipedia.org/wiki/JSON-RPC
There are a variety of
the buttons have appeared. No good! How can I keep
folks from pushing these buttons until after the information loads?
~Andrew Gearhart
,
Andrew
var path = $('img').attr('src').replace(/.*\//, '');
Actually, I like Ariel's solution better as it's more readable. I
just have a personal compulsion to solve every problem with regex.
On Jun 11, 4:36 pm, yo2lux [EMAIL PROTECTED] wrote:
path variable store the following:
Rocking the tables like it's 1995... no better options? I guess if the
rows were divs with several images you could achieve the same effect.
On Apr 30, 11:54 am, Jan Sorgalla [EMAIL PROTECTED] wrote:
Hi,
you can put whatever you want inside the li items. It can be a
single image or a table
Hi,
I certainly do like jQuery a lot. Doing it unobtrusively in this case
could be tricky though. To re-load only part of the page, you really
want AJAX, which inherently requires javascript, for the most part.
There is an exception, though: you culd be to put the module within in
iFrame. This
.
There's now a redirect page saying Safari isn't currently supported.
Andrew
Thanks Shawn. I'm awaiting the user's feedback on the points you
raised.
rgds, Andrew
instead of my website or the JQuery test
suite?
regards, Andrew
Hello,
I have a chunk of code that animates fontsize changes with the units
set to em. The animation is a bit wacky. Am I doing something wrong or
have I found a bug?
style
#test {
font-size:1.2em;
}
/style
div id=test href=http://www.google.com;Test/div
script
Hello,
I'm looking for a snippet of code or a plugin that will give me the
current position of the cursor within a textarea.
Does anyone have one that they can share?
Hi,
I have a series of nested drop down lists being used for the
navigation on a website. I have added a click() event to certain
elements to toggle the visibility of some nested elements.
This works in Firefox and Opera perfectly but the wrong elements are
being toggled in IE6.
I think the
I've tried many things to fix this.
In the error alert box I get:
[{id:827,make_id:96,name:tC},
{id:825,make_id:96,name:xA},
{id:826,make_id:96,name:xB},
{id:828,make_id:96,name:xD}]
Which is correct.
$(function(){
$(input.search).keypress(function(){
I have the same problem. Even very simple example doesn't work in IE6
For example, I try the following code
$.get(test.xml,function(xml){
var text = $(control,xml).text();
alert(text);
});
my XML file is as follows:
controls
controla/control
/controls
and when I run my code
I'm a raw newbie but have not found this particular question answered.
I have a series of dynamically generated radios each of which has
three possible values Y (yes) N (no) and M (maybe) and want to capture
mouse clicks and act on them depending on the value
for example
tdinput type=radio
I'm a raw newbie but have not found this particular question answered.
I have a series of dynamically generated radios each of which has
three possible values Y (yes) N (no) and M (maybe) and want to capture
mouse clicks and act on them depending on the value
for example
tdinput type=radio
Hello, everyone
I have a problem with not english characters. I've created with jquery
google-like search-suggest and it works perfect with englesh
characters. But if I want to search not englasi words, e.g. spanish,
search doesn't work correct.
Thanks, SeVIR for quick answer.
The problem is that php cannot decode the result of JavaScript
encodeURIComponent which JQuery uses. The soultion is to create your
own function that replace such characters as ?,:, etc. Maybe you know
more right way?
68 matches
Mail list logo