[jQuery] getting height of *remaining* divs in a container

2009-11-09 Thread Dylan
ng the scrollTo... - get the total height of all the divs starting with "cc_" after me (being the current cc_ DIV) - if the value above is higher than my parent DIV height then issue the scrollTo Sounds easy but any help with the syntax (or indeed a pointer if I'm on the wrong track) wo

[jQuery] Re: Submitting after Validation

2009-10-29 Thread Dylan
Have a look at some of the ideas from this ... http://tutorialzine.com/2009/09/fancy-contact-form/ On Oct 27, 8:16 pm, StephenJacob wrote: > Leonardo, I've been looking into the submitHandler option but i'm > having problems getting it to work correctly. Here is a sample of the > code i'm testing

[jQuery] Re: ui.tabs adding an onclick event to a nested tab

2009-10-07 Thread Dylan
var divId = $(this).parents("div[id^=tabs-]").attr("id"); var sTag = "inner tab: " + $("#tabs ul li a[href=#"+ divId +"]").text (); sTag = sTag + "\nmain tab: " + ui.tab.textContent;

[jQuery] Re: ui.tabs adding an onclick event to a nested tab

2009-10-07 Thread Dylan
? I'm sure it will be something simple - any advice? PLEASE :) On Oct 7, 8:54 am, Dylan wrote: > Hi, > > I want to send an alert to the user indicating the title of the tab > they have clicked. This is easy enough in principle using > >       $('#ta

[jQuery] ui.tabs adding an onclick event to a nested tab

2009-10-07 Thread Dylan
Hi, I want to send an alert to the user indicating the title of the tab they have clicked. This is easy enough in principle using $('#tabs').bind('tabsselect', function(event, ui) { alert( 'ui.tab.textContent: ' + ui.tab.textContent ); }); But I also have a set of tabs with

[jQuery] Using nested ui.tabs - make the most of it!

2009-10-06 Thread Dylan
me the logic is thus... where div.id = "tabs=n" and class contains "ui-tabs-vertical" (or take this argument first?) add to the a href an onClick of - alert my .textContent AND textContent from relative link (i.e. where url of "#tabs-n") but just can't get my head around the syntax?!?! - ANY help would be EXCELLENT! PLEASE help! Dylan

[jQuery] ThickBox / iframe / form

2009-02-16 Thread Dylan Verheul
iframe trick? Thanks for your time! Dylan

[jQuery] Re: show/hide/toggle: suggestion to reduce show/hide code

2008-11-18 Thread Dylan Verheul
On Tue, Nov 18, 2008 at 19:58, Karl Swedberg <[EMAIL PROTECTED]> wrote: > On Nov 18, 2008, at 9:02 AM, Dylan Verheul wrote: > Hmm, I actually checked the docs for that because that would make > .toggle an unsuitable overloader. The docs said toggle doesn't take > argu

[jQuery] Re: show/hide/toggle: suggestion to reduce show/hide code

2008-11-18 Thread Dylan Verheul
On Tue, Nov 18, 2008 at 14:56, Karl Swedberg <[EMAIL PROTECTED]> wrote: > It struck me that I often have to write something like this: > > if (cond) $(this).show() else $(this).hide(); > > Since jQuery is about reducing and chaining, wouldn't it be nice if I > could write it like this: > > $(this)

[jQuery] show/hide/toggle: suggestion to reduce show/hide code

2008-11-17 Thread Dylan Verheul
it be nice if I could write it like this: $(this).toggle(cond); // shows if cond evaluates to true, else hides Of course a new function showhide could be made for this, but toggle seems a likely candidate for overloading. -Dylan

[jQuery] jQuery debugging/Firebug techniques?

2008-09-04 Thread dylan hassinger
seems like Firebug is capable of helping me debug but I guess I don't know how to use that part of it. Any help is appreciaated, thanks! dylan

[jQuery] Re: jQuery TShirt

2008-05-09 Thread Dylan Verheul
jQuery: $(this) rocks On Fri, May 9, 2008 at 8:34 PM, Jonathan Sharp <[EMAIL PROTECTED]> wrote: > Isn't it more like? > alert( $('people:female').find('girlfriend').length == 0 ? 'l33t' : 'normal' > ) > > -js > > > On Fri, May 9, 2008 at 11:11 AM, Brandon Aaron <[EMAIL PROTECTED]> > wrote: >>

[jQuery] [jquery.form] file upload question

2008-03-10 Thread Dylan Verheul
at the page was requested through an iframe call? Dylan

[jQuery] Re: cluetip question

2008-03-05 Thread Dylan Verheul
'jtip'; I found that out shortly after hacking the CSS, and this is the way I'm doing it now. Any chance of you looking into the possibilities of smartening up the configuration as I suggested? I think I'm gonna solve this issue for my team with a PHP wrapper. Dylan

[jQuery] Re: cluetip question

2008-03-05 Thread Dylan Verheul
On Wed, Mar 5, 2008 at 11:09 AM, Dylan Verheul <[EMAIL PROTECTED]> wrote: > I'd like to set a default style for cluetips in my project. Quick update: I solved it by changing the CSS -- nothing wrong with that since I don't need the other styles. For people that do, my original

[jQuery] cluetip question

2008-03-05 Thread Dylan Verheul
I'd like to set a default style for cluetips in my project. Since I'm abstracting cluetip for my fellow programmers by wrapping it in PHP, I don't like to add "cluetipClass: 'jtip'" to every call. Can I do something like: $.cluetip.setup({ cluetipClass: 'jtip' }); $("a.cluetip").cluetip(); $("a.

[jQuery] Re: Please help: How to simulate a Tab key press with jQuery

2007-09-15 Thread Dylan Verheul
On 9/15/07, Mark <[EMAIL PROTECTED]> wrote: > I have a very large and complex form, and I am using some autocomplete > components, and I need when user selects one item in the autocomplete > option list, focus automatically go to the next component, like > pressing the tab key. Which autocomplete

[jQuery] Re: jEditable - Name of class

2007-09-14 Thread Dylan Verheul
table code which wasn't ideal. Talking to Dylan, he suggested doing the following which works like a charm. $(".editable").each(function(i) { $(this).editable("page-update.cfm?action=updatePageName", { paramName: "pageName", ca

[jQuery] Re: jEditable - Name of class

2007-09-14 Thread Dylan Verheul
You should wrap your editable calls with an each(), ad assign the class names from there. Example code was posted to this list not too long ago, I'll see if I can find it for you. Dylan On 9/14/07, Zerutreck <[EMAIL PROTECTED]> wrote: > > I want to catch the name of the classr

[jQuery] A more forgiving .html()

2007-09-11 Thread Dylan Verheul
While figuring out an answer to a question on this forum, I noticed that .val() returns an array when used on a multiselect. and "just the value" in all other cases. I didn't know this before, but it makes sense. I came across this because .html() refused to insert the result of the .val(), exitin

[jQuery] Re: Listbox values > text box

2007-09-11 Thread Dylan Verheul
On 9/11/07, Joan Piedra <[EMAIL PROTECTED]> wrote: > Dylan, > That's a nice workaround, to just pass the selected value. But I think > Diddly needs to add all the values in #foo2. Hmm, you could be right, but I wouldn't use JavaScript for that. Since you know all value

[jQuery] Re: New plugin: Listify

2007-09-11 Thread Dylan Verheul
handled by the lines below this part. And you're right baout the drawback, it's a tradeoff I guess. -Dylan

[jQuery] Re: Listbox values > text box

2007-09-11 Thread Dylan Verheul
Try this: $('#theButton2').click(function() { $("#foo2").val($("#foo").val().toString()); }); You catch the click event. You set the value of the text box to the value of the select (converted to a string). -Dylan On 9/10/07, Diddly Doo <[EMAIL PROTECT

[jQuery] Re: New plugin: Listify

2007-09-11 Thread Dylan Verheul
On 9/11/07, spinnach <[EMAIL PROTECTED]> wrote: > in the plugin settings you define hoverClass and cursorType, and never > use it in the plugin later.. Oops. That's fixed now. -Dylan

[jQuery] New plugin: Listify

2007-09-11 Thread Dylan Verheul
nice with Thickbox links. Source and example are available here: http://www.dyve.net/jquery/?listify -Dylan

[jQuery] Re: bassistance: jQuery plugin: Autocomplete

2007-09-05 Thread Dylan Verheul
A little explanation: I wrote the original autocomplete to restrict my users: they were only allowed to pick something out of a (very, very long) list. On 9/6/07, Chris W. Parker <[EMAIL PROTECTED]> wrote: > > On Wednesday, September 05, 2007 2:47 PM Jörn Zaefferer said: > > > Thanks Chris for th

[jQuery] Re: test

2007-09-05 Thread Dylan Verheul
Yes they are :-) On 9/5/07, Daniel Rossi <[EMAIL PROTECTED]> wrote: > > my emails arent coming through >

[jQuery] Re: Is there an autocomplete plugin that allows for a hidden field that does not show?

2007-08-26 Thread Dylan Verheul
the results, which I don't want. :/ > > On Aug 23, 8:10 pm, "Dylan Verheul" <[EMAIL PROTECTED]> wrote: > > On 8/23/07, inVINCable <[EMAIL PROTECTED]> wrote: > > > > > I am new from prototype and scriptaculous and have been puzzled all > > &g

[jQuery] Re: Dojo combobox equivalent

2007-08-24 Thread Dylan Verheul
You could go with an autocompleter and mustMatch=true See http://www.dyve.net/jquery?autocomplete On 8/13/07, Eridius <[EMAIL PROTECTED]> wrote: > > > I don't think there is anything exactly like that but it is basically a > autocompleter with a slight modification. > > > hfilter wrote: > > > > H

[jQuery] Re: Is there an autocomplete plugin that allows for a hidden field that does not show?

2007-08-23 Thread Dylan Verheul
ng > prototype/scripaculous but I might have to if there is no solution via > jQuery :/ You aren't blackmailing us are you? ;-) Good luck with the autocomplete. Dylan

[jQuery] Re: New Plugin: Live Query (previously called Behavior)

2007-08-19 Thread Dylan Verheul
Brandon, this looks very exciting. It may even solve some issues I'm running into in my current project. Question: "Live Query (formally Behavior)" -- don't you mean "formerly", or is the official name still "Behavior"? Dylan On 8/20/07, Brandon Aaron

[jQuery] Re: Autocomplete

2007-08-10 Thread Dylan Verheul
> Kai, autocomplete does not require you to pick an item from the list. > It's a suggestion. There is however an option that forces you to pick > from the list and disallows non-list choices. I forgot: but this option is not implemented in Jörn's version. Dylan

[jQuery] Re: Autocomplete

2007-08-10 Thread Dylan Verheul
On 8/10/07, Kai Kuehne <[EMAIL PROTECTED]> wrote: > > Forgot something: > > On 8/9/07, Dylan Verheul <[EMAIL PROTECTED]> wrote: > > IMHO it shouldn't be a default in local mode, but I don't know if this > > was deliberate or not. > > I also di

[jQuery] Re: [NEWS] jQuery Team Member Jörn Zaeffere r in Javamagzin

2007-08-09 Thread Dylan Verheul
Nice! Go Jörn! On 8/10/07, Rey Bango <[EMAIL PROTECTED]> wrote: > > jQuery Team Member Jörn Zaefferer has had a jQuery article published in > "Javamagzin" (http://javamagazin.de), a German publication focusing on > enterprise Java development. > > The article will be a jQuery introduction aimed a

[jQuery] Re: Autocomplete

2007-08-09 Thread Dylan Verheul
be a default in local mode, but I don't know if this was deliberate or not. Dylan

[jQuery] Re: Autocomplete

2007-08-08 Thread Dylan Verheul
han Jörn's, but I thought I'd mention it anyway, to prevent disappointment. Clues as to what causes the crashing are welcome ... Dylan

[jQuery] Re: Could use some help trying to get autocomplete / editable to work in Rails

2007-08-05 Thread Dylan Verheul
f how Rails does its JavaScript, else you won't be able to insert jQuery. Good luck! Dylan On 8/6/07, BigFisch <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm very novice at javascript, and the team I work with likes to use > jQuery. Now, I'm trying to learn and play aro

[jQuery] Re: Two comments/questions about Jörn's aut ocomplete plugin.

2007-08-01 Thread Dylan Verheul
Hi Carlos, You're almost there. You need to set cacheLength to a number > 1 (say 10), and you need to set matchSubset to true. -Dylan On 8/1/07, chali <[EMAIL PROTECTED]> wrote: > > First I've to say that this plugin is a great piece of work and i'm > using it

[jQuery] Re: An autocomplete that is able to insert a hidden id based upon the ID of a returned element?

2007-07-31 Thread Dylan Verheul
Look at http://www.dyve.net/jquery/?autocomplete Type 'vul' into the first search box, and pick a vulture :-) Watch the alert box. Look at the source code to see how it is done. Documentation is linked on the page. -Dylan On 7/31/07, Jim Newfer <[EMAIL PROTECTED]> wrote: > &

[jQuery] Re: autocomplete caches against my will

2007-07-30 Thread Dylan Verheul
request, and thus derive more specialized requests from broader ones. If this doesn't work in the Pengoworks version, try the original dyve.net version, or Dan's mod (which I know is excellent). Let me know (on this list) if this helps you. -Dylan

[jQuery] Re: autocomplete caches against my will

2007-07-27 Thread Dylan Verheul
Use a correct value for cacheLength and matchSubset (see docs for the original at at http://www.dyve.net/jquery/autocomplete.txt) Tip: Use the latest and greatest autocompleter: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Good luck! -Dylan On 7/27/07, (null) <[EM

[jQuery] Tougher than it seemed at first-jQuery accordion

2007-07-25 Thread Dylan C.
I love the jQuery accordion. The only problem I'm having is in customizing it to suit the type of user experience I want. Basically I want a dead-simple, speaks for itself UI that accepts clicks in any order on any item to open or close the accordion. I have the whole accordion on a bunch of dt e

[jQuery] Re: which autocomplete plugin ...?

2007-07-24 Thread Dylan Verheul
e from Interface) in Jörns refactoring/improvement of what me and Dan did. -Dylan

[jQuery] Re: Autocomplete.js not runs on PHP Version 5.0.2

2007-07-23 Thread Dylan Verheul
P version it needs. About which autocomplete plugin is this? If it's mine or any of the derivatives, I'm quite positive you don't need any PHP to run it. Just JavaScript and jQuery will do. The example on dyve.net uses PHP, but that's just the example. -Dylan

[jQuery] Re: which autocomplete plugin ...?

2007-07-23 Thread Dylan Verheul
Use Jörn's: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ On 7/23/07, mit <[EMAIL PROTECTED]> wrote: I'm looking for a stable autocomplete plugin. Of the various autocomplete plugins available, which are most commonly used/most stable?

[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-10 Thread Dylan Verheul
x27;m switching jobs on August 1, and my new job actually needs me to do jQuery stuff (everything I did up to now was in my spare time), so I hope to be more active as of then. Dylan On 7/10/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote: >Now if I could only make sense of tha

[jQuery] Re: Using AutoCompleter, how do you pass parameters

2007-07-08 Thread Dylan Verheul
You can insert it directly (serverside, so PHP, CF, whatever floats your boat) into the script. Use the extraParams option. On 7/8/07, AtlantaGeek <[EMAIL PROTECTED]> wrote: $('#CustNo').val() is not working. How can I get the CustNo value set dynamically to the value in a hidden field? On

[jQuery] Re: Thickbox and forms

2007-06-13 Thread Dylan Verheul
You need to load the form into a Thickbox iframe. On 6/13/07, arnaud sellenet <[EMAIL PROTECTED]> wrote: Hi I'm trying to use thickbox but don't manage to submit a form that was loaded in the thickbox so that the response keeps inside the thickbox. I've tried to add thickbox class to the form

[jQuery] Re: thickbox reloaded?

2007-05-15 Thread Dylan Verheul
forms plugin and an ajax thickbox, but I'd prefer the iframe Dylan

[jQuery] Re: Bootstrapping Jquery, Or: How to Create a 1 line javascript widget for external websites...

2007-05-07 Thread Dylan Verheul
You could make a script that dynamically loads jquery if it isnt loaded yet. You'd probably lose some older browser support, and you'd have to write the loader without jquery. Something like this: if (!jQuery) { var script = document.createElement('script'); script.type = 'text/javascript'; s

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Dylan Verheul
On 4/18/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: What about the links on the wiki plugin page? Replace both? Point to the better versions, no need to point to my page. I'm not that vain, and I'm nicely mentioned in the current version of the plugin :-)

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-18 Thread Dylan Verheul
On 4/18/07, Mika Tuupola <[EMAIL PROTECTED]> wrote: On Apr 18, 2007, at 2:35 PM, Fil wrote: >> http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ > > Great work :) Dylan seems to be source of many great plugins ;) I'll take that as a compliment :-)

[jQuery] Re: jQuery Powered Sites - More Sites Added.

2007-04-17 Thread Dylan Verheul
I just noticed a thickbox on www.bartsmit.com (big chain of toy stores in the Netherlands). On 4/10/07, Rey Bango <[EMAIL PROTECTED]> wrote: Added: - GameGum Free Flash Games - ToonGum ToonGum is a flash cartoon community. View, submit, and interact with our many flash cartoons and large co

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-17 Thread Dylan Verheul
On 4/18/07, Dylan Verheul <[EMAIL PROTECTED]> wrote: On 4/17/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > I'm glad to release the first version of the rewritten autocomplete > plugin, based on the work by ... > There is now a page with a download, link to the demo

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-17 Thread Dylan Verheul
On 4/17/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: I'm glad to release the first version of the rewritten autocomplete plugin, based on the work by ... There is now a page with a download, link to the demo and documentation: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ G

[jQuery] Re: Autocomplete plugin status2

2007-04-16 Thread Dylan Verheul
On 4/17/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Another issue is Opera insisting on submitting the form when pressing enter, even with event.preventDefault() called at the right moment, at least it works in IE and Firefox. Anyone got an idea how that can be avoided? I've never been able

[jQuery] Re: Autocomplete plugin status2

2007-04-14 Thread Dylan Verheul
I love the fact that you still use my birds example :-) (I wrote autocomplete for the form on www.waarneming.nl, a Dutch site for nature sightings, and I used a dump of our English and Latin bird names to fill search.php). On 4/15/07, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: Hi folks, for a

