I did some tests[1] and noticed that $().load now suffers from the same
double script eval that the OP was complaining about. It seems that
Firefox eval's scripts as soon as they are appended to the DOM tree (and
it's the only browser, as far as I can tell, that does this) so doing
something like
On 17/02/2007, at 6:53 PM, Aaron Heimlich wrote:
It should be noted that I have *never* experienced this double
script eval in any other Windows browser (I don't own a Mac, so I
can't test there).
I ran your test pages with Mac FF2 and four alerts are generated by
the unpatched test
On 2/17/07, Joel Birch [EMAIL PROTECTED] wrote:
I ran your test pages with Mac FF2 and four alerts are generated by
the unpatched test (just like Windows FF) and two alerts in the
patched version. Safari v2 generates two alerts using either version
of the test page, like all other browsers.
So
hcabbos schrieb:
Understood. But all this started with me asking whether to use inline # or
javascript:; for activating a toggle. So my conclusion is if Progressive
Enhancement is what I'm after, I'll use this method:
script type=text/javascript
$(document).ready(function(){
One of the applications that made jQuery is thickbox. I would love to see
some improvement over there.
I think the jquery team has picked it up, how far is it going? To which
directions? What will be the next version?
Wouldn't it be something to hand over to the SoC?
-Original
digital spaghetti wrote:
I know Drupal is in the SoC, I'd love to see some dual enhancments.
For example, check out a plugin for Wordpress called Canvas (nothing
to do with the tag!). It's functionality in Drupal could easily be
replaces with interface sortables, and provide a more visual
Thanks Sam and Kristinn - really excellent help and solutions - I
learnt a lot as well!
Regards,
Bruce
At 03:48 a.m. 17/02/2007, you wrote:
I did something similar once, so I just made some changes this should work:
$( function () {
$([EMAIL PROTECTED]).change( function() {
Hi all,
I want to announce a new plugin for jQuery. I hope you like it.
Cheers,
Francesco
***
jQuick Tag Creator for jQuery
http://jquick.sullof.com
*How it works *
Suppose you want to obtain the following html code:
div class=big
span id=one class=psHello Joei!/i/span
/div
Hi all,
I'm new to jQuery, so please excuse me if this sounds too simple for you.
I'm trying to develop, using jQuery an image switch feature.
It should work like this: there is a big image and below thumbnails.
Once the user clicks on one thumbnail the script should load the big
image
*Not really...
What I mean is :
*
$(document).ready(
function()
{
$('#windowOpen').bind(
'click',
function() {
if($('#window').css('display') == 'none') {
*Not really...
What I mean is :
*
$(document).ready(
function()
{
$('#windowOpen').bind(
'click',
function() {
if($('#window').css('display') == 'none') {
$(this).TransferTo(
{
to:'window',
className:'transferer2',
duration: 400,
complete: function()
{
That is the beginning of the JS code used
Sorry if it is a dumb question but what is a unobtrusive charting plugin?
Is it something to do with bar charts/pie charts/ line charts/ area charts?
-avi
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Resig
Sent: vendredi 16 f?vrier 2007 17:28
Sorry if it is a dumb question but what is a unobtrusive charting plugin?
Is it something to do with bar charts/pie charts/ line charts/ area charts?
-avi
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of John Resig
Sent: vendredi 16 f?vrier 2007 17:28
Very nice site, Joel... that's the first time I've seen the smooth scroll
effect
and it's impressive. Nice design.
Rick
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Joel Birch
Sent: Saturday, February 17, 2007 12:04 AM
To: jQuery Discussion.
Subject:
On 18/02/2007, at 12:36 AM, Rick Faircloth wrote:
Very nice site, Joel... that's the first time I've seen the smooth
scroll
effect
and it's impressive. Nice design.
Rick
Thanks Rick, all credit for the smooth scroll goes to Stefan Petre,
of course. I like using it over a regular
One kind of must-have plugin that has not been mentioned in this thread
is a rich text editor.
Imagine something with the features of FCKeditor and the flexibility of
jQuery
John Resig wrote:
Hey Everyone -
Google's Summer of Code has just opened up for 2007, and I'd love to
have
Just a thought, but can't you use a class to the link and specify the other
id window in the href?
_Not tested_
HTML:
a href=#window class=windowOpenTrigger window/a
JS:
$(document).ready(function(){
$('.windowOpen').click(function(){
var windowId = $(this).attr('href');
Yes, i second this. Although to get to the extends of FCKEditor will take
years...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Olivier Percebois-Garve
Sent: samedi 17 février 2007 15:01
To: jQuery Discussion.
Subject: Re: [jQuery] Google's Summer of
I've changed the examples and their look a bit. Also, added RSS 2.0 feed:
http://dmitriid.com/jquery/en/rss.xml
Dmitrii Dimandt wrote:
Hi all
I've started collecting some examples I've come across while solving
problems using jQuery. I guess they could be interesting to the
community as a
On Feb 17, 2007, at 8:46 AM, Joel Birch wrote:
Thanks Rick, all credit for the smooth scroll goes to Stefan Petre,
of course. I like using it over a regular in-page link because it
gives the user a sense of how they got there rather than a
disorienting sudden change. Glad you like the site
Is it possible to do things like
var storage_for_future;
$.DIV({'class':'big'},
storage_for_future =$.SPAN({id:'one','class':'ps'},'Hello Joe',$.I
({},'!'))
);
and thus inline save references for DOM elements you create?
Andreas
On Feb 17, 2007, at 11:42, Francesco Sullo wrote:
Hi
Avi, there's never a dumb question here bud. Feel free to ask away and
we'll always try to help.
I'm sure that it does have to do with creating the chart types that you
mentioned.
Rey
Avi Mehta wrote:
Sorry if it is a dumb question but what is a unobtrusive charting plugin?
Is it
Yes, indeed IMO. The main issues with common web interfaces is what i call
rupture: brutal changes disturb the user's concentration, he has to find
back where he was and has no clear view of the page structure. The smooth
scroll let the user keep track of where he is on the total page surface,
Yep! And for it to be unobtrusive, it would load its data from a
nicely-formed table of information. That way both screenreaders and
regular users get the most benefit from the display.
--John
On 2/17/07, Avi Mehta [EMAIL PROTECTED] wrote:
Sorry if it is a dumb question but what is a
Wow. I completely understand. You've opened my eyes in more ways than one. I
hope my newbie question has resulted in an education for all of us.
Incredible insight Klaus. YOU ARE THE MAN!
Klaus Hartl wrote:
hcabbos schrieb:
Understood. But all this started with me asking whether to use
On 18/02/2007, at 2:05 AM, Rey Bango wrote:
I've added the site Joel. Very nice work.
Thank you for submitting it and for using jQuery.
Rey
jQuery Project Team
Oh that's rich - *you* are thanking *me*? ;)
On the contrary jQuery Team, thank YOU - I love you guys!
On 18/02/2007, at 1:55 AM,
On Feb 17, 2007, at 10:22 AM, Joel Birch wrote:
My thoughts exactly Karl.
On another note, I just created a simple plugin (my first ever!) that
I have applied to the Preshil site and may ask for feedback tomorrow
if it still seems like a good idea after a good night's sleep (its
late here). It
On 18/02/2007, at 2:41 AM, Karl Swedberg wrote:
On Feb 17, 2007, at 10:22 AM, Joel Birch wrote:
My thoughts exactly Karl.
On another note, I just created a simple plugin (my first ever!) that
I have applied to the Preshil site and may ask for feedback tomorrow
if it still seems like a good
I missed some brackets and didn't wrap windowId with the jQuery object.
Let's try this one (not tested either, yet):
$(document).ready(function(){
$('.windowOpen').click(function(){
var windowId = $(this).attr('href');
if($(windowId+':hidden')) {
Cheers guys, perfect, going to have a look at it now :¬)
_
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Sam Sherlock
Sent: 17 February 2007 03:30
To: jQuery Discussion.
Subject: Re: [jQuery] Google analytics jquery
Hi Toby,
have you seen this page
Ø seems much better than the default quick jump
Ø because of the disorienting sudden change that you mention.
Absolutely true, Karl. The biggest problem with those new to the Internet
(and, yes, there are such people still around) is the jumping around
between
pages, from one part of the
I really like the way it works too, and it falls back fine easily with no
JS.
Any way of tweaking the tween/animation/scroll so it eases in/out?
Here's my newbie jQuery site www.tobybrancher.net
http://www.tobybrancher.net/ it's the first time I have used it and
definitely needs some
Hey Toby,
Nice site!
I wrote an entry on Learning jQuery about blurring links:
http://www.learningjquery.com/2006/10/quick-tip-blur-links
Hope that helps.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Feb 17, 2007, at 12:15 PM, Toby wrote:
I really
I think I can do a project on unobtrusive charting if you people agree :) I
had posted the same plugin for drupal about 3-4 days back here
http://drupal.org/node/117738. Comments there point out that a server-side
creation or SVG would be a better way to do it.
avi
--
Unfortunatelly I have no alert... so I've written other alerts:
alert('variable crée!'); =OK
alert('test hidden passé!'); =OK
alert('window launched!');=NO
why... maybe TransferTo but why?
function(){
var windowId = $(this).attr('href');
alert('variable
John Resig schrieb:
Yep! And for it to be unobtrusive, it would load its data from a
nicely-formed table of information. That way both screenreaders and
regular users get the most benefit from the display.
How cool is that!
-- Klaus
___
jQuery
Karl Swedberg schrieb:
On Feb 17, 2007, at 8:46 AM, Joel Birch wrote:
Thanks Rick, all credit for the smooth scroll goes to Stefan Petre,
of course. I like using it over a regular in-page link because it
gives the user a sense of how they got there rather than a
disorienting sudden
That is an interesting issue, I tested your code and view generated source
in FF and I get this:
divform1input value=Fred type=text/formdiv/div/divinput
value=Harry type=text
I'd be very curious to know the answer to this one.
But since I don't have an answer, what I am doing on a current
I would def find that useful.
Is it possible to do things like
var storage_for_future;
$.DIV({'class':'big'},
storage_for_future =$.SPAN({id:'one','class':'ps'},'Hello
Joe',$.I({},'!'))
);
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
ok, now that the smooth scrolling has Klaus's blessing :) ... I
thought I'd share some code I wrote to make it happen for all same-
page links. It takes into account the difference in the way the
various browsers treat href.
Oh yeah, now that Brandon has fixed that for .attr('href') in the
Karl Swedberg schrieb:
ok, now that the smooth scrolling has Klaus's blessing :) ... I thought
I'd share some code I wrote to make it happen for all same-page links.
It takes into account the difference in the way the various browsers
treat href.
Oh yeah, now that Brandon has fixed that
where can i get a copy of the jquery logo, other than swiping it out of the
site template?
it would be useful for the presentation i'm putting together.
thanks!
- jason
--
View this message in context:
http://www.nabble.com/jquery-logo-art-tf3245929.html#a9023355
Sent from the JQuery
Hi there,
I am using jqModal now for a nice intro overlay on the frontpage of a
customer and want to have a link within the jqModal overlay that opens a
sub page. Of course I can simply put a link into it, but when I click
this then it opens the page while the overlay still stays in the
Yes. Differently from other quick tag generators, jQuick is jQuery
specific. This is an advantage because anything you can do with jQuery
is possible with jQuick methods.
Is it possible to do things like
var storage_for_future;
$.DIV({'class':'big'},
storage_for_future =
Sweet, I may be switching what I am using now to this plugin.
On 2/17/07, Francesco Sullo [EMAIL PROTECTED] wrote:
Yes. Differently from other quick tag generators, jQuick is jQuery
specific. This is an advantage because anything you can do with jQuery is
possible with jQuick methods.
Is it
Nice slide implementation on the headings, Toby.
Did you use a menu plug-in for that or just a hide/show effect?
Rick
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Toby
Sent: Saturday, February 17, 2007 12:16 PM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] jQuery Powered
It hasn't been fixed yet.
http://jquery.com/dev/bugs/bug/910/
--
Brandon Aaron
On 2/17/07, Bruce McKenzie [EMAIL PROTECTED] wrote:
I've got an app where I want the user to be able to add and submit
forms. [ I'm using v 1.1.1 ]
In the case of the following:
$(function(){
var
On 18/02/2007, at 6:13 AM, Karl Swedberg wrote:
ok, now that the smooth scrolling has Klaus's blessing :) ... I
thought I'd share some code I wrote to make it happen for all same-
page links. It takes into account the difference in the way the
various browsers treat href.
Thanks for
Thanks brandon.
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
So far I have this:
$(document).ready(function(){
if ($([EMAIL PROTECTED]'checkbox']).is(:checked)){
$(div.sub2).hide(slow);
}
else if ($([EMAIL PROTECTED]'checkbox']).not(:checked)){
I think something like below with work.
$([EMAIL PROTECTED]'checkbox']).bind('change', function(){
// you code
});
On 2/17/07, Gorkfu [EMAIL PROTECTED] wrote:
So far I have this:
$(document).ready(function(){
if ($([EMAIL PROTECTED]'checkbox']).is(:checked)){
I would try somehting like this:
$(document).ready(function(){
$('[EMAIL PROTECTED]'checkbox']).change(function(){
If ($(this).is(:checked)){
$(div.sub2).hide(slow);
}
else
{
On Feb 17, 2007, at 4:36 PM, Joel Birch wrote:
On 18/02/2007, at 6:13 AM, Karl Swedberg wrote:
ok, now that the smooth scrolling has Klaus's blessing :) ... I
thought I'd share some code I wrote to make it happen for all same-
page links. It takes into account the difference in the way the
On 18/02/2007, at 10:21 AM, Karl Swedberg wrote:
By using this.hash and limiting it to links with the scrolls class,
you seem to have things covered.
A phew, that's a relief. Thanks for clearing that up for me Karl.
Joel.
___
jQuery mailing list
Thanks for the suggestion I must be blind, since I didn't see the change
event when i was going through them. It works like a charm, thanks.
Now to figure this out for multiple levels such as..
checkboxA1
checkboxA2
checkboxA3
checkboxA3
checkboxB1
Around line 310 of iautocompleter.js there is a line like this:
if (/13|27|35|36|38|40|9/.test(pressedKey) jQuery.iAuto.items) {
While keycode 9 is the enter key, the regex there also matches for any
other keycode with a 9 in it. I know there's a nice looking regex way
to fix this but it's
Hi,
I have a form that has several fields which are common for all
actions. There are other fields in the form that need to be
conditionally displayed based on the type of post being made.
I know how to show a div with the extra fields based on what option
the user selects in a HTML select field.
Thanks guys,
Cheers for the link too Karl I noticed it still blinked focus so I looked
a little further and figured its possible to do this
$(a).focus(function(){
this.blur();
});
This fixes the little drag-out problem too, woohoo!
@ Rick Did you use a menu plug-in for that
Alex,
I would do something like:
var optionstoform = {
roadtrip : 'roadtripform.htm',
vanpool : 'vanpoolform.htm'
};
and on the select menu put a vanpool, roadtrip as the value of the options
and bind a change event to it, which i think you have already, and do a
$.load or $.ajax call that
Wow. I leave my computer for 24 hours and I get answers from John Resig,
Yehuda Katz and Mike Alsup. I love the jQuery community (and jQuery itself,
of course).
Mike:
Yes, adding to an empty array then jQuery'ing it would work; it's how I
originally structured my code. Adding to a jQuery
To select specific elements, the cool kids all use custom selectors (not very
well documented, but see
http://docs.jquery.com/Plugins/Authoring#Using_jQuery.extend_to_extend_jQuery_itself
and
http://www.softwareunity.com/sandbox/JQueryMoreSelectors/ )
Basically, extend jQuery.expr[':'] with a
One thing to remember is that selectors are applied in order.
$('td:nth(3):positive') gives you the positive numbers that are in the
fourth cell,
$('td:positive:nth(3)') gives you the fourth positive cell, probably not
what you want
Danny Wachsstock wrote:
To select specific elements, the
Thanks for the lesson Danny! I'd love to be a cool kid :-)
I haven't had the time to fully grok what either you or Kristinn showed me,
but it opened a door to understanding and I definitely appreciate that.
r.
Danny Wachsstock wrote:
To select specific elements, the cool kids all use
Well I think you get the idea to add the link trigger with the anchor in the
href and use it as an id for the new jquery object.
I think that problem comes from the plugin syntax, you may take a look at
it. I don't think i can help you with that.
Regards
On 2/17/07, [EMAIL PROTECTED] [EMAIL
On 2/17/07, Toby [EMAIL PROTECTED] wrote:
$(a).focus(function(){
this.blur();
});
This fixes the little drag-out problem too, woohoo!
Hate to rain on your parade, but doing that make all links completely
inaccessible to people who navigate using a keyboard instead of a mouse.
--
Aaron
65 matches
Mail list logo