I found an issue in the idrag.js file on line 135 of idrag.js file. This
lines:
if (elm.dragCfg.oP != 'relative' elm.dragCfg.oP !=
'absolute') {
dEs.position = 'relative';
}
The setting of the position of the element to relative seems to
What's the new code you implemented look like? Where did you get my example
code? What's the URL of the form so we can take a look at the problem.
-Dan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Web Specialist
Sent: Tuesday, March 27, 2007 9:48 PM
Markup,
What plug-ins are you using on the page?
-Dan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Markus Peter
Sent: Wednesday, March 28, 2007 11:09 AM
To: jQuery Discussion
Subject: [jQuery] Known memory leaks?
Hello
We're currently using jQuery
Rob,
I thought a jQuery object consisted of extended DOM objects - i.e. all DOM
methods and properties are available, plus the jQuery extensions.
To get to the actual DOM element, you'd use:
alert( $(this).get(0).selectedIndex );
-- or --
alert( $(this)[0].selectedIndex );
(Where 0 would
Rick,
Can there be more than one set of
taconite/taconite tags on a single page?
Why would you need more than one taconite tag in the response? It's just the
root tag, you can send multiple replace/append/etc tags.
-Dan
___
jQuery mailing list
Rob,
Ok I think that may answer the next question.
Are you saying that an assertion:
$(this)[0] == this
will always be true?
No, what he's saying is the this in $(this) is actually a reference to the
DOM element.
So, in the code:
$(#myDiv).click(
function (){
// spit
Brian,
And thank you Dan -- you were actually much closer to the actual issue than
my earlier hypotheses. Animate is not killing hoverIntent, but it is
(occasionally) delaying one of the polling intervals, so that two are
firing in very close succession.
The only reason I suspect this as the
It worked for me in IE6 (no shadows) but it is *slow* to render.
-Dan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Glen Lipka
Sent: Monday, March 26, 2007 12:14 PM
To: jQuery Discussion
Subject: [jQuery] Rounded Corners with Drop Shadow
Jörn,
amircx schrieb:
umm... there is no other tag for replacement? im using it for somthing
em*/em
Good point, thanks. I guess I have to find a combination of elements
that is easy to style, does not interfere with Google Toolbar and makes
some semantic sense. That can hardly be achieved
Brian,
From my playing around it seems that it gets triggered because mouse is in
the target zone at each check (even though it's been moved around a lot.)
Does the bug go away if you lower the interval way down?
-Dan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Mike,
Thanks for that feedback Aaron! XML responses are a little dicey
using the iframe approach. Although both dojo and YUI use this same
technique, dojo comes right out and says they don't support XML
responses:
XML responses are not supported because we can't get a nice
cross-browser
Gareth,
Dan, many thanks for the explanation. It took a couple of read throughs but
it all makes sense.
I've posted my presentation at:
http://blog.pengoworks.com/blogger/index.cfm?action=blog:585
Take a look at the files for ex2.5_mailing_list_validation_ajax.cfm It
shows off how you can
I know no one asked for my opinion, but I've never been a fan of trying to
recreate the select box just for design reasons. There's certain things
that a select box does that can't be re-created using DOM elements (such as
expanding outside the browser window.) Plus, I've yet to see one that
Glen,
Take a look at this one:
http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/form/combos.html
http://www.yui-ext.com/deploy/ext-1.0-alpha3/examples/form/combos.html
It goes WAY beyond what a typical select box does. Nice styling. Keyboard
shortcuts, tabbing. Nice scrolling. Type in
Jörn,
Thanks for investigating. It would be easy to make the element used for
error messages customizable. What would you recommend as the default?
The Google Toolbar problem can occur everywhere, so the label-default
seems like a bad idea now.
Well, my initial thought was a div /, but perhaps
Paul,
IMO, pulling up all the entries defeats the purpose of an autocomplete (not
to mention if you have more than just a few options-it'll prevent a
scrolling nightmare.)
The way that I've addressed this problem in the past is by setting the
Autocomplete matchSubset option to true/1.
Gareth,
I thought I'd try the $.ajax method as suggested and after much mucking
about it seems to be working :) The only thing that doesn't work is the
timeout which is (very) bad because, as you pointed out, if the validation
page doesn't respond / takes too long the browser locks. Under the
Jörn,
There is one good argument for using IDs: You can click the error labels
to focus the associated input, without any additional JS, just using the
for attribute.
I figured that's why you used the label / tag. :)
I'm not sure how intuitive it is to the user that clicking the error puts
the
Robert,
Here's my mod of the original Autocomplete Plug-in:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
It should provide you w/all the functionality you're looking for.
-Dan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Robert James
Paul,
I was thinking about this earlier. I would be nice if there was an
$.ajaxSessionExpired() function. Adobe's SPRY library just released an
update, where if the incoming data request contains just the text session
expired, then they fire off a special event.
Implementing something
I'd have to take a look at your demo page, but it sounds like what you
need to use is the errorPlacement option. That allows you to customize
the placement of generated labels (instead of the default, insert after
invalid element). Let me know if that doesn't work in your scenario.
I guess I
Gareth,
In order to get this to work the way you have it, you'd have to do a
synchronous call to the server, which wouldn't be AJAX (the A is for
asynchronous.) :)
Because the code you have is running asynchronously, the AJAX call is fired
off and then the validation routine continues on its
Jorn,
One thing Id like to see is a way to reset a specific fields error status.
I wrote this as a hack:
// for any input field in the signup
form, add a onfocus event
$(#frmSignUp input).focus(
Jorn,
Also, maybe this has changed in beta 2, but I'd think using the ID
attribute for some fields and the NAME attribute for others is
confusing for the error labels. I'd rather see the use of just the
NAME attribute-so it's consistent across the board.
The idea is to always use IDs, but
Jorn,
Also, while preparing my demo I found I needed to explicitly declare in the
HTML where a validation error might appear for a given form field. I had to
actually go into the code to determine the correct way to format the label
/ tag.
What happens if you want a static message, you
I'm going to be working on a Dashboard for an application that could
contain X number of widgets (a widget would a block element of various
width/heights that would contain charts and various threshold alerts.)
Since a user will be able to configure which widgets are on their
Dashboard, I need
] [mailto:[EMAIL PROTECTED] On
Behalf Of Dan G. Switzer, II
Sent: Friday, March 16, 2007 12:32 PM
To: 'jQuery Discussion.'
Subject: [jQuery] Layout plug-ins / Creating a Dashboard
I'm going to be working on a Dashboard for an application that could
contain X number of widgets (a widget would a block
David,
Do you have a design comp that shows what you are trying to achieve?
Here's a quick dirty example (sorry, I didn't use jQuery--just cut-n-paste
into an html file.)
It defaults to display 5 widgets of various dimensions. If you click the
Show Absolute Position it'll show those same
Please add:
StructKeyExists: function(s,k){
for(var n in s){
if (n == k) return true;
}
return false;
},
Shall we post additions and updates here?
This would be much more efficient:
StructKeyExists:
I'm going to be giving a presentation on jQuery at Spring br / 2007 this
year (http://www.sbconference.com/.)
I'm planning on going over some popular plug-ins and some basic tips/tricks.
Any suggestions?
-Dan
___
jQuery mailing list
Try
window.alert = function (){
$('#ex1a').jqm();
}
-Dan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Alexandre Plennevaux
Sent: Sunday, February 11, 2007 7:51 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Miniscule (1k) Drag'n'Resize for
Matt,
I played around with the Taconite stuff quite a bit 18 months ago or so. I
really like the readability of the XML--it makes it very easy to figure out
what's supposed to happen.
Plus, all changes are driven from the XML, so if you've restructured your
returning record to include more
alert(hello world);
/script
/head
body
/body
/html
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dan G. Switzer, II
Sent: Monday, February 12, 2007 9:39 AM
To: [EMAIL PROTECTED]; 'jQuery Discussion.'
Subject: Re: [jQuery] Miniscule (1k
Dan G. Switzer, II wrote:
However, the verbose XML language is both a plus and a negative. It's
very
easy to read and determine what's going on, but it also means you end up
with much large data packets you need to transfer between the client and
server.
This is not a problem if you already
Paul,
The load() method is asynchronous. You'll need to use the callback to fire
off a trigger to reinitialize your img click handler. Also, I'd only trigger
off the handler for the #content layer.
-Dan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Paul
PS - Your code to prevent caching seems flawed. By using the CF
getTickCount() function the tick count will be hard code into your template.
What you want to do, is use the JS Date() object to get the current
milliseconds.
-Dan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
triggering off the handler
for the #content layer. Will you explain?
-Paul
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dan G. Switzer, II
Sent: Wednesday, February 07, 2007 2:53 PM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] jQuery operations on ajax data
57 different combinations of
settings, and I can't get it to work like your demo (keep typing and the
selections limit themselves).
To that end, do you have any documentation that might help?
Thanks,
SEAN O
Dan G. Switzer, II wrote:
Sean,
Dan, this looks great. I like the Ajax
I've got the following test case that performs quite a bit different between
v1.0.4 and v1.1.1.
In the code below v1.0.4 returns an undefined object for both test
cases--which certainly seems like it would be the expected behavior (I mean
if an element doesn't exist, it shouldn't be returned.)
Jörn,
In case you want to test it with your copy of jQuery, modify pushStack
to look like this:
pushStack: function( a ) {
var ret = jQuery(a);
ret.prevObject = this;
return ret;
},
Yes, that does indeed fix the problem! I guess I should have searched the
archives better.
Gerry,
Probably, but that still does not solve my problem... :(
The default homepage for IE is stored in the registry. Since you have the
many employees, I suspect you have something in place to manage Windows
patches/registry changes for all your users.
I would recommend just pushing out the
Just out of curiosity, are there more than 1 DOM item on the page w/id of
sText?
-Dan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Methvin
Sent: Friday, January 19, 2007 9:09 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] ID of parent
var ej =
Philip,
Viewing the source code in IE6 showed me that you've got some code writing a
script defer tag in IE6. Check all your for the word defer. That should
help you identify the source of the problem.
-Dan
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Philip Pryce
Sent: Friday, January 19, 2007 3:08 PM
To: jQuery Discussion.
Subject: Re: [jQuery] IE bug
So your saying i should remove it? or add it to ones that dont have it?
On 1/19/07, Dan G. Switzer, II [EMAIL
Dave,
$(#login)[0].submit();
Unfortunately that doesn't work either. In firebug I get:
$(#login)[0].submit is not a function
I get the same error with
document.login.submit();
The document.login.submit() would only work if you have a form tag w/the
name attribute of login.
What does
Sean,
Dan, this looks great. I like the Ajax/array flexibility.
Do you have some sample backend code that populates the ajax listbox? (e.g.
your autocomplete.cfm)
Here's the URL to the AJAX template:
http://www.pengoworks.com/workshop/jquery/autocomplete_ajax.cfm?q=sp
That currently returns:
Nate,
Here is a question I have, and perhaps this is doable (I can't see why
not),
but why don't the *box scripts like Thickbox, Lightbox, etc, just write the
CSS in the Javascript file, and eliminate the need to include a CSS file
(or
it's contents in your CSS)?
I'm just giving a general answer
I needed some modifications to the autocomplete library that Dylan Verheul
released, and I wanted to share the modded library:
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
Here are some of the things I fixed/changed:
* Supports local data array (can now use w/out AJAX).
* Limit
box as you type
This probably won't work if you allow searching within a string, and
not just at the beginning of the string.
Best,
Dylan
On 1/12/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
I needed some modifications to the autocomplete library that Dylan
Verheul
released, and I wanted
Does anyone have code that will automatically advance the focus the next
form element in the DOM and if it's the last form element, cycle to the
first form field again?
-Dan
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Dave,
I'm actually looking at it for several uses:
* The autocomplete function I'm using doesn't correctly tab to the next
field if you use the [TAB] key when selecting an option from the keyboard
* Implementing autotabbing to the next field when a certain number of
characters have been typed in
I'm looking for tooltip that supports sticky tips (i.e. trigger via a click
and have to manually close.)
I've looked at the Tip libraries on the plug-in page, but none do what I
need.
Specifically what I'm wanting to do is load an external chunk of HTML when a
user clicks on an object. I know
Jörn,
I guess my click feature is not yet quite what you are looking for,
right? http://jquery.bassistance.de/tooltip/tooltipTest.html Click the
image to see it.
You could just remove the overlay code from thickbox... that should go
into it's own plugin anyway.
No. I need the hide/close
I'm relatively new to jQuery. I've been playing around w/the API a bit and
slowly implementing it into some work.
Today I've been making some modifications to the Autocomplete library to
meet certain requirements of a project. One of the modifications I've made
is to allow local data to be passed
: Extending Autocomplete Plugin...
Dan G. Switzer, II schrieb:
jQuery.fn.autocompleteLocal = function(data, options) {
return jQuery.fn.autocomplete(null, options, data);
}
But this doesn't work. How can I extend the jQuery.fn.autocomplete plug-
in
to do what I want?
Your example doesn't make
55 matches
Mail list logo