I have to update my window plugin some time.. All those nice jQuery
releases make my life so much easier!
Thanx you guys for activly devving this!!
Stefan Petre wrote:
floepi wrote:
Hi all,
i was wondering how i can set my draggable options so that while dragging a
copy of the element
$('#myButton').click(function() {
$('#myTarget').load('myfile.html' function() {
alert('my callback');
});
});
The above says: when myButton is clicked, load myfile.html into
myTarget and alert me when it's done.
And then you can rebind any event handlers you want, but
Or, don't add an ID;
(PSEUDO, UNTESTED CODE ALERT)
script type=text/javascript
jQuery(document).ready(function() {
jQuery(a).click(function() {
// Get all current highlighted rows, of THIS table.
objCurrent = jQuery(tr.highlight,
Gavin M. Roy wrote:
I've released 0.11 of the jquery-modalContent plugin with the following
changes:
2006-12-19 patch from Tim Saker [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
1) Keyboard events are now only permitted on visible elements belonging to
the modal layer (child elements).
Wow, lots of code... for my Thickbox adaption the following worked fine:
html, body {
min-height: 100%;
}
#yourDiv {
height: 100%;
}
#yourDiv has to be a direct child of the body...
Ah, thanks. But what if i want to overlay an overlay?
Gilles
smoore wrote:
Giles, by any chance do you have an example of overlaying an overlay? I'd be
interested in seeing how that worked.
It was just theoretical ;)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Jörn Zaefferer wrote:
I found a bug in 1.0.4;
It has to do with this line:
var c = this.events[event.type];
In the handle function.
The error occurs after cliking an ASP button which reloads the page.
Unfortunately, i can't give a test page since it is a closed project. All
i can say is
Andy Matthews wrote:
This would be a perfect thing to meld in with that form scroller plugin.
Can't recall who wrote it, but it converted a form field into a widget that
let you click up and down to change values.
And is there a feature which counts how many events are fired?
I am thinking
Anybody know a mirror of dean edwards packer?
The .NET application doesn have thesame compression results.
Thanx
Gilles
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Does anyone know how good Thunderbird handles imap mailboxes with lots
of mails? I have nearly the complete mailing list in my imap mailbox
here (ca 15000 mails right now)...
I am not sure, but i've read there is a bug in the latest thunderbird,
which occurs when you delete items and
Dan Atkinson wrote:
Going by the title, I fear that this is more wishful thinking and showmanship
than anything else.
Hi Dan,
Correct. I wasn't trying to be arrogant, on the contrary, i just wanted
to poke around to see how people reacted on my plugin. I've tried this
before with the
And use my window plugin :)
Why?
Thickbox was made for images
Window plugin was made for popups (dialogs)
Just my $0.02
-- Gilles
http://gilles.jquery.com/window/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi Guys,
I forgot to add one fix to SVN, its comitted now.
-- Gilles
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi guys,
After i've done a lot (+8 weeks!) of work on the window class it's now
ready to be released to the public for beta testing. I'm hoping to
release this plugin at the same time jQuery 1.1 becomes available, but
all bugs have to be squised off course.
The plugin makes use of my cssHover
I've updated cssHover with some new stuff, check out the discussion on
this topic earlier in the mailinglist.
Basicly i added a new function, so you can use this.click() to toggle
the state, and this.chSetState(true|false) to change the state. You
can also use this.chSetState(true|false, TRUE)
[EMAIL PROTECTED] wrote:
Gilles,
There is also a scenario where user checks few checkboxes then decides
to select all, the result is that the previously checked boxes toggle
back to un-checked. The select-all function only needs to toggle between
select all and select none.
What do you
Hi guys,
The changes to cssHover and interface iresizable are committed to SVN.
Also the demo page for cssHover is up again, showing the new features.
-- Gilles
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
[EMAIL PROTECTED] wrote:
Gilles or anybody else with knowledge of the cssHover plugin:
Can you please tell me how can I select all checkboxes in a form controlled
by cssHover with a select all click event?
You could use jQuery to find all checkboxes you want to toggle:
jQuery(some code
[EMAIL PROTECTED] wrote:
Gilles, thanks, I've noticed that you added the requested example at
http://gilles.jquery.com/cssHover/
Works for me now too.
roso
Jep, just finished it.
As it now works, you can't change the state of a disabled cssHover item.
HTH,
Gilles
Hi Guys,
You've probaly seen the Ajaxian post on the YUI dialog. Well i am happy
to report that i've almost completed my plugin (after i released
cssHover i did a complete rewrite) and it offers almost thesame
functionality as the YUI version:
* Fully themable
* Fully customizable (e.g.
Reynier Perez Mira wrote:
Hi Gilles:
Thanks a lot for this plugin but where I can download it and see
documentation in how to use in my site?
Cheers
Not yet, it is 98% finished :)
-- Gilles
___
jQuery mailing list
discuss@jquery.com
Dave Methvin wrote:
* Callbacks: onOpen, onLoad
Instead of callbacks, consider custom events. It easily allows for multiple
subscribers to the event, and you can chain the query to bind the events. It
also loosens the coupling between objects.
If you don't mind, i'll wait with that
Ah, I got it. If you have an input/button of type reset, the escape
key triggers that action in IE...
Jep, funny huh?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Klaus Hartl wrote:
Hi all,
I thought I just share that:
-snip- long story -snip-
You can fix this very easily without doing all wierd stuffies like
changing tab index.
$(document).focus(function(oEvent) {
return ((oElement = oEvent.srcElement || oEvent.target)
Hi guys, i've made a new plugin and added it to SVN. It is still in beta
(== bugs) so don't use yet untill fully tested.
This plugin actually started out as a remake of the CRIR (Checkbox Radio
Input Replacement) code found on the websites of Chris Erwin, Yeduha
Kratz and Kawika.org. I wanted
Stefan Petre wrote:
I have found a bug. When you click a checkbox the replaced image is not
the hovered instance.
That bug is fixed, however, it introduced a new bug which you probably
won't see (i've to test this first ;))
-- Gilles
___
jQuery
Klaus Hartl wrote:
Works fine in Safari 2.04. One little thing though: Safari is the only
browser I know that doesn't trigger a click or does not focus the
associated form element when clicking on the label. That always annoys me.
The code as is right now should trigger the click event on
Adam van den Hoven wrote:
Can I force the click event to fire manually, or do I resort to
I think you can do this with the apply call, although i am unsure how ;)
P.s. nice surname ;)
___
jQuery mailing list
discuss@jquery.com
Rafael Santos wrote:
hey guys, could u help me?
this is my lines:
$(#month).keypress( function(){
len = $(this).val().length;
if(len == 1){ document.getElementById(day).focus(); }
});
this firebug give me an error.
if(len == 1){ $(#day).focus(); }
this do
I've seen that the clean function requires the Array.indexOf function,
but this isn't available since Javascript 1.5. I am not sure on what
javascript version jQuery is supposed to run on.
Can anybody clarify that?
If it is lowe then 1.5, we need to add the following snippet to
jQuery.js to
Hey guys,
/Bug squashing time!/
When doing some pre-work for a project i want to start on, i found out
that the interface library still had some minor bugs. I've mailed
allready mailed them to Stefan, but he is very busy with a project right
now, he doesn't even respond to my mail anymore :p
Stefan Petre wrote:
After a wild period at my work, I managed to make some time to develop a
new plugin.
Resizeable: allow elements to resize by handlers to north, east, west
etc direction, set minimum width/height/ maximum width/height. minimum
top/left/ maximum right/bottom.
YES
Hi guys,
http://gilles.jquery.com/sifr/
enjoy ;)
It is not yet in SVN, because the original creator is working on version
3.0 while this code is based upon his 2.0 version.
-- Gilles
___
jQuery mailing list
discuss@jquery.com
from:
http://ajaxian.com/archives/jquery-image-gallery-transitions-thumbnails-reflections
jQuery Image Gallery: Transitions, thumbnails, reflections
http://ajaxian.com/archives/jquery-image-gallery-transitions-thumbnails-reflections
Ramin B. has put together yet another image gallery
Nathan Smith wrote:
http://host.sonspring.com/dragdrop/
Hi Nathan!
Change your javascript code to this and try again!
$(document).ready(
function () {
// Save options
hshOptions = {
accept: 'sortableitem',
activeclass: 'background',
Paul Bakaus wrote:
noticed the same, going to look at it.
p.s. it is allready patched ;)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
File upload is not possible using JavaScript for security reasons.
There have allready been a lot of people asking this on this list.
-- Gilles
/If you'd Googled, you'd know/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Raffael Luthiger wrote:
3) Every time the page is loaded the js-script asks the server for a XML
(or JSON) file with the preferences in there.
Option 3, but save the data you got from the server in a cookie, which
you destroy after 1 day or something like that. Each time the user
changes
Eckhard Rotte wrote:
Hi there,
there seems to be a bug in the interface/highlight.js plugin.
Setting the color option as an array doesn't work because the array detection
Hi Eckhard, good catch!
I fixed this in my SVN version, but do you have a test page, so i can
test the fix before i
Sam Collett wrote:
Is it the default on all browsers? If so, then perhaps that would be a
good idea.
I agree with Klaus, all resources i found point that GET is the default
method.
-- Gilles
___
jQuery mailing list
discuss@jquery.com
Seems like the problem lies in another place, not in the document.ready
part..
Going to investigate this further
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Mike Alsup wrote:
Can you post a test page because that sure doesn't happen for me.
Mike
I've tracked down the problem to IE7 in standalone mode. I am almost
certain that that is the problem. It sometimes just keeps hanging on (1
item remaining) and thus not firing the $(document).ready()
Hi Eckhard,
I've commited my fix to SVN, can you get the new ifxhighlight.js from
SVN and test that with your page?
Thanx
Gilles
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Yep, works.
Theres some debug code left:
.constructor==Array
Good catch, totally missed that one ;)
Anyway, the new (fixxed) version is in SVN
___
jQuery mailing list
Klaus Hartl wrote:
The by far safest thing to use is Conditional Compilation. And that way
other browsers only get JavaScript comments...:
Yeah i saw that on your blog. But doesn't this affect all versions of
msie, even 6+ ?
-- Gilles
___
Rey Bango wrote:
If you don't want to upgrade, be very vigilant about what automatic
updates you install during MS' normal patch cycle:
Does anybody know if it is possible to run both IE 6.x and IE7 both on
thesame system? An absolute must if you are a web developer...
Thanx
Gilles
Try this: http://tredosoft.com/IE7_standalone
Works good enough for me.
Thanx, just downloaded it!
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi Guys,
Just found another document.ready bug at least i hope it is a bug :)
The document.ready is not firing in IE7 when loading content via ajax
into a DIV. Is this a common problem which is allready known? Someone
might have a fix for this?
The current scenario fires succesfully in both
Jörn Zaefferer wrote:
Hi folks,
it's time for another release candiate, this time including even more
bug fixes and nothing else.
Hi Jorn,
Why don't you commit these into SVN, or did you? It is a bit confusing
if we have 2 releases for jQuery, especially for newbies
-- Gilles
This somehow improves the performance of IE6. Interesting object detection
as well. Opinions on this method?
Hi,
This hack was allready posted to this list by me, and someone told us
you could use jQuery's method of detecting MSIE before applying the hack,
Something like this, in my
Mat,
This code:
if (t == 'select-multiple') {
$('option', this).each( function() {
if (this.selected)
a.push({name: n, value: this.value ||
$(this).text()});
});
return;
}
Can be changed to this, if i am right ;)
if (t ==
Mike Alsup wrote:
Or better yet:
$('option:selected')...
Hey Mike, is that supported by jQuery? If i am right, only a plugin adds
that method of selecting..
-- Gilles
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
When using idrag.js and a created drag with fx:100 for instance,
the current jQuery SVN bails on line 3938 with the error:
*z.e.curAnim has no properties*
This is the line:
z.el.curAnim[ prop ] = true;
The lines:
if (z.el.curAnim)
z.el.curAnim[ prop ] = true;
work, but i don't know if that
Hi Guys,
I have decided to share my subModal class. I started this lightbox of
me right after i saw the first lightbox for prototype (so i have been
coding on this one for almost 1 year now). It is going to have a lot of
features and will off-course be shared with you guys. At the current
Andrea Ercolino wrote:
I don't know how I got Rev: 259, because current latest is 249. I
wandered around but I cannot find a link to it in jquery.com.
Each time someone of the developers (like me) commit something, the
version number is increased. Therefore since your last download, 10
any ideas?
maybe evaluate()?
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Use this code instead:
$(document).ready(function() {
$('#foo').find('dd').hide().end().find('dt').click(function() {
$(this).find('dd').each(function() {
if ($(this).is(':visible')) {
$(this).slideUp();
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
Hello guys!
I just finished my new plugin and would like to receive some feedback! I
wrote a new plugin which can transform an image into a button.
Features include:
* Toggle button or a default button
* You can provide a function or string as the action to take when the
button is clicked. In
Mathias Bank wrote:
It seems, that mousewheel is not an accepted event in jquery. So I
have written a small plugin that can handle wheel events. It is based
on http://adomas.org/javascript-mouse-wheel/.
Nice! I just sent an email about the exact same page to John today (3
hours ago), telling
Hi guys,
I've seen this interesting post on the Ajaxian forum today:
http://ajaxian.com/archives/no-more-ie6-background-flicker
http://misterpixel.blogspot.com/2006/08/title-well-its-done-my-ie6-background.html
Which gives me this jQuery implemention, which i have added to my base
jQuery init
Rey Bango wrote:
I saw this posting:
http://mikeomatic.net/techtips/css-crossfader/
and it showed a really cool fader. So I duplicated it using JQuery:
http://www.intoajax.com/fade.htm
The cool thing is that I didn't need to load scriptaculous to do it.
Nice stuff! I was wondering how
Anybody did a periodical updater plugin like the scriptaculous one?
I hope all plugin developers put there plugin on: http://jquery.com/plugins/
Thanx
Gilles
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
@John, please read since the each function could still contain a bug
(see bottom 2 lines)
Hi guys,
I've just committed a bug fix to the form plugin. As you might have
seen, I noticed that i somehow got an fieldset element instead of a form
element in the $.fn.ajaxSubmit function. By doing a
John Resig wrote:
The problem has more to do with the fact that you're doing two things wrong:
1) You're setting focus to a div element... which is unfocusable.
2) You're setting focus to the element before you ever finish the focus
function of the previous element - creating an infinite
Is the following code, to find the first focusable element on the page,
correct? Or am i missing something (e.g. other elements, ordering etc.)?
oElem =
$(document).find(a,frame,iframe,label,input,select,textarea,button).filter(:visible).filter(:enabled)[0];
With latest SVN off course
--
Hi Guys,
How can i bind/unbind an event to a specific function of a class?
e.g.
class {
somecallback() {
},
somefunc() {
$(document).keypress(this.somecallback);
},
otherfunc() {
$(document).unkeypress(this.somecallback);
}
}
Is this possible?
Thanx,
I'm trying to figure something out, but i'm kinda lost in the documented
jQuery code...
Is there a way to see if an object is a child of another object?
e.g. if a link is a child of a div?
link1
div
link2
/div
based upon the outcome, i need to do something, which i am going to
share, but
John Resig wrote:
Hope this helps. (This is with the SVN version of jQuery)
Hmm, not really I am trying to do something like this:
If the event receiving the focus is not a child of another object, set
the focus back to that object.
As you might guess, this is for a new style lightbox :)
I
69 matches
Mail list logo