abba bryant schrieb:
For some reason if I load the page and click some tab the hash changes. If I
then copy the address from the address bar, and reload the initial page the
hash stops changing on tab click. The tab content loads fine. Also if I
bookmark tab 3 and then go to tab 1, then load
Jörn Zaefferer schrieb:
Glen Lipka schrieb:
Would this work onKeyPress? I think I get where you are going.
Struggling. :(
Sure, just apply the validator on keypress:
$(form input).keypress(function() {
$(this).validate();
});
I you have ideas to make the plugin easier to use,
I'm not sure if this works or not. I see three grey boxes, but Firebug isn't
outputting a thing. I have the correct settings on to get messages and
output, but nothing, nada.
John Resig wrote:
Hi Everyone -
I'm currently down-and-out with a nasty cold, but I took a break and
hacked up a
Hmm...
Actually it does work but requires the page to refresh before it does
anything!
It looks cool John!
Dan Atkinson wrote:
I'm not sure if this works or not. I see three grey boxes, but Firebug
isn't outputting a thing. I have the correct settings on to get messages
and output, but
Great. How is the widget pack going? Are you attempting to unify the various
authors' coding techniques or is the priority simply to get them together in
one place/plugin?
George
wycats wrote:
It's also a widget that might be featured in the jQuery widget pack I'm
putting together.
--
Yes. I see now. Unfortunately, as Klaus said, jQuery no longer has this edge
as other developers have cottoned on to this.
Why unfortunately? A great concept was invented here, and that's *very*
fortunate. Thank you John, be proud :)
-- Fil
___
Hey Klaus
And the using it like this:
input validate=pattern:###-###-## /
And I still vote for doing in a standards compliant way...
As an alternative, you can still do it standards-compliant (or write an XHTML
module):
input class=$v(pattern:###-###-##) /
The plugin checks the
Good work Franck.
Indeed. And it looks like he's added quite a bit to it since the
original. Cool.
Mike
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
- The addition of mousewheelup/mousewheeldown methods.
Are these really necessary? I think adding these might increase the
code considerably without much more benefit. The mousewheelup/down is
represented by the event.detail and/or event.wheelDelta. Although the
event.detail and event.wheelDelta
- The addition of mousewheelup/mousewheeldown methods.
Are these really necessary? I think adding these might increase the
code considerably without much more benefit. The mousewheelup/down is
represented by the event.detail and/or event.wheelDelta. Although the
event.detail and
Seems pretty nice.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rey Bango
Sent:
Apologies Mark (Gibson) I've had mails from two Marks on this topic and I got
your surnames muddled. Sorry.
(the other Mark was working on SpinButton improvements too)
I've corrected your name on this post and in the JQuery Plugins page.
Thanks again, great stuff,
George
Mark Gibson-8 wrote:
Seems to work fine for me in IE6/PC. But I'm not sure what the difference
between one and two is.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
Safari in its current released version is hopeless.
I take that back. I'll do some testing and see what I can figure out
to make this work in Safari.
Also, sorry for not putting the [jQuery] tag on this thread and
continuing to reply to my own thread. :)
Brandon
Good work Franck.
Indeed. And it looks like he's added quite a bit to it since the
original. Cool.
Hey,
I've reported to the list regularly: http://jquery.com/discuss/2006-May/#4964
;-)
Franck.
___
jQuery mailing list
discuss@jquery.com
Brian ha scritto:
Perhaps there should be a FastSerialize method, that doesn't guarantee
semantic order, and uses every shortcut to cut down on dom-walking time?
This way, the developer can choose whether to use the faster method, or
the slower-but-correctly-ordered method.
- Brian
Quote Andy Seems to work fine for me in IE6/PC. But I'm not sure what the difference
between one and two is.Test1...the box will scroll out of view (off the top of the page)whereas Test2 will remain staticthe page does not scroll
___
jQuery mailing
Here's an idea:
label for=foo class=validate 000h000h00/label
input name=foo id=foo type=text /
It's HTML 4.01, will probably pass for strict, and it semantically
separates the validation from the field. The idea is that for every label
with class validate, there's a validation mask somewhere
I don't think that, technically, things like parens and colons are
permitted in a class.
As an alternative, you can still do it standards-compliant (or write an
XHTML module):
input class=$v(pattern:###-###-##) /
The plugin checks the class if there is no validate attribute.
-- Jörn
is there a preferred way to preload images when site uses jquery? how
do you usually preload images?
Aljosa Mohorovic
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I agree with Brian about the need of a FastSerialize method.
Renato,
I've been benchmarking these serialize methods on a form with one
select element that has 2000 options. Using the Firebug timer to
capture elapsed time for the serialize call I see negligible
difference in your impl and the
I
see...
I
didn't use the mousewheel enough to make it go off the
bottom.
Just a
note, now it's not working in IE at all.
!//--andy matthewsweb
developercertified advanced coldfusion programmerICGLink,
Inc.[EMAIL PROTECTED]615.370.1530
x737--//-
I could invite brazilians speaking portuguese on the mp3... idkloli just know 3 brazilians who know jQuery, me and my 2 friends... and that's serious...2006/9/28, Dan Atkinson
[EMAIL PROTECTED]:I mean that jQuery no longer has this edge on 'competitors'.
Fil wrote: Yes. I see now. Unfortunately,
i know i should only talk about jquery but im playing here and did it. I think it's funny for me =Ohow easy it is to make a web2.0 logo huahuahusorry guys... ah, if you want to, take it for u okay... =)
http://hypestudio.net/fael/logo_web2.gif
___
jQuery
Yes. There are several sites that can create 'web 2.0' and 'beta' logos.
Do a cursive Digg search to find a trillion and 65 stories on them.
Rafael Santos wrote:
i know i should only talk about jquery but im playing here and did it. I
think it's funny for me =O
how easy it is to make a
This is all that's needed:
$('#mySelect').val()
If you wanted the text value of the selected option rather than it's
value attribute, you could do:
$('#mySelect :selected').text()
m.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rey Bango
Sent:
On 28/09/06, Jason Levine [EMAIL PROTECTED] wrote:
Hi,
I've completed work on a new JQuery plugin. This one is called JTicker. It
is a highly configurable newsticker plugin for JQuery. I was going to expand
the JHeartbeat plugin a bit more before working on this, but I couldn't wait.
That did the trick! Thanks Matt.
Rey
Matt Grimm wrote:
This is all that's needed:
$('#mySelect').val()
If you wanted the text value of the selected option rather than it's
value attribute, you could do:
$('#mySelect :selected').text()
m.
-Original Message-
From: [EMAIL
Hey Dizzle,
Thanks for the help man. The code that Matt provided worked perfectly
and is a little easier:
$('#mySelect').val()
Thanks for the effort though. I really appreciate it.
Rey
dizzledorf wrote:
Rey,
How about:
var foo = $('#mySelect').attr(value);
Seems to work here in FF
Rey,
To my knowledge, the latter is an XPath selector that says get all
options with an attribute of selected (like option
selected=selected), while the former is a dynamic pseudo-selector
that will get the actual physically selected option value at run-time.
m.
-Original Message-
Now that is works in the major browsers I'll think about adding the
mousewheelup and mousewheeldown but I'm still thinking it will just
add unecessary complication to the code.
I don't think it'll complicate it at all - it's like saying that
.mouseup() and .mousedown() are complicated and
the http://jquery.com/src page has been vandalized. I'd fix it but dont know
how to restore the old version.
--
View this message in context:
http://www.nabble.com/http%3A--jquery.com-src-page-vandalized-tf2351675.html#a6549010
Sent from the JQuery mailing list archive at Nabble.com.
After checking the W3C spec, it doesn't say much about what is and isn't
legal in a class in HTML. It simply says that it's a CDATA. But, the
examples in the spec doc do allow hyphens. I'd be cautious about what
characters I use in a class, because CSS is stricter about what may be in
a
John Resig schrieb:
On 9/28/06, Marc Jansen [EMAIL PROTECTED] wrote:
I can see nothing, too.
even more my console on FF 1.5.0.7 says console is not defined (L.
6)... and that just after loading.
nice idea, though.
That means that you have to have the Firebug extension install for
Mike,
Where are you finding the Firebug timer? I'm not seeing much of a
performance boost using the for loop, but without a true timer, it's not
a fair test...
m.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Thursday, September 28,
abba bryant wrote:
mind fixing the demo link so we don't all have to look at a 403 page?
As i posted in another thread, the jButton code is now located at:
http://gilles.jquery.com/jButton/
Sorry for the 403's!
-- Gilles
___
jQuery mailing list
Where are you finding the Firebug timer? I'm not seeing much of a
performance boost using the for loop, but without a true timer, it's not
a fair test...
Look at the measurement section here:
http://www.joehewitt.com/software/firebug/docs.php
My test func looks like this:
$(function() {
Matt Grimm schrieb:
Rey,
To my knowledge, the latter is an XPath selector that says get all
options with an attribute of selected (like option
selected=selected), while the former is a dynamic pseudo-selector
that will get the actual physically selected option value at run-time.
m.
From: Mike Alsup
Mike Geary, I haven't yet implemented your outline.
I like it stylistically, but I not expecting performance
improvements. Would you agree or would you
expect it to be faster than Renato's impl?
I think it depends on the nature of the form. For a form with a SELECT
On Sep 28, 2006, at 9:44 AM, Michael Geary wrote:
Yes. I see now. Unfortunately, as Klaus said, jQuery no longer has
this edge as other developers have cottoned on to this.
Why unfortunately? A great concept was invented here, and
that's *very* fortunate. Thank you John, be proud :)
Thanks. I was originally going to require the data to be in specially
formatted DIV tags, but then I decided that the RSS method was better. I still
might add an AJAX method (make an AJAX call each turn and display the result)
and a collection of DIVs method, but I want to get the RSS method
How about the point mentioned by Dave about the _this (that i really
should not use that because of some closure stuff)?
I took the liberty of re-working your code to use closures, instead of
_this. Also, it now works with multiple images (You can do:
$(img').iButton() and it'll work over all
It doesn't use jQuery style expressions. From what I can tell, it uses jQuery itself. There have been a few occasions where I was using hPricot and it seemed to call a jQuery method that wasn't implemented in hPricot. Weird.
-- YehudaOn 9/28/06, Michael Geary [EMAIL PROTECTED] wrote:
Yes. I see
Brian schrieb:
After checking the W3C spec, it doesn't say much about what is and isn't
legal in a class in HTML. It simply says that it's a CDATA. But, the
examples in the spec doc do allow hyphens. I'd be cautious about what
characters I use in a class, because CSS is stricter about what
I just saw this neat little bookmarklet that highlights all hCard and hCal Microformats on a page. The awesome part is it uses jQuery!http://leftlogic.com/info/articles/microformats_bookmarklet
--Wil
___
jQuery mailing list
discuss@jquery.com
Brian schrieb:
Here's an idea:
label for=foo class=validate 000h000h00/label
input name=foo id=foo type=text /
*snip*
What do you think? I'm almost feeling crazy enough to take a whack at it.
It all starts with $(label), how hard could it be? :)
That is an interesting approach. It
Brian schrieb:
After checking the W3C spec, it doesn't say much about what is and isn't
legal in a class in HTML. It simply says that it's a CDATA. But, the
examples in the spec doc do allow hyphens. I'd be cautious about what
characters I use in a class, because CSS is stricter about what
On 9/28/06, Brian [EMAIL PROTECTED] wrote:
Here's an idea:
label for=foo class=validate 000h000h00/label
input name=foo id=foo type=text /
What about when you want to change some aspect of the mask? Say, the
phone number mask now needs to handle international numbers as well.
Why not separate
Having used the:
input class=required us-phone-number ...
method several times,,, It is definitely the way to slip the new
feature by the standards!
We can all see the simple jq code for implementing this.
And keypress always scares me (as a user not a programmer) I hate to
be told about my
I think that people are going to want more flexibility in terms of what
they want to validate. It would be great to include very common
shortcuts, like us-phone-number, credit-card-number, or
email-address. But, we can't predict what everyone's data will look
like. There must be a way to
for the jQ soultuon :
1 class to mention which plugin will handle the validations
1 or more other classes as defined in that plugin
we bind early on all fields that have the 'plugin' class, then we can
easily handle flipping from US-phone-number to UK-phone-number.. etc!
how the formats are
Say what? That's not how Hpricot works at all.
Hpricot is a Ruby library, written in Ruby and C. I run it on a server that
has no JavaScript interpreter. I'm fairly certain that it is not running
jQuery behind my back.
You can read the Hpricot source code here:
Okay ... I've updated the plugin once again.
I overrode the mousewheel method to take an optional two functions
instead of one. The first function is the up handler and the second
function is the down handler. The preventDefault is still the last
param. I also added mousewheelup and
As an aside,
I wrote out this in a webpage with a few choice icons.
It doensn't really work in IE, but I thought I'd stick your code up there:
http://dan-atkinson.com/fisheye/
Cheers,
Dan
Paul Bakaus wrote:
Hi!
I have put up a little function that does something like the fisheye
Ⓙⓐⓚⓔ schrieb:
for the jQ soultuon :
1 class to mention which plugin will handle the validations
1 or more other classes as defined in that plugin
we bind early on all fields that have the 'plugin' class, then we can
easily handle flipping from US-phone-number to UK-phone-number.. etc!
how
Hi Dan,some improvement idea for the page you have set up: Stick the outer container to the bottom of the page via position: absolute or fixed, this way you don't have the bumping problem for the height of the outer container.
Other than that, I had almost the same idea you talked about, one
I went ahead and added my bgiframe plugin into SVN here:
http://svn.brandonaaron.net/svn/jquery_plugins/bgiframe.js
A big thanks goes out to Mark Gibson for pointing me in the right
direction with using the expression in the CSS!
--
Brandon Aaron
___
I am looking to script something that will automatically link my
internal page links using the http://interface.eyecon.ro/ ScrollTo
behaviour.
If the script doesn't load the normal browser behaviour should be preserved.
I am using this so far, but is simply isn't working.. I can't seem to
figure
Try$('[EMAIL PROTECTED]#]').each(function(i){*/ $(this).bind(click, function() {$(this).ScrollTo(3000, 'easeout'); //Changed this.href to thisreturn false;
});});No since trying to scroll to an attribute of the link.On 9/28/06, neotoxic
[EMAIL PROTECTED] wrote:I am looking to script
This is REALLY useful Brandon.
Can you give us a quick example of usage code?
Thanks bud.
Rey...
Brandon Aaron wrote:
I went ahead and added my bgiframe plugin into SVN here:
http://svn.brandonaaron.net/svn/jquery_plugins/bgiframe.js
A big thanks goes out to Mark Gibson for pointing me in
I think he was trying to use the href attribute to find the target element. Try this to find the target:$('a[name='+this.href.slice(this.href.indexOf(#)+1)+']')Blair
On 9/29/06, Matt Stith [EMAIL PROTECTED] wrote:
Try$('[EMAIL PROTECTED]#]').each(function(i){*/ $(this).bind(click, function() {
This is REALLY useful Brandon.
I hope it will be! I know it has helped me and my co-workers out a ton.
Can you give us a quick example of usage code?
Sure thing.
The example/test page is here:
http://brandonaaron.net/jquery/bgiframe/bgiframe.html
The source is here (updated):
You sir have just earned yourself a spot on my RSS feed reader! Not sure
how much value that has but hey, its an extra hit to your site. LOL! ;)
Rey...
Brandon Aaron wrote:
This is REALLY useful Brandon.
I hope it will be! I know it has helped me and my co-workers out a ton.
Can you
I overrode the mousewheel method...
I don't think I used the correct terminology there. That should be 'I
overloaded' instead of 'I overrode' ... at least I think so.
--
Brandon Aaron
On 9/28/06, Brandon Aaron [EMAIL PROTECTED] wrote:
Okay ... I've updated the plugin once again.
I overrode
Brandon,
Although I wasn't too sure what all the hoopla was about, I decided to
try out the example/test page!
It probably isn't working as designed in FF 2.0rc1
Jake
On 9/28/06, Brandon Aaron [EMAIL PROTECTED] wrote:
This is REALLY useful Brandon.
I hope it will be! I know it has helped me
I created a (non-jQuery-specific) logger called JSLog: http://earthcode.com/blog/2005/12/jslog.htmlYou might also be interested in Leave logging statements in your production code:
http://earthcode.com/blog/2005/12/jslog_production.htmlIt's been a while since I've touched JSLog, but if there's
From the reactions so far I'd start putting some logging statements
into the ajax module, while working on it.
I'd prefer to not have any logging code be built into the jQuery
source, instead, have it be added on as a plugin. jQuery is already
starting to get fat at 17kb. Let me put it this
Although I wasn't too sure what all the hoopla was about, I decided to
try out the example/test page!
It probably isn't working as designed in FF 2.0rc1
It works just as you'd expect. The first box is a normal z-indexed
box. Therefore it appears above the select box in Firefox (as it
should)
OH! so if there was some content there It would show coolly!
THANKS!
On 9/28/06, John Resig [EMAIL PROTECTED] wrote:
Although I wasn't too sure what all the hoopla was about, I decided to
try out the example/test page!
It probably isn't working as designed in FF 2.0rc1
It works just
Since joinin' in, I installed svn, picked up the whole directory, and
started to read, I found the ant build.xml, and after fixing the mixed
carriage returns and linefeeds, decided to look at the Makefile... ok
it looked good...
but it didn't run the make test part...
You are missing a line to
Here is something interesting. The Dojo toolkit
(http://dojotoolkit.org) also has a way to make this IE hack 'easier'.
However, in true dojo fashion it takes 83 lines of code and a hefty
namespace on top of that. Here is the link directly to the src for it:
aedmonds wrote:
If you've had some difficulty using the Autocompleter included in the
wonderful interface package, I found some fixes for bugs I was experiencing.
These bugs were happening when the input field was within a form and you
arrow down to the selection and hit enter. The callback
72 matches
Mail list logo