On Apr 9, 2007, at 4:31 PM, Geoffrey Knutzen wrote:
Again,
Press send, find answer.
I answered my own question
$(table).css(borderCollapse,collapse)
I had led myself down the wrong path and was totally lost
Thanks anyway
Hi Geoff,
that's fine if you want to *set* the borderCollapse
I am not sure I understand fully, but maybe this will help?
function showReplyBox(itemId,parentId)
{
var box = $('#comment-reply-box');
var itemBox = $('#comment-item-'+itemId);
var parent_id = $('#parent_id');
parent_id.val(parentId ? parentId : itemId);
Hi,
the last two days i argue about how to handle (re)binding event
handlers in a most elegant and un-redundant way when i work with
asynchron injected files. I worked with prototype/Behaviour for the
last couple of month, so i need a good approach to refactor this
within jquery.
So
Karl Rudd schrieb:
What do you mean by required tag? Do you mean the attributes in the
tag/element, like src=pic1?
If you want the src attribute of the element you have selected you
could do this:
alert( $(#k img).get(i).attr('src') );
No, that will throw an error, because at this point:
Klaus Hartl schreef:
No, that will throw an error, because at this point: $(#k
img).get(i) you already have a reference to the DOM element itself.
Thus the following will work:
$(#k img).get(i).src
or stick to jQuery:
$(#k img).attr('src')
it's it $(#k img).eq(i).attr('src').
--
David
In the example below id's (first_li, second_li, etc) are only used
for debugging purposes.
http://www.appelsiini.net/~tuupola/jquery/bugs/click-1.1.2.html
I have nested lists. When clicking li element of parent list it
sibling ul will be hidden and shown. This works as expected.
On Apr 10, 2007, at 12:48 PM, Mika Tuupola wrote:
http://www.appelsiini.net/~tuupola/jquery/bugs/click-1.1.2.html
Problem is clicking li element in sibling list will hide sibling
(itself). Loggin to console shows (check element id) that the click
event was fired on parent element.
Yes you're both correct. I wrote things out too quickly.
Karl Rudd
On 4/10/07, David Duymelinck [EMAIL PROTECTED] wrote:
David Duymelinck schreef:
Klaus Hartl schreef:
No, that will throw an error, because at this point: $(#k
img).get(i) you already have a reference to the DOM element
Correct. Only Internet Explorer supports outerHTML. Even innerHTML
started off as a Microsoft only thing, but because it was used so
widely other browsers have adopted it as a defacto standard.
What are you trying to do that you need to use outerHTML?
Hi everyone in this thead, I was about
You might find the copyEvents plugin of interest.
http://brandon.jquery.com/plugins/copyEvents/
--
Brandon Aaron
On 4/10/07, Olaf Gleba [EMAIL PROTECTED] wrote:
Hi,
the last two days i argue about how to handle (re)binding event
handlers in a most elegant and un-redundant way when i work
I currently retrieve all pictures of my gallery with the following PHP
code
$files = getFiles ($d);
if (count ($files) 0) {
foreach ($files as $key = $f) {
echo img align=\center\ src=\$f\brbr;
}
}
simply adding picture after picture. But since there will be many more
You could try this, it's a bit sloppy but what the heck...
$.fn.outerHtml = function() {
$this = $(this);
var h = $this.html();
var s = $this.wrap(div/div).parent().html();
$this.empty().html(h);
return s;
};
div id=A
div id=B
Good ideas. Thanks.
[EMAIL PROTECTED] wrote:
I agree with Brandon - you are usually better off wrapping your
content in a #wrapper div.
Also, I'm not sure why you need to do this programatically.
With your current code, set position:relative on the body tag - now
you should be able to
Dan - thanks for the revised instructions! I got everything working
yesterday - today I need to look at the authentication issue...
Quick question - how do you move the selected value into a hidden form
field?
Thanks again!
Jim
-Original Message-
From: Dan G. Switzer, II
Well... at least I'm not the only one. I belong to some other lists,
where it's very common to find legitimate job postings... that's the
only reason I questioned it. :o'
Chris
Jake wrote:
it's up to us to police the list... any chucklehead can join and post...
and many do!
inside gmail,
Thanks Aaron, I'm going to give those a try.
Brian
On Apr 9, 10:25 pm, Aaron Heimlich [EMAIL PROTECTED] wrote:
Web Page Analyzer[1] might be able to help too
[1]http://www.websiteoptimization.com/services/analyze/index.html
On 4/9/07, Giant Jam Sandwich [EMAIL PROTECTED] wrote:
Added:
- GameGum Free Flash Games
- ToonGum ToonGum is a flash cartoon community. View, submit, and
interact with our many flash cartoons and large community.
- Penumbra:Overture Penumbra: Overture is a first person adventure game
which focuses on story, immersion and puzzles.
Keep the
Jim,
Quick question - how do you move the selected value into a hidden form
field?
Use the findValue() method to look up the data in the input element. How you
trigger it is up to you, but remember that the findValue() is an
asynchronous event--so you must define the onFindValue mapping in
In your foreach loop, instead of printing out the image, place all the
src references into a JavaScript array. Then, you would do something
like the following (this is a high level abstraction):
myImgSrcArray // array containing all your src references
curPos = 0
$(function(){
Fabyo,
Try:
var teste = $(#obj);
alert(teste.scrollTop);
You need the # prefix to designate an id. (and a . prefix for class)
Native elements, like body, can be directly addressed ( e.g. $(body) )
___
SEAN O
http://www.sean-o.com
Fabyo wrote:
it functions:
Hello friends!
I have a long, scrollable div containing a (long) list of (short) news
items, organized by date descending.
We put news of events already on for the coming months, so in fact, by
default the first news displayed are way ahead of now.
So i'm looking for a way to have the div
There are three items with IDs ('#comment-reply-box', '#comment-
item-'+itemId and '#parent_id' ) in document.
I need to create a div dynamically, and add #comment-reply-box into
this div and then I need to append this new div into '#comment-
item-'+itemId
Optionally, this new div can be
It's really a very nice plugin. Nice work.
- Original Message
From: Chris W. Parker [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Monday, April 9, 2007 12:12:21 PM
Subject: [jQuery] Re: General discussion
On Monday, April 09, 2007 11:38 AM Diego A. said:
The name says it
-Original Message-
From: Dan G. Switzer, II [mailto:[EMAIL PROTECTED]
Just remember that if you call the findValue() on the field's
onBlur event
that due to the asynchronous nature, that unless you program
something in to
handle it, a user could potentially submit a form
I looked around the group for something similar but couldn't find any
issue that's similar. I'm using the Interface autocompleter, and it
works properly and all, for some reason, the hovering effect takes
place elsewhere on the page, and I can't figure out how to properly
place it on the results
Hello,
I want to load some html content that changes over time, so I need to poll
the server for changes from time to time. Could anyone point me to an
example of how to do this? The documentation I found contains no example...
I tried the following:
$.ajaxSetup( {
timeout: 5000
} );
Joern committed a patch for this the other day:
http://dev.jquery.com/browser/trunk/plugins/metadata/lib/jQuery/metadata.js
I hope this helps!
--John
On 4/10/07, Marshall Salinger [EMAIL PROTECTED] wrote:
Diego A. wrote:
I've been fighting with this bug too and I believe I've found the
I've been implementing Dan Switzer's autocomplete plugin on my site and
I have everything sort of working (thanks Dan!) but ran into an issue
with authentication. My site uses Windows Integrated Authentication (on
IIS) and every Ajax request kicks off a login prompt...
Dan found this:
Also - how can I re-compress my source with this modification included?
I don't know about your first question, but to answer your second
question, google search for javascript packer. You'll find this:
http://dean.edwards.name/packer/
Good luck.
--Erik
I vaguely remember there being some issue with older versions of Firefox
that this solved, but don't quote me on that.
Oddly enough, Ajaxian just had reference to a blog entry that talks about
Prototype's fix for this:
/* Force Connection: close for older Mozilla browsers to work
* around a bug
Correct, this was a work around for a pre-1.5 FF issue. My notes on
it say see mozilla bug #246651 but I remember thinking that jQuery
was using the same work around as another js library (prototype?) and
that that project had its own bug to get rid of the work around. I
thought I saw that the
thank you John, it always bothered me!
On 4/10/07, John Resig [EMAIL PROTECTED] wrote:
Personally, I think this fix should just be removed - especially
considering that we don't even support versions of Firefox, that old,
any more.
--John
On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED]
Ditto :)
On 4/10/07, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
thank you John, it always bothered me!
On 4/10/07, John Resig [EMAIL PROTECTED] wrote:
Personally, I think this fix should just be removed - especially
considering that we don't even support versions of Firefox, that old,
any more.
I actually need to override mime type! It was very confusing that the only
reference to it was to close the connection! All is well now! But closing
the connection still bothers me!
On 4/10/07, Ian Struble [EMAIL PROTECTED] wrote:
Correct, this was a work around for a pre-1.5 FF issue. My
For some reason, the result data is also being written to other
unordered lists on my page along w/ the actual results box. Anyone
know why this might be?
On Apr 10, 11:55 am, vsanghvi [EMAIL PROTECTED] wrote:
I looked around the group for something similar but couldn't find any
issue that's
John,
Personally, I think this fix should just be removed - especially
considering that we don't even support versions of Firefox, that old,
any more.
Perhaps we remove it, but add code there to allow custom headers to be set.
That way if someone needs some additional headers set (or needs to
On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
Perhaps we remove it, but add code there to allow custom headers to be
set.
They should already be able to do that with the beforeSend option[1][2], but
your way looks easier
[1] http://docs.jquery.com/Ajax#Options
[2]
They should already be able to do that with the beforeSend option[1][2],
but your way looks easier
[1] http://docs.jquery.com/Ajax#Options
[2] http://dev.jquery.com/browser/trunk/jquery/src/ajax/ajax.js#L644
One other benefit with my change, is you could get rid of this line:
637 // Set
Hi folks,
I just wanted to let y'all know that I've added a few new functions to
the cfjs plugin. They seem pretty basic, but I thought we should have
them anyway.
Added 04/10/2007:
IsArray( value )
IsDefined( value )
IsStruct( value )
one thing to note is that (for now) the
I like this approach. Could you create an enhancement ticket for this?
--
Brandon Aaron
On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
They should already be able to do that with the beforeSend option[1][2],
but your way looks easier
[1] http://docs.jquery.com/Ajax#Options
[2]
Matt this looks promising. I hope you'll let the list know when it's
been adapted to a jQuery plugin! (And in my experience, sick kids
don't mix well with ANYTHING!)
On Apr 9, 10:47 am, Matt Kruse [EMAIL PROTECTED] wrote:
I am trying to finish up my tablesorting/paging/filtering plugin
emi polak schrieb:
Hello,
I want to load some html content that changes over time, so I need to
poll the server for changes from time to time. Could anyone point me
to an example of how to do this? The documentation I found contains no
example... I tried the following:
$.ajaxSetup( {
Jonathan, thanks for taking time to reply with an excerpt from the
book. I have to assume that for potentially large recordsets my best
bet is to hand off to the server for sorting/paging rather than
storing thousands of rows browser-side. Would you agree?
On Apr 9, 2:50 pm, Jonathan Chaffer
Hi, all...
Here's the function: (Thanks, Dan...)
script type=text/javascript
function superCoolValidator(value,element,params) {
if(isNaN(parseInt(value.replace(/[\$\,\.]/,{
return false;
}else{
Dan G. Switzer, II schrieb:
They should already be able to do that with the beforeSend option[1][2],
but your way looks easier
[1] http://docs.jquery.com/Ajax#Options
[2] http://dev.jquery.com/browser/trunk/jquery/src/ajax/ajax.js#L644
One other benefit with my change, is you could get
Joern's patch...
if ( this.nodeType == 9 || $.isXMLDoc(this) || this.metaDone ) return;
...is the real thing and I'll go with that.
I'll update my blog post and point to the new patch.
Thanks John!
On Apr 10, 6:27 pm, John Resig [EMAIL PROTECTED] wrote:
Joern committed a patch for this the
On Apr 10, 2007, at 16:05 , Paul Malan wrote:
Jonathan, thanks for taking time to reply with an excerpt from the
book. I have to assume that for potentially large recordsets my best
bet is to hand off to the server for sorting/paging rather than
storing thousands of rows browser-side. Would
didn't someone post a version jQuery.extend that could act recursively on
nested objects?
On 4/10/07, Brandon Aaron [EMAIL PROTECTED] wrote:
Yeah just like most plugins do with their options.
--
Brandon Aaron
On 4/10/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
Jörn,
462
Thanks for the update John and thanks for the patch Joern! I am now
using the latest version and everything is working as expected.
-Marshall
John Resig wrote:
Joern committed a patch for this the other day:
http://dev.jquery.com/browser/trunk/plugins/metadata/lib/jQuery/metadata.js
I
Rick Faircloth schrieb:
Hi, all...
Here's the function: (Thanks, Dan...)
script type=text/javascript
function superCoolValidator(value,element,params) {
if(isNaN(parseInt(value.replace(/[\$\,\.]/,{
return false;
Brandon Aaron schrieb:
Yeah just like most plugins do with their options.
Sure, but ajaxSettings are the default options for the ajax method. It
seems like a bad idea to me to nest those defaults.
// ugly:
jQuery.extend(jQuery.ajaxSettings.headers, {
myHeader: myValue;
}
And
Rick,
Here's the addMethod line:
$.validator.addMethod(superCoolValidator, superCoolValidator,
Your input is not super cool!);
rules: {
//Principal: {required: true,
//digits: true},
Interest: {required: true,
Dan G. Switzer, II schrieb:
Rick,
Here's the addMethod line:
$.validator.addMethod(superCoolValidator, superCoolValidator,
Your input is not super cool!);
rules: {
//Principal: {required: true,
//digits: true},
Interest:
Quick question: is it possible to bunch rules together
in Jorn's validator, similar to how you can bunch
cases in a switch statement?
Ex:
rules: {storyscore: {required: true},
story: {required: true},
animationscore: {required: true},
Another approach would be to print out the images like:
echo img align=\center\ src=\$f\ style=\display: none;\
class=\photo\brbr;
Then the following jQuery code:
$(function(){
$('img.photo:first').show();
$('img.next').bind('click', function() {
Find Your Programming Job Vacancy and resources here --
http://www.jobbankdata.com/job-programming.htm
Kim Johnson schrieb:
Quick question: is it possible to bunch rules together
in Jorn's validator, similar to how you can bunch
cases in a switch statement?
Ex:
rules: {storyscore: {required: true},
story: {required: true},
Well, it looks like I'm making progress...
I needed to change
if ( isNaN ( parseInt ( value.replace ( /[\$\,\.]/,
to
if ( isNaN ( value.replace ( /[\$\,\.]/, )))
because I don't want to parse what's left. If there's anything
besides digits, dollar signs, commas, and periods in the
Can anybody tell me if this is feasible at all, or has any experience in
this?
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alexandre Plennevaux
Sent: mardi 10 avril 2007 17:51
To: jquery-en@googlegroups.com
Subject: [jQuery] Center on
I would have to agree with you. If you're *already* gzip-ing your
JavaScript, then packing doesn't make much sense. That said, the packed
version is great for those that either don't know how to set up their server
to do that, or don't have that kind of control (i.e. shared hosting).
Also,
I haven't looked at the code, but when I see flatData.reverse() I
wonder...are you sorting the regular way and then the reverse (as in two sorts)
even if the sortDir is initially set to sort the reverse direction?
If so, it might be nice to avoid that.
- Original Message
From: Chris
Can we have some sort of test to sign up to the group? like Please write the
jQuery code to extract all images and alert their respective
hrefhahahat least even the spammers would be jQuery users then. :)
- Original Message
From: Ⓙⓐⓚⓔ [EMAIL PROTECTED]
To:
CopyEvents still rebinds the events, just hides the implementation for you. You
could try to just replace the text inside the anchor tags instead, that way you
never actually clear the anchor tag itself.
you could also go in the direction of each anchor tag calling a common function
on click
Could you just say:
function innerHTML(node) {
var id = node.id;
$(this).parent().children().each(function() {
if ($(this).id == id)
return this;
});
}
and then just use what you need from there?
- Original Message
From: Christian Bach [EMAIL PROTECTED]
To:
I wish there was a way of editing my past posts...
So i got frustrated w/ this earlier, and decided to try it later. So i
came back, and thought, what happens if there are no other ul/ul
objects... Well, if there aren't any, it seems the autocompleter works
just fine. Once I add one in, it
No, they have different id's. Although i think Interface just
dynamically creates a ul and might not give it an id. That might
explain the effect that I'm seeing...
On Apr 11, 12:12 am, Ariel Jakobovits [EMAIL PROTECTED] wrote:
similar id's?
- Original Message
From: vsanghvi [EMAIL
see the ScrollTo functionality at: http://interface.eyecon.ro/docs/fx
- Original Message
From: Alexandre Plennevaux [EMAIL PROTECTED]
To: jquery-en@googlegroups.com
Sent: Tuesday, April 10, 2007 5:28:15 PM
Subject: [jQuery] Re: Center on current date
Can anybody tell me if this is
67 matches
Mail list logo