[jQuery] Re: Autocomplete Question

2007-04-09 Thread Dylan Verheul
Jim, there's also some examples on www.dyve.net/jquery?autocomplete, those will also work with Dan's modifications. My jQuery plugins are my first open source / code sharing experience, it's really fun to see stuff like this (other people improving on it) happen. On 4/9/07, Priest, James (NIH/N

[jQuery] Re: Anyone Good At Math?

2007-04-08 Thread Dylan Verheul
On 4/8/07, AJ <[EMAIL PROTECTED]> wrote: At first my logic was: If the large image scales down 10%, why can't I just reduce my x and y coordinates (or rather the 'top' and 'left' css attributes) on the marker 10%? Doesn't seem to work. Maybe that theory is correct and my math is just wrong. (BT

[jQuery] Re: Autocomplete plugin

2007-04-08 Thread Dylan Verheul
ke to see my name mentioned somewhere in the comments > of a derivate work though. Sure thing! I'd put your name in the license header, like with the tooltip plug: http://dev.jquery.com/browser/trunk/plugins/tooltip/jquery.tooltip.js Is that ok? Yep. Dylan

[jQuery] Re: Autocomplete plugin

2007-04-08 Thread Dylan Verheul
Oops, little too fast. You want the reverse of this ,showing more data and then showing less in the select box. I guess you can do this, but you might need to cheat by writing to the input field from your onItemSelect code. On 4/8/07, Dylan Verheul <[EMAIL PROTECTED]> wrote: On 4/8/07, S

[jQuery] Re: Autocomplete plugin

2007-04-08 Thread Dylan Verheul
documentation for the onItemSelect handle, and provide extra information in your server side code. The info will be stored in the property li.extra. Dylan

[jQuery] Re: Autocomplete plugin

2007-04-08 Thread Dylan Verheul
ough I've heard people ask for json instead of the simple plain text data format I made up). Feel free to contact me by e-mail, you've got my vote to make this happen. And if I can spare the time to put in some lines of code, you've got that too :-) Dylan On 4/8/07, Jörn Za

[jQuery] Re: Autocomplete Question

2007-04-07 Thread Dylan Verheul
Oh, and use Dan's version, he squashed a few bugs and added cool things :-) On 4/8/07, Dylan Verheul <[EMAIL PROTECTED]> wrote: http://www.dyve.net/jquery/autocomplete.txt (sorry to be this brief, it's 5:50am here) On 4/7/07, Shelane <[EMAIL PROTECTED]> wrote: > >

[jQuery] Re: Autocomplete Question

2007-04-07 Thread Dylan Verheul
s of information (like my example). On Apr 7, 12:43 pm, "Shelane" <[EMAIL PROTECTED]> wrote: > I see examples but no actual documentation for this plug-in or the > orignial from Dylan Verheul. I would love to get rid of my > scriptaculous uses of autocomplete, but I have y