wyo schrieb:
On Apr 12, 10:41 am, Klaus Hartl [EMAIL PROTECTED] wrote:
wyo schrieb:
As I understand $(document).ready() is more or less just an enclosure
to make sure the DOM is correcly available for use with jQuery. As it
Yes, the goal should be to separate behavior (JavaScript
wyo schrieb:
As I understand $(document).ready() is more or less just an enclosure
to make sure the DOM is correcly available for use with jQuery. As it
seems this makes the use of any on... event handler obsolete since any
event can be bound in the $(document).ready() enclosure. Is that right
Joan Piedra schrieb:
Hey guys,
Is there a crossbrowser jquery way to add opacity to an element?
I've tried with .css('opacity','0.5') and .animate({opacity:0.5},).
Is there some documentation or workaround to achieve this?
Regards
However I thought the above would work as well, the
Mike Alsup schrieb:
The difference between a function declaration and a function
expression is when the actual function object gets created. The
easiest way to think of it is that function declarations are always
available and function expressions are not available until they have
been
Hi jQuerians!
I was wondering if there is a mod for jCarousel out there, that allows
it to be flexible? I need the width of the list and its items to be
flexible (depending on the browser width).
I tried only a bit yet and tinkered with the windows resize event, to
adjust the width of
Jan Sorgalla schrieb:
Hi Klaus,
Hi jQuerians!
I was wondering if there is a mod for jCarousel out there, that allows
it to be flexible? I need the width of the list and its items to be
flexible (depending on the browser width).
I tried only a bit yet and tinkered with the windows resize
Klaus Hartl schrieb:
Here's what I did - it's a hack and you could do better but it works for
now and you get the picture:
I added a flexibleWidth option and than added the following lines to the
init method:
// Mod - allow flexible width
if (priv.o.flexibleWidth)
jQuery(window).bind
Jörn Zaefferer schrieb:
Rick Faircloth schrieb:
Commenting out the blur line does prevent IE from locking up.
(Why doesn't this happen in FF?), but then, of course, no validation
occurs.
When I change blur to keyup everything seems to work fine.
What's up with that? Keyup is fine, but I
Remy Sharp schrieb:
Sorry - I should add the test:
The JS:
$(function() {
$('#test').wrap('b/b');
});
Then standard HTML with a P tag with the ID of 'test' and some dummy
content within it.
This test is not guaranteed to work because a b element cannot contain
a block level element like
real schrieb:
This should work for you:
if ( $('td').is(':visible') ) { // the rest of your code }
That won't work (for any element) if display: none has been declared
for an ancestor element. Or in this special case the col which the td
belongs to (which is not exactly an ancestor).
Jörn Zaefferer schrieb:
Hi folks,
I've achieved some progress on the autocomplte plugin. The features
added by Dan Switzer to Dylan's initial plugin are now merged with
modifications for completing multiple values, like in the gmail
recpient-field.
I made some minor API changes, changed
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:
Evan schrieb:
Can't really comment on the AJAX, because it could be a server side
error.
However, to dynamically determine the href, use the following:
$(document).ready(function() {
$(//[EMAIL PROTECTED]//a).click(
function() {
var href =
Mike Alsup schrieb:
$(#form).reset() should work if it is a correct form. (We attempt to
trigger the default event wherever possible.)
Huh? The reset event is not bound by jQuery. Are you thinking of submit?
No, starting with jQuery 1.1 element events are also triggered. The
following
Diego A. schrieb:
Hi Klaus,
See
http://www.nabble.com/Unique-parameter-in-Ajax-tf3440508s15494.html#a9883915
It's just my preference. I like to use my own header in case the jQuery
implementatin changes.
I see. I'm pretty sure that this wan't change though. It works with
Rails
Ariel Jakobovits schrieb:
I realize now that this was very specific to my project, and I got this to work.
Since i am loading all the elements of my page with AJAX, I had to wait for the
tabs to be fully loaded, then simply add the content for each fragment.
It is a shame that there is no
Klaus Hartl schrieb:
Ariel Jakobovits schrieb:
I realize now that this was very specific to my project, and I got
this to work.
Since i am loading all the elements of my page with AJAX, I had to
wait for the tabs to be fully loaded, then simply add the content for
each fragment
Glen Lipka schrieb:
I hear everyone's points. I think the easy to remove it in 2012
argument doesn't resonate for me, since anything created today will be
changed within 1-3 years (in my experience) and IE6 isn't going away
that soon. The screen-reader/mobile stuff seems like they would
Rick Faircloth schrieb:
Well... if you're going to be picky... ;o)
Sorry... here's the code:
function toggleButton() {
$Calculate = $(#Calculate)[0];
if($(principal_status).val() == true
John Resig schrieb:
Hey Everyone -
Google has finally imported all of the users into the new jQuery
Google Group. From now on, all messages should be going to the group
directly instead of the old mailing list (discuss@jquery.com).
Important information:
- The new jQuery mailing list is
Mike Alsup schrieb:
Not surprisingly, gmail works just fine. :-)
In any case, if someone has figured out a way around this with any email
app, please let us know.
Argh. There's an GMail UI extension for Thunderbird. I don't think so,
but maybe it does some magic.
-- Klaus
Karl Swedberg schrieb:
On Apr 4, 2007, at 7:02 AM, Klaus Hartl wrote:
I have one question though: I'm using Thunderbird and after the
transition to Google Groups a lot of threads get splitted into at least
two parts. Maybe the threading gets messed up if someone posts via web
interface
stylo~ schrieb:
no doubt, though you wouldn't want my code in there :-) I should
submit the timestamp option for GET's as a bug, though.
I think it's not that easy. jQuery also supports If-Modified in some way
and maybe an automatic cache killer would interfere with that.
-- Klaus
Rikard.C schrieb:
Hi. does anyone know how to call a function from a url like
http://www.XYZ.com/page.html#FUNCTION
???
Here's what you can try (untested):
try {
var functionNameFromHash = location.hash.replace('#', '');
eval(functionNameFromHash + '()');
} catch(e) {
// fail
Klaus Hartl schrieb:
Rikard.C schrieb:
Hi. does anyone know how to call a function from a url like
http://www.XYZ.com/page.html#FUNCTION
???
Here's what you can try (untested):
try {
var functionNameFromHash = location.hash.replace('#', '');
eval(functionNameFromHash
Brunner Adam schrieb:
Hello!
Hi. does anyone know how to call a function from a url like
http://www.XYZ.com/page.html#FUNCTION
Here's what you can try (untested):
try {
var functionNameFromHash = location.hash.replace('#', '');
eval(functionNameFromHash + '()');
} catch(e) {
//
stylo~ schrieb:
I think it's not that easy.
I believe it is. Used it for years. Other APIs do it too, I recall.
Whatever. I'm still not sure, if the ifModified option would still work
as expected if you add an automatic cache killer to every GET request.
-- Klaus
Robert O'Rourke schrieb:
I think this one does:
$(window).bind('unload', GUnload);
Note that you don't need an anonymous function if you already have a
reference to a function. Also the unload event handler is fired on the
window and attaching it to the body like the obtrusive way in the
Dan G. Switzer, II schrieb:
* We need a plugin, that enables to speed up the core. It can be used
in web applications, which need a lot of perfomance. It doesn't
matter, if some core functions are not used any more (performance is
the goal). It is important, that the jquery style still remains
amircx schrieb:
hey. im trying somehow to get in tabs a remote url , or atleast to set a get
paramter to the tab
i got this following code and its writes me error access denied
how can i skip it or tweak the code ??
Tabs requires links in the HTML:
lia href=get.php?url=ice
801 - 830 of 830 matches
Mail list logo