Re: [jQuery] Interface: Draggable Ghost should only show the border

2007-01-17 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] [jquery] what if the button wasn't there when the page loaded?

2007-01-13 Thread Webunity | Gilles van den Hoven
$('#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

Re: [jQuery] jquery selecting one row on link click

2007-01-08 Thread Webunity | Gilles van den Hoven
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,

Re: [jQuery] jquery-modalContent Plugin 0.11 released

2007-01-04 Thread Webunity | Gilles van den Hoven
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).

Re: [jQuery] jquery-modalContent Plugin 0.11 released

2007-01-04 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] jquery-modalContent Plugin 0.11 released

2007-01-04 Thread Webunity | Gilles van den Hoven
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/

Re: [jQuery] Possible bug in 1.0.4

2006-12-16 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] Plugin: Mousehold

2006-12-16 Thread Webunity | Gilles van den Hoven
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

[jQuery] mirror of dean edwards packer anywhere?

2006-12-13 Thread Webunity | Gilles van den Hoven
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/

Re: [jQuery] OT: mail delivery

2006-11-29 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] Stop using thickbox!

2006-11-28 Thread Webunity | Gilles van den Hoven
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

[jQuery] Stop using thickbox!

2006-11-25 Thread Webunity | Gilles van den Hoven
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/

[jQuery] cssHover update

2006-11-15 Thread Webunity | Gilles van den Hoven
Hi Guys, I forgot to add one fix to SVN, its comitted now. -- Gilles ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] new plugin: window (+DEMO)

2006-11-15 Thread Webunity | Gilles van den Hoven
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

[jQuery] SVN update: cssHover

2006-11-14 Thread Webunity | Gilles van den Hoven
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)

Re: [jQuery] cssHover

2006-11-14 Thread Webunity | Gilles van den Hoven
[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

[jQuery] cssHover and interface iresizable committed

2006-11-14 Thread Webunity | Gilles van den Hoven
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/

Re: [jQuery] cssHover

2006-11-13 Thread Webunity | Gilles van den Hoven
[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

Re: [jQuery] cssHover

2006-11-13 Thread Webunity | Gilles van den Hoven
[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

[jQuery] window plugin: update

2006-11-07 Thread Webunity | Gilles van den Hoven
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.

Re: [jQuery] window plugin: update

2006-11-07 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] window plugin: update

2006-11-07 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] IE and the escape key triggering a hide action

2006-11-06 Thread Webunity | Gilles van den Hoven
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/

Re: [jQuery] Capture tab focus in dialog window

2006-11-02 Thread Webunity | Gilles van den Hoven
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)

[jQuery] new plugin cssHover [ui checks, radio buttons and more!]

2006-10-30 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] new plugin cssHover [ui checks, radio buttons and more!]

2006-10-30 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] new plugin cssHover [ui checks, radio buttons and more!]

2006-10-30 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] triggering an event

2006-10-24 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] $(.my_input).focus() shouldnt work?

2006-10-23 Thread Webunity | Gilles van den Hoven
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

[jQuery] Array.indexOf

2006-10-21 Thread Webunity | Gilles van den Hoven
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

[jQuery] interface 3 bugs fixxed in SVN

2006-10-21 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] New Plugin: Resizeable

2006-10-21 Thread Webunity | Gilles van den Hoven
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

[jQuery] new plugin: SIFR (Flash Image Replacement)

2006-10-21 Thread Webunity | Gilles van den Hoven
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

[jQuery] jQuery image gallery

2006-10-13 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] Intfac Sotabls estion

2006-10-12 Thread Webunity | Gilles van den Hoven
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',

Re: [jQuery] Error in latest svn jquery.js (427)

2006-10-11 Thread Webunity | Gilles van den Hoven
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/

Re: [jQuery] How to implement file upload using AJAX?

2006-10-11 Thread Webunity | Gilles van den Hoven
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/

Re: [jQuery] Best way for storing user preferences?

2006-10-11 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] typeof color == array in interface/highlight.js

2006-10-10 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] Form plugin: default method

2006-10-10 Thread Webunity | Gilles van den Hoven
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

[jQuery] $document.ready NOT broken

2006-10-10 Thread Webunity | Gilles van den Hoven
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/

Re: [jQuery] IE7 and document.ready

2006-10-10 Thread Webunity | Gilles van den Hoven
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()

Re: [jQuery] typeof color == array in interface/highlight.js

2006-10-10 Thread Webunity | Gilles van den Hoven
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/

Re: [jQuery] typeof color == array in interface/highlight.js

2006-10-10 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] IE6 performance tweak

2006-10-09 Thread Webunity | Gilles van den Hoven
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 ___

Re: [jQuery] IE7 May be Pushed out Tomorrow

2006-10-09 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] IE7 May be Pushed out Tomorrow

2006-10-09 Thread Webunity | Gilles van den Hoven
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/

[jQuery] IE7 and document.ready

2006-10-09 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] jQuery 1.0.2 RC2

2006-10-08 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] IE6 performance tweak

2006-10-08 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] Fast form serializer function for review

2006-10-03 Thread Webunity | Gilles van den Hoven
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 ==

Re: [jQuery] Fast form serializer function for review

2006-10-03 Thread Webunity | Gilles van den Hoven
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/

[jQuery] Bug in fx?

2006-10-03 Thread Webunity | Gilles van den Hoven
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

[jQuery] Started on window class for jQuery

2006-10-03 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] Rev: 259, where is now?

2006-10-03 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] Evaluating script elements

2006-10-03 Thread Webunity | Gilles van den Hoven
any ideas? maybe evaluate()? ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] DD's got a problem

2006-09-30 Thread Webunity | Gilles van den Hoven
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();

Re: [jQuery] jButton released!

2006-09-28 Thread Webunity | Gilles van den Hoven
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

[jQuery] jButton released!

2006-09-27 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] mousewheel plugin

2006-09-26 Thread Webunity | Gilles van den Hoven
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

[jQuery] No more IE6 background-flicker!!!

2006-09-26 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] Fader code I duplicated using JQuery

2006-09-21 Thread Webunity | Gilles van den Hoven
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

[jQuery] jQuery::PeriodicalUpdater ?

2006-09-21 Thread Webunity | Gilles van den Hoven
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/

[jQuery] rev. 217: Bugfix in $.fn.serialize

2006-08-19 Thread Webunity | Gilles van den Hoven
@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

Re: [jQuery] .contains() ?

2006-08-16 Thread Webunity | Gilles van den Hoven
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

[jQuery] First focusable element?

2006-08-16 Thread Webunity | Gilles van den Hoven
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 --

[jQuery] How to bind an event to a function of a class?

2006-08-15 Thread Webunity | Gilles van den Hoven
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,

[jQuery] .contains() ?

2006-08-15 Thread Webunity | Gilles van den Hoven
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

Re: [jQuery] .contains() ?

2006-08-15 Thread Webunity | Gilles van den Hoven
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