HiWell, it was actually build to override the default function, yes, but I see your problem. It's not really backwards friendly like this. Probably I'll update these functions so they will not interfere anymore with the default ones.
2006/10/6, Pascal [EMAIL PROTECTED]:
I added the dimensions.js
Ⓙⓐⓚⓔ schrieb:
I looked at that page... wouldn't it be cooler to just say a
href=#place and have it scroll to a name=place ?
and let JQ do it all behind the scenes?
Is there a more experienced JQ person out there to tackle this?
That is to me also the desired way to do it. It would be
The Google Map plugins does something like that with the geo microformat.
http://www.dyve.net/jquery?googlemaps
On 10/5/06, alfdesign.sk [EMAIL PROTECTED] wrote:
Hi,
I want to know, if anyone have any interactive map solution in jQuery,
like this at
Thanks, that would have been it then.
On 10/5/06, Jason Huck [EMAIL PROTECTED] wrote:
FWIW, I killed the parts of the CSS that were hacks for IE5 support (we
haven't supported IE5 in a while), and it seems to be fine now.
- jason
Dylan Verheul wrote:
I've had the same experience
The project has moved to sourceforge: http://innerdom.sourceforge.net/
I think, this work can improve your plugin.
Mathias
2006/10/5, Mathias Bank [EMAIL PROTECTED]:
Oh, that's interesting. Perhaps this page will help you:
http://simon-kuehn.de/projekte_innerdom.html (via
Dylan Verheul schrieb:
The Google Map plugins does something like that with the geo microformat.
http://www.dyve.net/jquery?googlemaps
(Offtopic) Sidenote about the mentioned Alistapart article:
I like the whole idea, but I do not agree with using the map's images as
CSS background
Jörn Zaefferer schrieb:
Yehuda Katz schrieb:
I've developed (or partially developed) a new plugin that implements
webform2's slider. Specifically, you can do stuff like input
type=range step=1 min=1 max=10 value=1 id=a / and jQuery
will automatically convert it into a stylable range
On 05/10/06, Rafael Santos [EMAIL PROTECTED] wrote:
Sam, doesn't it should accept Paste cmd?
Pasting should only work on the 1st and third input boxes and the textarea.
I have only tested on Windows and needs more work - you can still
paste with Shift-Ins (that should be easy to fix) and
Hey all,
Ive got a simple bit of jQuery that takes the href from an ancor tag and
passes it on:
$(.jShow a img).hide().attr({src: $(this).attr(href), title:
$(this).attr(title)});
How do i go about adding to the $(this).attr(href) part, i wish to add
-large to it before the file extension
Hi Mark!
Ive got a simple bit of jQuery that takes the href from an ancor tag and
passes it on:
$(.jShow a img).hide().attr({src: $(this).attr(href), title:
$(this).attr(title)});
How do i go about adding to the $(this).attr(href) part, i wish to add
-large to it before the file
Thanks i shall give that a go now, didnt know about replace() :D
Many thanks
Jörn Zaefferer wrote:
Hi Mark!
Ive got a simple bit of jQuery that takes the href from an ancor tag and
passes it on:
$(.jShow a img).hide().attr({src: $(this).attr(href), title:
$(this).attr(title)});
How do
On 06/10/06, Sam Collett [EMAIL PROTECTED] wrote:
On 05/10/06, Rafael Santos [EMAIL PROTECTED] wrote:
Sam, doesn't it should accept Paste cmd?
Pasting should only work on the 1st and third input boxes and the textarea.
I have only tested on Windows and needs more work - you can still
paste
Klaus,Practically speaking, what you're saying isn't true. I'm able to set type=range, and jQueyr's able to detect that attribute on document.ready (in all browsers). It doesn't automatically fall back, before I have a chance to do something about it.
-- YehudaOn 10/6/06, Klaus Hartl [EMAIL
Yehuda Katz schrieb:
Klaus,
Practically speaking, what you're saying isn't true. I'm able to set
type=range, and jQueyr's able to detect that attribute on
document.ready (in all browsers). It doesn't automatically fall back,
before I have a chance to do something about it.
-- Yehuda
Why not allow pasting, but remote non-numbers from pasted text via regex?-- YehudaOn 10/6/06, Sam Collett
[EMAIL PROTECTED] wrote:On 06/10/06, Sam Collett
[EMAIL PROTECTED] wrote: On 05/10/06, Rafael Santos [EMAIL PROTECTED] wrote: Sam, doesn't it should accept Paste cmd? Pasting should only
On Oct 6, 2006, at 7:12 AM, Jörn Zaefferer wrote:
Try this:
$(.jShow a img).hide().attr({src: $(this).attr(href).replace(/
\.(.+)$/, -large.$1), title:
$(this).attr(title)});
Tested with javascript.txt as href value, works fine.
-- Jörn
I'm a little confused about this. Doesn't src:
On 06/10/06, Yehuda Katz [EMAIL PROTECTED] wrote:
Why not allow pasting, but remote non-numbers from pasted text via regex?
-- Yehuda
The problem is that I am not sure how to intercept pastes (except in
IE). I don't know if any events are fired whenever you paste something
(and how to capture
They keyup event comes to mind. You might need to bind the click event too (in case they paste via the mouse).-- YehudaOn 10/6/06, Sam Collett
[EMAIL PROTECTED] wrote:On 06/10/06, Yehuda Katz
[EMAIL PROTECTED] wrote: Why not allow pasting, but remote non-numbers from pasted text via regex? --
Hi Folks,
First of all thank you John for writing jQuery. I've read the wiki page
regarding using jQuery and prototype together and couldn't get it to work
reliably. I did load prototype first but ended up going through the
jQuery source code
and renamed $() to JQ().
It would be kind of cool if
Original-Nachricht
Datum: Fri, 6 Oct 2006 08:12:51 -0700
Von: Laurent Yaish [EMAIL PROTECTED]
An: discuss@jquery.com
Betreff: [jQuery] jQuery and Prototype
Hi Folks,
First of all thank you John for writing jQuery. I've read the wiki page
regarding using jQuery and
The jQuery code itself uses $
toggle: function(){
$(this)[ $(this).is(:hidden) ? show :
hide ].apply( $(this),
arguments );
},
The $ is great for the end user, but it is a very generic alias. I
don't think it is a good idea for jQuery or
I think it would be worth it to change all internals of jQuery to not
use $. Essentially it is just a find and replace ... the issue is
getting plugins to do it. I think the next release should force the
issue.
--
Brandon Aaron
On 10/6/06, Laurent Yaish [EMAIL PROTECTED] wrote:
The jQuery code
Yes it is a simple search and replace, that's what I just did to get
prototype and jQuery to work together. Even for plugin authors this
should be a very simple change. When is the next release due?
On 10/6/06, Brandon Aaron [EMAIL PROTECTED] wrote:
I think it would be worth it to change all
So you think JQuery should change the $ to another identifier or you
feel JQuery should implement namespaces? If its the latter, I'm not keen
on that. I like the shorter code approach the JQuery and Prototype use
but if there's a way to keep that (eg: JQ()), then I'd go for something
like
Jörn Zaefferer schrieb: In the documentation (visualjquery.com http://visualjquery.com version), it says that the $ function, when passed some HTML as a
string, will create the DOM elements representing that HTML string, on the fly. Looking at the code though (the clean function), it appears
Sam Collett wrote:
On 05/10/06, Charles Peterson [EMAIL PROTECTED] wrote:
Note sure where to post this so heres some code.
This allows you to have a set of check all check boxes that check
another set of check boxes.
Example
I think 'jQuery(...)' should still be used internally and by plugin
authors for the foreseeable future. If file size is an issue, the code
could always be compressed/packed.
Yep, totally agree - the internal uses of $() instead of jQuery() are
definitely a mistake - just me lapsing back into
Mike Alsup schrieb:
I agree completely. I'll update my plugins today.
Mike
Me too! Ok, maybe not today, but then tomorrow :-)
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
The opacity stuff in jQuery is currently broken for IE. This bug will
shed some light on your situation and provide a patch for it:
http://jquery.com/dev/bugs/bug/204/
I'm currently using it successfully but beware if you are using other
filters as this patch (in its current form) will overwrite
Oh and if you use this patch ... please let me know if it works,
doesn't work, etc...
Thanks!
--
Brandon Aaron
On 10/6/06, Brandon Aaron [EMAIL PROTECTED] wrote:
The opacity stuff in jQuery is currently broken for IE. This bug will
shed some light on your situation and provide a patch for it:
On 05/10/06, Charles Peterson [EMAIL PROTECTED] wrote:
Ya, you inspired my improvement on the functions.
basically you are checking or unchecking ALL but ignored checkboxes on
the page/form (useful, but not what I wanted)
I wanted to specify which ones to check,
I am working on a redesign of payroll.com which leverages jQuery a bunch.I am having one bug that I can't seem to fix.Sample:
http://glenlipka.kokopop.com/jQuery/payroll/PayrollIntroduction.htmIn Firefox, Click on the last link and then scroll down.When I use show(0), the height works fine. When I
the third link doesn't expand big enough for me to read all the content. i'm
using IE7
Glen Lipka wrote:
I am working on a redesign of payroll.com which leverages jQuery a bunch.
I am having one bug that I can't seem to fix.
Sample:
Thanks Brandon. Thats what I wanted to understand.
Rey...
Brandon Aaron wrote:
Removing the alias throughout the core and the plugins will make it
easier for those who need to integrate with Atlas and prototype. Just
making it a one line fix to change the alias to something else. The
'$'
Below is a consolidated serialize method to accommodate the optimized
vs. semantic issue we've been pursuing recently. Essentially, this is
Matt Grimm's fastSerialize method with conditional behavior to drive
the semantic logic. I like how Matt wrote that method and the
semantic stuff drops
I've implemented a technique similar to this. here is the code i used:$.fn.scrollInterface = function(s) { var $handles = $('a', this).add('a.top'), s = s || 300; $handles.click(function(){
this._href = (!this._href) ? # + this.href.split('#')[1] : this._href; $(this._href).ScrollTo(s); return
I put that in, but unfortunately, it didn't help. See same url, updatedI tried about 3 dozen different variations too.The content is variable, so I don't know what the height is in advance to put that in.Glen
On 10/6/06, John Resig [EMAIL PROTECTED]
wrote:
Glen -Currently, jQuery requires that
Hi,
if I have a form like
form
input type=text value=test id=content/mytest/
/form
How can I get the value for the input text field using jquery?
I tried
script type=text/javascript
$(document).ready(function(){
var a = $([EMAIL PROTECTED]'content/mytest']);
alert(a.val());
I guess $('input').attr('id');
[EMAIL PROTECTED] wrote:
Hi,
if I have a form like
form
input type=text value=test id=content/mytest/
/form
How can I get the value for the input text field using jquery?
I tried
script type=text/javascript
$(document).ready(function(){
Sample URL:http://glenlipka.kokopop.com/jQuery/slideMenu.htm#I am trying to make the header totally loaded through jQuery.So my steps are:
1. Insert DIV right after body2. $Load html for DIV and anchor link3. set toggle function on anchor linkAlmost everything seems to work, but the toggle is not
why not try append() instead of prepend() ?
in
$("body").prepend("div id='intuitHeader'/div");
olivvv
Glen Lipka wrote:
Sample URL:
http://glenlipka.kokopop.com/jQuery/slideMenu.htm#
I am trying to make the header totally loaded through jQuery.
So my steps are:
1. Insert DIV right
Your problem is that you prefixed the input selector with #. This
works:
$('[EMAIL PROTECTED]/bar]').val();
On Fri, 2006-10-06 at 15:00 -0400, [EMAIL PROTECTED] wrote:
Hi,
if I have a form like
form
input type=text value=test id=content/mytest/
/form
How can I get the
I'm pretty sure
If I recall correctly, jQuery's element creation technique is to create
a temporary div (var div = document.createElement('div')) then add the
html you provided to that elements innerHTML value (div.innerHTML =
html) and then extracting the div's children (using the appropriate
Nice. Another optimization just came to me, after seeing you filter out
the 'option' elements in the semantic selector... you can filter them
before they are returned, which speeds it up considerably:
$('*:not(option)', this)
As a side question, what advantage is there to calling the jQuery
Klaus Hartl schrieb:
Mike Alsup schrieb:
I agree completely. I'll update my plugins today.
Mike
Me too! Ok, maybe not today, but then tomorrow :-)
Thank you Jörn! :-)
-- Klaus
___
jQuery mailing list
discuss@jquery.com
$('*:not(option)', this)
Thanks, Matt. That's even better!
As a side question, what advantage is there to calling the jQuery
function by name instead of by the $ alias?
See other thread on this topic (jQuery and Prototype).
Mike
___
jQuery
Glen,
You might have just found the same bug
that I found the other day. Luckily, Klaus has already fixed the problem.
Check for a message from yesterday titled
(so descriptively) Bug?
It may give you a clue as to your
problems. Quickly looking at your CSS, it looks similar to mine.
prepend() puts it right after the body.append() puts it at the end before the /bodyGlen.On 10/6/06, Olivier Percebois-Garve
[EMAIL PROTECTED] wrote:
why not try append() instead of prepend() ?
in
$(body).prepend(div id='intuitHeader'/div);olivvv
Glen Lipka wrote:
Sample URL:
Brandon,
I applied your patch to the uncompressed jquery.js file. I
added the appropriate lines and removed the marked lines. I only applied
the top patch (the patch in the yellow box) to the jquery.js file. For each
situation, I used the .show and .hide functions of the fx module. The
I uploaded forms.js to my test page. The test page now has the
side-by-side forms with one using the 'fast' method and one using the
'semantic' method.
http://www.malsup.com/jquery/form/
Mike
On 10/6/06, Mike Alsup [EMAIL PROTECTED] wrote:
$('*:not(option)', this)
Thanks, Matt. That's
Ok, so I will wait for 1.0.2 official release to use this effect in this case.(Anyone have an ETA on 1.0.2?)In the meantime I will iuse show(0), which doesn't have the issue.
Thanks Geoff! Thanks Klaus!GlenOn 10/6/06, Geoff Knutzen [EMAIL PROTECTED] wrote:
Glen,
You might have
Please use the patch in the comments as it will work. The first patch
(in the yellow) is the first but doesn't patch everything. The second
patch will fix what you need.
I'm actually working on a better one right now and might have
something ready within the hour.
--
Brandon Aaron
On 10/6/06,
couldn't you just do:$('#foo/bar').val();?-wilOn 10/6/06, Matt Grimm [EMAIL PROTECTED] wrote:
Your problem is that you prefixed the input selector with #. Thisworks:
$('[EMAIL PROTECTED]/bar]').val();On Fri, 2006-10-06 at 15:00 -0400, [EMAIL PROTECTED] wrote: Hi, if I have a form like
form input
No, that doesn't work, and I'm assuming it has something to do with the
forward slash being an XPath selector.
m.
On Fri, 2006-10-06 at 17:21 -0400, Wil Stuckey wrote:
couldn't you just do:
$('#foo/bar').val();
?
-wil
On 10/6/06, Matt Grimm [EMAIL PROTECTED] wrote:
Your
Wil Stuckey schrieb:
couldn't you just do:
$('#foo/bar').val();
No, the slash is an XPath selector. That expression translates to All
items named bar which are a direct child of #foo, or as a CSS selector:
#foobar.
-- Klaus
___
jQuery mailing
AHA!The anchor link was not showing up until after the load(), so the toggle() function couldn't find it. But lo and behold, the load function has a callback function!! So I could bind the toggle AFTER the html came in
Ba Bam! jQuery is the best!code snippet:$(body).prepend(div
Is there a way to make .each walk backwards threw the element collection?
--
View this message in context:
http://www.nabble.com/.each-backwards---tf2399145.html#a6690114
Sent from the JQuery mailing list archive at Nabble.com.
___
jQuery mailing
I propose hcae:
jQuery.fn.hcae = function( fn, args ) {
return jQuery.hcae( this, fn, args );
};
jQuery.hcae = function( obj, fn, args ) {
if ( obj.length == undefined )
for ( var i in obj )
fn.apply( obj[i], args || [i, obj[i]] );
interesting!
When would length be undefined on an JQ object?
When I first saw the question, I thought of tail recursion, does JS
deal well (optimize) tail recursion?
On 10/6/06, Blair Mitchelmore [EMAIL PROTECTED] wrote:
I propose hcae:
jQuery.fn.hcae = function( fn, args ) {
return
i know js 1.2 does, but i think its only supported in ff 2.0
currently... but dont quote me on that.
On 10/6/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
interesting!
When would length be undefined on an JQ object?
When I first saw the question, I thought of tail recursion, does JS
deal well
On 2006.10.06, Blair Mitchelmore [EMAIL PROTECTED] wrote:
I propose hcae:
Oh, god no. I see the smiley so I'm guessing you're only kidding, but
before someone goes yeah, that's a good idea ...
kenton.simpson wrote:
Is there a way to make .each walk backwards threw the element collection?
I recall a JQuery cheat sheet floating around. Anyone have the link to that?
Rey
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
ff2,0 is up to js1.7
On 10/6/06, Matt Stith [EMAIL PROTECTED] wrote:
i know js 1.2 does, but i think its only supported in ff 2.0
currently... but dont quote me on that.
On 10/6/06, Ⓙⓐⓚⓔ [EMAIL PROTECTED] wrote:
interesting!
When would length be undefined on an JQ object?
When I
63 matches
Mail list logo