[jQuery] Re: Running a Function After All other Javascript is Loaded

2007-08-31 Thread duma
What other code are you wating for? If you're waiting for a certain bit of code, just call them both from the same place, and you can control the order right there. Sean cfdvlpr wrote: > > > Here's what I am doing currently: > setTimeout("expandMenuUsingCookie()",550); > > But, I'm sure th

[jQuery] Re: next() problems

2007-08-31 Thread duma
Actually, since next() takes a selector as an argument, you can use next(). Just do something like the following: jQuery("div.faq h4").click(function() { jQuery(this).next("#WhateverClass").addClass("top"); }); Sean Karl Swedberg-2 wrote: > > The .next() method will only select the very n

[jQuery] Re: Form Input Lookup

2007-08-30 Thread duma
A Google link? Come on, man. Why even reply? Phunky, there are autocomplete plugins. You can find them on this page: http://docs.jquery.com/Plugins I've used and enhanced this one: http://www.pengoworks.com/workshop/jquery/autocomplete.htm My enhanced version includes the changes listed bel

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread duma
ng it that way. I was hoping that there would be a > way to get CSS properties of an element without having to put an > example into the DOM first > > On Aug 22, 2:53 pm, duma <[EMAIL PROTECTED]> wrote: >> If you're after the Css-defined width and height parameters of an

[jQuery] Re: Are there click events from dynamically added DOM elements?

2007-08-22 Thread duma
Well, the row element doesn't exist in the document yet, so your call to $("#10192") won't find anything. If you insert newrow into the document (e.g. with $("#YourTargetElement").append(newrow)), and then do your click actions (i.e. with $("#10192").click(function() {})), it should work. Alter

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread duma
If you're after the Css-defined width and height parameters of an element, it seems to me you could just create the element and then do $(elt).css("width") and $(elt).css("height"). If you're after the actual rendered size of an element, then one way I know would work would be to set its display

[jQuery] Re: Get size for elements that don't exist yet

2007-08-22 Thread duma
If you're talking about accessing the included stylesheets, you certainly can do that by accessing document.styleSheets. document.styleSheets returns an array of CSSStyleSheet objects. This object provides the methods addRule and deleteRule. document.styleSheets is part of the DOM Level 1 stan

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

2007-08-21 Thread duma
Oh, this is DOPE dude!! This is destined to be integrated into jQuery; this is a real problem for dynamic web pages right now. THANKS!!! Sean Brandon Aaron wrote: > > Some of you may be familiar with Behavior. It was a first attempt at > implementing a "live DOM" experience. Behavior has bee

[jQuery] Re: .change() and IE bug

2007-08-20 Thread duma
What sort of element is destination? Please paste its declaration. Sean Eridius wrote: > > does .change not work it IE becauseI have this > > 310 destination.load('/lib/ajax/price_buster.php', {'get': > 'destination'}); > 311 destination.change(function() > 312 { > 313 reset_data(0); > 314

[jQuery] Re: Creating DOM elements on the fly

2007-08-18 Thread duma
Thanks!! Yes, indentation helps make this readable ;-) AnuragMishra wrote: > > > Thanks for the sample plugin code Sean, > > This looks like a really neat plugin, I'll have to take care of the > indentation though. Can get very messy at 3 levels if not written > well. > > Anurag > --

[jQuery] Re: Creating DOM elements on the fly

2007-08-17 Thread duma
Anurag, I've written a Dom element-creating plugin for jQuery. The documentation is here: http://www.pinkblack.org/itblog/?page_id=22 This is how its usage looks: var someNodes = $.create( "div", {}, [ "span", {"class": "MyText"}, ["Hi! How are you?"], "img", {"sr

[jQuery] Re: Best tooltip plugin

2007-08-17 Thread duma
I've created a tooltip plugin that lets you hover your mouse pointer over the tooltip, in case you want to put controls in there. I don't have a homepage for this plugin yet, but let me know if you want to use it! Take care, and keep creating! Sean Andy Matthews-3 wrote: > > I'm probably goi

[jQuery] Re: columnize large text ...

2007-08-17 Thread duma
Oh, that's very interesting! Thank you, Xavier! Hum... maybe I will have a jQuery-only version after all! ;-) Sean xavier dutoit wrote: > > > Looks promising... > > >> Other feature ideas I find interesting are: >> - Allowing users to specify the height of their element, or the columns,

[jQuery] Re: columnize large text ...

2007-08-17 Thread duma
event binding). Plus, that way you could > unobtrusively add properties without breaking validation. Hmm... also, > are HTML tags allowed in the text? > > I am always looking for dynamic layout options, having text flow > between columns is something layout designers have been usin

[jQuery] Re: columnize large text ...

2007-08-16 Thread duma
Patrick, I've just released a Javascript library that allows you to have your text split into columns! Check it out here: http://pinkblack.org/text-columns/ You simply include the library in your document, and then do something like the following: [My voluminous text goes here!] Now, yo

[jQuery] Re: new cookieJar plugin, feedback please

2007-08-13 Thread duma
I think this is great! So, it even supports storing arrays and hashes (objects) and whatnot? That's cool. Good work! LetsSurf wrote: > > > I've just finished writing a cookieJar plugin for jQuery, as I > couldn't find anything like it for jQuery. > > http://www.jdempster.com/category/code

[jQuery] Re: object orientated setTimeout

2007-08-13 Thread duma
That's a good solution! Thanks for sharing it with all of us! Keep creating! Sean weepy wrote: > > > to answer my own question : > > window.setTimeout(function() > { game.setAllowedMoves(this_game.allowed_moves)} , 400) > > > > On Aug 13, 1:56 pm, weepy <[EMAIL PROTECTED]> wrote: >> Hi

[jQuery] Re: Dojo combobox equivalent

2007-08-13 Thread duma
Yeah, it looks like it's an autocompleter with the added functionality that, when you click on the drop-down image/button, it shows you the complete list of possible values. Sean Eridius wrote: > > I don't think there is anything exactly like that but it is basically a > autocompleter with a

[jQuery] Re: Create excel file from table data

2007-08-10 Thread duma
I'll take this opportunity to announce an Excel reading-and-writing library for .Net that I've made available: Get the library http://pinkblack.org/excel_dotnet/ here ! I ported the code from a Java library called JExcelApi (thanks, you all!! ;-)) Keep creating! Sean Glen Lipka wrote: > >

[jQuery] Re: Autocomplete

2007-08-10 Thread duma
Wow, this one is good! I especially like the boldening of the search term. It locks up Maxthon for some reason, though. Ie7 works fine, though. Sean Rey Bango-2 wrote: > > > Hi Erik, > > Correct on the URL: > http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ > > Chali, t

[jQuery] Re: Autocomplete

2007-08-10 Thread duma
The first link is to the base plugin that I modified. The second link is to the version of autocomplete that I use, which includes my modifications Take care, Sean Jean Nascimento wrote: > > > that link is yours version of autocomplete? > > -- View this message in context: http://www.n

[jQuery] Re: Autocomplete

2007-08-10 Thread duma
Hi! I've been using this one: http://www.pengoworks.com/workshop/jquery/autocomplete.htm I like it. It's simple and straightforward and doesn't have a lot of overhead. But of course, I ended up adding features :-) Here's a list of changes I made, in case someone's interested: Updates to jq