Re: [jQuery] [mcDropdown] Enhancement Request

2010-01-19 Thread Dan G. Switzer, II
There's no need to add this to the code. You can just place the wrapper in the actual HTML and apply whatever CSS you need specific to the instance of the mcDropdown. -Dan On Mon, Jan 18, 2010 at 4:21 PM, Jerry jerryab...@gmail.com wrote: Howdy... The GivaInc.com site says that the devs

Re: [jQuery] Sum up of selected classes

2009-11-13 Thread Dan G. Switzer, II
palgo: You probably mean: $(#total).val(tot); The selector $(total) would be looking for an element named total (i.e. total /,) where as $(#total) looks for an element with an id of total. -Dan On Fri, Nov 13, 2009 at 10:13 AM, palgo rusha...@gmail.com wrote: Hi guys, I have several input

[jQuery] Re: namespacing jQuery

2009-10-27 Thread Dan G. Switzer, II
See the $.noConflict() docs: http://docs.jquery.com/Core/jQuery.noConflict var j = *jQuery.noConflict*(); // Do something with jQuery j(div p).hide http://docs.jquery.com/Effects/hide(); // Do something with another library's $() $(content).style.display = 'none'; -Dan On Tue, Oct 27, 2009 at

[jQuery] Re: $.post() speed

2009-10-08 Thread Dan G. Switzer, II
Adonis, The $.post() function is asynchronous (by default) when your code hits a $.post() call, it'll keep executing code. In order to do something with the results of your AJAX call, you'll want to use the callback option--which is a function run when the AJAX call is completed. -Dan On Thu,

[jQuery] Re: load with callback confusion

2009-09-18 Thread Dan G. Switzer, II
The second argument for the load() function is data, not callback: http://docs.jquery.com/Ajax/load#urldatacallback Do this instead: $(span#mycontent).load(mytext.txt, {}, function(){ // callback code here }); -Dan On Fri, Sep 18, 2009 at 5:51 AM, geegler jkp_fb_st...@myvws.net wrote:

[jQuery] Re: Paste an image into a tag...

2009-09-18 Thread Dan G. Switzer, II
It's been a while since I've looked at either TinyMCE or FCKEditor (now CKEditor) but non of the WYSIWYG editors based on the browser can do what Hogsmill wants. In order to paste an image from the clipboard, you'll need something that can also upload the image to the server on the paste

[jQuery] New iPhone-style button plug-in released...

2009-09-04 Thread Dan G. Switzer, II
We've just released another jQuery plug-in which emulates the iPhone-style button used to toggle settings on/off. The plug-in works with both checkbox and radio button groups and we've worked hard to make this a complete plug-in. While there are several similar plug-ins, we couldn't find one that

[jQuery] Re: New iPhone-style button plug-in released...

2009-09-04 Thread Dan G. Switzer, II
Keyboard support is often overlooked, but it's always high on our priority list because many of our users are very keyboard centric and don't like using the mouse at all. On Fri, Sep 4, 2009 at 12:23 PM, Dave Methvin dave.meth...@gmail.comwrote: We've just released another jQuery plug-in

[jQuery] Re: input has focus

2009-08-10 Thread Dan G. Switzer, II
You can add a class to your field when it has focus and then check for the class: $(:input) // add focus/blur events .focus(function (){ $(this).addClass(has-focus); }) .blur(function (){ $(this).removeClass(has-focus); }); Now you can just do $(input#1).is(.has-focus) to check if it has focus.

[jQuery] Re: [Linkselect] Change function fires when using replaceOptions

2009-08-05 Thread Dan G. Switzer, II
skube, This is not a limitation, but a specific design decision. If you're replacing the options in a select box you are in affect also changing the value (or at least potentially changing) the value since you now have a completely new set of values in the box. Therefore, to ensure that

[jQuery] Re: Filter List Items w/ Sub-Lists

2009-08-05 Thread Dan G. Switzer, II
Try: $('.start-here li').filter(':has(ul)').append('span class=ui-icon ui- icon-plus/span'); -Dan On Wed, Aug 5, 2009 at 11:59 AM, Panman rpann...@gmail.com wrote: I have selected a list that contains sub-lists. Now, I'd like to search for the list items that contain sub-lists (but not

[jQuery] Re: [linkselect] Positioning menus off bottom of window

2009-08-04 Thread Dan G. Switzer, II
Sherri, You can use the open callback to handle repositioning the container if you wish. The callback gets 4 arguments: $container, $a, $selected, $title The $container argument is a jQuery object referencing the dropdown. You could just offset it's top position by XXX amount to move the box up.

[jQuery] Re: Linkselect Plugin Woes

2009-07-30 Thread Dan G. Switzer, II
What's your code looks like? Are you using the replaceOptions() method correctly: $(#id).linkselect(replaceOptions, options*, doCallback*) Replaces the options in the dropdown with the array of objects passed into the options argument. You can use this API method to repopulate a Linkselect with

[jQuery] Re: Linkselect Plugin Woes

2009-07-30 Thread Dan G. Switzer, II
skubie, I've fixed the problem. The error was in the repaint() method--which was expecting that the select / element had a title attribute. I've uploaded a fixed version of the plug-in: http://www.givainc.com/labs/linkselect_jquery_plugin.htm Let me know how the new version works out for you.

[jQuery] Re: Linkselect Plugin Woes

2009-07-30 Thread Dan G. Switzer, II
The title attribute isn't required--it's optional. However, we use it as a hint in the dropdown to provide the user with some form of instruction. On Thu, Jul 30, 2009 at 4:37 PM, skube sku...@gmail.com wrote: Oh and I didn't clue into the missing title attribute since my page was validating

[jQuery] Re: jquery.calculation modification

2009-07-15 Thread Dan G. Switzer, II
Since you have a very specific use case, you're probably better off just writing custom logic to accomplish this task. However, one way you could hack this solution is to define a custom jQuery.fn.getValue function: jQuery.fn.getValue = function (){ return this.attr(some_str); } If the calc

[jQuery] Re: mcDropdown jQuery Plug-in v1.2.07

2009-07-10 Thread Dan G. Switzer, II
Darren: One thing to keep in mind is this plug-in was designed to be a new form UI control that allows the users to type in their choices. Thus, the default behavior when clicking in the box puts the focus in the text box so you can begin typing. However, you could accomplish what you want by: *

[jQuery] New Plug-in: Marquee, an ESPN-style ticker...

2009-05-21 Thread Dan G. Switzer, II
My current employer (Giva, Inc) has released another jQuery plug-in today called the Marquee jQuery Plug-in. The jQuery Marquee plug-in converts a list element (ul / or ol /) into an ESPN-style scrolling marquee. Messages are scrolled in from top or bottom (based on the yScroll option) and

[jQuery] Re: Known issues with webkit and jQuery 1.3?

2009-05-01 Thread Dan G. Switzer, II
Kelvin, While I didn't really dig into the problem, looking at the inspecting the jScrollPaneContainer element in Chrome, the width is being set to 1130px for me. My guess is something in your code is calculating the wrong width for the element. My best guess is this is due with the issue in

[jQuery] Re: Form plugin: input elements excluded

2009-05-01 Thread Dan G. Switzer, II
Dennis, You could do a manual AJAX submit and then just manually serialize your form fields. Also, before doing the AJAX submit, you could do something like: $(#your_form).append(#your_dialog); This would move the fields back into the form / element. -Dan On Mon, Apr 27, 2009 at 5:16 AM, dth

[jQuery] Re: Synchronized 2 ajax calls

2009-02-22 Thread Dan G. Switzer, II
Use the complete callback to run some logic after an ajax call is complete. So you can do something like: $.ajax({ url: first_url , type: post , complete: function (){ $.ajax({ url: second_url , type: post , complete: function (){ alert('done with 2nd

[jQuery] Re: New jQuery Conditional Chain Plugin

2009-02-09 Thread Dan G. Switzer, II
On Mon, Feb 9, 2009 at 4:45 PM, Eric Garside gars...@gmail.com wrote: Not really, ternary operators work fine for most situations. This is designed for a much more variable approach. Imagine a case where you want to conditionally call different functions based on the state.

[jQuery] Re: $(document).keydown only works in FireFox?

2009-01-05 Thread Dan G. Switzer, II
The enter key is only registered on a keypress event in IE and Webkit--so use keypress instead. -Dan On Mon, Jan 5, 2009 at 6:20 AM, s0h0 simon.rueckert@siemens.com wrote: Hello, i tried to use jQuery for cross browser compatibility...I want to execute a click on a Button when Enter

[jQuery] Re: firebug regression: console.log($('div')) less useful

2009-01-02 Thread Dan G. Switzer, II
It's a Firebug change. Use console.dir() instead (but I agree--I like the old console.log() method) On Fri, Jan 2, 2009 at 1:10 AM, Danny d.wac...@prodigy.net wrote: Has anyone else noticed that Firebug before 1.2 would treat console.log ($('div')) as an array and list all the matched

[jQuery] Re: Spammer bypassing JQ Validate to register?

2008-12-21 Thread Dan G. Switzer, II
So, this dude from Poland managed to register without a first name, without a last name and likely without an invitation code. I'll deal with the EE issues separately, but is there a known issue where someone can mess with the jquery in the page to bypass the validation that is running? As

[jQuery] Animation speed dilemma...

2008-12-15 Thread Dan G. Switzer, II
I'm working on an ESPN style ticker and one of the problems I'm running in to is that I need to base animation on a specific speed, not a duration. Right now the animations all are based on duration (aka complete this animation in 2 seconds.) However, I need my animations to all run at the same

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-05 Thread Dan G. Switzer, II
Mike, No matter what I set the z-index to, it always blinks through the layer. Here's a very straightforward example that shows the issue in every version of FF2 I have: Dan, do you have the cursor keys option enabled? No--that's a different issue altogether. :) That was one of the first

[jQuery] Re: SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-05 Thread Dan G. Switzer, II
Karl, I wish I could give you some good news, but instead I can only commiserate. FF 2 had all sorts of problems like that. Try having an absolutely positioned div overlapping the scrollbar of a div with overflow: scroll. Ugly. I even recall seeing a cursor in one tab's textarea blinking through

[jQuery] SOT: Blinking cursor in Firefox 2 bleeds through divs...

2008-12-04 Thread Dan G. Switzer, II
I have a weird problem I'm running into again, but haven't been able to find a fix. In FF2, when I place a div / over an input / element that currently has focus, the blinking cursor shows up through the top layer. I put together this little video to show off the problem:

[jQuery] Re: linkselect plugin problem (related hover gets deactivated) -- help please

2008-11-20 Thread Dan G. Switzer, II
Carl, Thanks. I'm attempting what you suggested, but maybe my syntax is incorrect? Firebug tells me missing ) after formal parameters. Can you point me in the right direction? // replace select objects in the main content $(document).ready(function (){ $('#container

[jQuery] SOT: Using FF2 input element sometimes including padding in width...

2008-11-18 Thread Dan G. Switzer, II
This is slight off-topic, but I thought maybe someone on this list might have seen the issue before. I've got an input element that has some a large padding to include a background image icon. Most of the time in FF2 the element renders properly, however occasionally the input element renders

[jQuery] Re: linkSelect - the width of the options container

2008-10-29 Thread Dan G. Switzer, II
Snobo, I stumbled upon the situation, which seems confusing to me. In my app, I noticed that the LinkSelect used to create the container for its option list which is too wide. I read the docs and found the option fixedWidth. To my bewilderment, it didn't work. I fired the Venkman and analyzed,

[jQuery] Re: Select an element in an ancestor selector

2008-10-29 Thread Dan G. Switzer, II
(this).parents().find(a.apImg).addClass(apImgOn).removeClass(apImg); You could trim this to: (this).parents(a.apImg).addClass(apImgOn).removeClass(apImg); -Dan

[jQuery] Re: mcdropdown mouseout problems

2008-10-29 Thread Dan G. Switzer, II
Ken, I am trying to use mcdropdown for an easy search function for a shopping cart. The category list is long enough to force two columns. When mousing from the first column to the second the entire menu will disappear. In another case when drilling down below 3 levels if you mouse up to a

[jQuery] Re: mcDropDown: any click event fire the drop down animation

2008-10-21 Thread Dan G. Switzer, II
Like the topic says, any click, right or left, fires the animation for the mcDropdown. It disappears right after. Has anyone encountered this bug? Any fixes/workarounds? Are you seeing the problem on the example page? http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm What version are

[jQuery] Linkselect Plug-in Released...

2008-10-20 Thread Dan G. Switzer, II
My current employer has released another jQuery plug-in: the Linkselect jQuery Plug-in. This plug-in converts a normal select / element into a component that can be highly stylized via CSS. While there are a number of similar plug-ins already, there are a several of key differences which we think

[jQuery] Safari/WebKit bug with maxWidth?

2008-10-17 Thread Dan G. Switzer, II
This doesn't look like a jQuery issue per-se, but webkit doesn't seem to return a value for: $el.css(max-width) or $el[0].style.maxWidth IE and FF both return the correct value, but Webkit returns none. Is there a way in Webkit to get the maxWidth of an element? -Dan

[jQuery] Re: livequery strange behaviour

2008-10-03 Thread Dan G. Switzer, II
I've recently discovered livequery plugin, but I can't make it work. I explain: I have the next code: $(document).ready(function (){ alert (executing jquery); $([EMAIL PROTECTED]).livequery(function(){ alert(hey, one div wanna be rounded!);

[jQuery] Re: Dan Switzer's Autocomplete plugin - can I do this...

2008-08-28 Thread Dan G. Switzer, II
Andy, First I'd recommend updating to latest version that Jörn's been managing. I have no plans on updating my version. I'm using Dan's autocomplete plugin in an app and it's working great. I just have one question. I'm loading in all options (around 5-10) into an array when the page loads. I'd

[jQuery] Re: Dan Switzer's Autocomplete plugin - can I do this...

2008-08-28 Thread Dan G. Switzer, II
Andy, I think it might actually work without those changes you suggested. Problem is that at the point I'm calling the plugin, it doesn't recognize showResults as a method: That's a private function that only the plug-in can access. -Dan

[jQuery] SOT: Documenting keyboard entry for select element

2008-08-26 Thread Dan G. Switzer, II
Has anyone seen any good documentation on how the keyboard selection works for the select / element in the various browsers. It looks like the behavior is pretty different in each browser. Firefox and IE7 allow variations of doing ba to select the first option with a string starting with ba,

[jQuery] Re: Adding Values (Sum) of TD.

2008-08-25 Thread Dan G. Switzer, II
Scott, I am trying to do a footer at the bottom of the table, and I would love to use jquery to provide a total in the footer, something like this: 1 | 1 | 3 2 | 1 | 4 -- 2 | 2 | 7 (JQuery added the TDs above) Is it possible? And can anyone point me in the right direction. You should

[jQuery] Re: delayed action

2008-08-21 Thread Dan G. Switzer, II
what if i need to make such actions: after sending e-mail write message your message was sent, than wait for sometime and close the form. i tried setTimeout($('#somediv').fadeOut, 5000) , but it did not work You need: setTimeout(function (){ $('#somediv').fadeOut(); }, 5000); I

[jQuery] Re: do I need to use var $var = something

2008-08-20 Thread Dan G. Switzer, II
I've seen jQuery developers use the following syntax when declaring variables. Does the $ character help in any way? Does it do anything or is it mostly just for convenience. For example is this: var paras = $(p); better than this: var $paras = $(p); The $paras declaration identifies it as a

[jQuery] Re: do I need to use var $var = something

2008-08-20 Thread Dan G. Switzer, II
Forgive me if this sounds ignorant, but...if I understand correctly, using $ is purely for the developers own benefit so they remember that the variable is using jQuery. Correct. That's the idea behind the Hungarian Notation (which I recommend you read up on if you want more information.)

[jQuery] Re: $(this) is powerful, but is it a member of the family?

2008-07-25 Thread Dan G. Switzer, II
I have two jQuery books and scant coverage of $(this) between them. I need to know if $(this) has parents, children and siblings, and if so how to access them. Here's why... I have a page with six one-line forms on it. I put the forms in divs and hide the divs on page load based on the class of

[jQuery] Re: Fall back to IFRAMEs with jQuery

2008-07-16 Thread Dan G. Switzer, II
Istvan: I know this is a question which is really old news, but we have a site where some of our users have centralized security settings, and their ActiveX has been switched off and of course they can not use IE7. they are proud IE6 users. I have had a look at plenty of old libraries that

[jQuery] Re: jQuery animate performance help...please!!!

2008-07-11 Thread Dan G. Switzer II
Tom, i'm relatively new to jQuery and the world of javascript but since i've started using it it's opened up a huge amount of possibilities that i'm know everyone has encountered!! anyway, i was hoping that someone with a bit more experience and knowledge could help me out and possibly take a

[jQuery] Re: Safari 2 Mac - loads of problems!

2008-07-10 Thread Dan G. Switzer, II
Safari 2 has some serious problems with it's Javascript interpreter. Any page that has a heavy amount of Javascript will fail. I know the jQuery team has to run the jQuery unit tests on Safari 2 in chunks, otherwise Safari 2 blows up. There's several posts about this in the archives. -Dan

[jQuery] Re: Custom sort on table cell attribute value in tablesorter plugin rather than innerHTML value: help please!

2008-07-08 Thread Dan G. Switzer, II
I am using the tablesorter plugin, which I really like. However, in several of my table cells I have oddly formatted time values that look like the following: 1d 12h 34m 25s Which maps to: 1 day, 12 hours, 34 mins and 25 seconds I cannot change how these values are displayed - they have to be

[jQuery] Re: jScrollPanel not always initializing in Safari

2008-07-08 Thread Dan G. Switzer, II
$(document).ready() will not fire consistently in Safari (and I believe FF3) unless you load all the external CSS stylesheets before your JS scripts. Try moving all your link / and style / blocks above any script / tags and see if that doesn't resolve the issue. There's been talk about making

[jQuery] Re: $(something).text() doesn't preserve whitespace in IE

2008-07-07 Thread Dan G. Switzer, II
I'm having some issues when calling $(something).text() in IE 6/7. Basically I'm getting the calling text() on a pre element which is whitespace sensitive. In Firefox and Safari it works perfectly returning the text with whitespace intact. Is it possible to make it work in IE or shall I give up?

[jQuery] Re: Strange jQuery cross-browser problem

2008-07-01 Thread Dan G. Switzer, II
Vladimir, We are developing a site at http://www.trashortreasure.com.au/ When you click on an icon on a Google map, the info window opens and when you click on read more it should open a thickbox. Problem is that some of our users report the feature not working in FF3. Then for some it

[jQuery] Re: Best way to detect between jQuery triggered event and actual browser-based event...

2008-07-01 Thread Dan G. Switzer, II
Hmmm...that hasn't come up for me yet. Seems like the way you're doing it would be the way to go for now. Maybe in the next jQuery version they could add a key internalTrigger or something like that to the event object when the trigger method is run. Needing to determine the difference is a

[jQuery] Re: Best way to detect between jQuery triggered event and actual browser-based event...

2008-07-01 Thread Dan G. Switzer, II
Needing to determine the difference is a corner case, but it's an issue I've run into from time-to-time. For example, I've got a plug-in where I've got a click event set to toggle the current visibility of an element. However, if I call that event programmatically I always want to make sure that

[jQuery] Preventing form field caching on refresh...

2008-07-01 Thread Dan G. Switzer, II
Does anyone know a reliable way to prevent form field caching on a page reload? I want all form fields to return to their original state (aka defaultValue.) I'm developing a page and I really need the form to always return to it's original HTML state. The page isn't being cached, but FF is

[jQuery] Re: How to center text (sweet mother of mary can it be this hard?)

2008-06-30 Thread Dan G. Switzer, II
ltg, I really did not want to post here and ask for help on centering text. But I have created the simplest possible JQuery sample page, used Firebug, and still can't figure it out. Can anyone say what it would take to center text on this page: http://dev.hdgreetings.com/test.htm You can do

[jQuery] Best way to detect between jQuery triggered event and actual browser-based event...

2008-06-30 Thread Dan G. Switzer, II
Just curious as to everyone's recommendations on detecting the difference between a jQuery created event object (i.e. $(#el).trigger(click)) and a real event object (i.e. create by the browser.) Right now I'm doing: if( !(ctrlKey in e) ) I believe the ctrlKey should be sent by every browser

[jQuery] Re: Google Analytics Tracking with JQuery

2008-06-29 Thread Dan G. Switzer, II
Gaudicia, I just started looking into JQuery and I have a few questions. Mostly about how to make tagging my links with google analytics tracking faster. I want to be able to track my outgoing links, which I've read is possible, but I really haven't see anything about tracking third party

[jQuery] Re: Is it possible to fade images partially?

2008-06-28 Thread Dan G. Switzer, II
I'd like to know if it is possible to apply the fadeOut function to an element, but just partially, so that the element looks transparent (like a disabled button). I've been looking in the tutorials section of jQuery's official site and in Google, but I haven't found anything about it. Is it

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-26 Thread Dan G. Switzer, II
Tony, I was able to fix by own bug. I commented out like 899 ($self.blur();) and added a return true after line 901. That makes it so if you hit tab while at the end of the tree the tab will bubble up to the browser which will move focus to the next item. I tested in IE7 and FF4 and it works

[jQuery] Re: [autocomplete] combobox behaviour (and SELECT/OPTION accesibility)

2008-06-24 Thread Dan G. Switzer, II
Enrique, thank you, I'll test that and check speed for local 6.000 options (our customers/vendors)... Replacing 6,000 items is going to be slow. Quite frankly, that's a job for AJAX. A select element w/6,000 items not only is a lot of content to push to the client, it's a usability nightmare.

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-23 Thread Dan G. Switzer, II
Josh, Very nice! One small issue...if I click in the main part of the dropdown, rather than on the down arrow, I can't select any options with the mouse. This is a little different than a native select control, where you can click anywhere on it. I updated the code over the weekend. You

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-23 Thread Dan G. Switzer, II
Stan, Key navigation doesn't work at all - I'm not able to key down or anything. I wonder if the hotkeys plugin for jQuery might be helpful in this front since it normalizes key entry behavior? Just a thought. Thanks again for the stellar plugin. Keyboard support should now be working

[jQuery] Re: tablesorter: Glue two rows together

2008-06-20 Thread Dan G. Switzer, II
Michael, Here's an example:http://www.pengoworks.com/workshop/jquery/tablesorter/tablesorter.h tm Wow, looks great, thanks! I didn't have time to look over the code yet, so one one question: When I expand the second row and make a resort, the second row is hidden again. Is it possible to let

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-19 Thread Dan G. Switzer, II
Adam, Great plugin, Dan. Quick bug report: if I go down three levels (by using the first option) and the mouse off of the third out to the left, the 3rd level stays while I attempt to navigate to another option. I'm in FF3 on a Mac. This behavior should be fixed now. -Dan

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-19 Thread Dan G. Switzer, II
Isaak, I've just tested the plugin demo available at: http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm in Opera 9.27 and 9.5 and it's completely compatible, which is great news! I can also confirm the following bug in Firefox 3 on Windows: I just fixed the code to fix the mouse

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-19 Thread Dan G. Switzer, II
Graeme, This plugin looks really cool! I found a small issue: If you load the page for the first time (in ff3) and just click on the blank area in the dropdown (instead of the down arrow) there is no animation when it expands down and the hierarchy arrows don't work when you use the mouse. If

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-19 Thread Dan G. Switzer, II
Stan, Very nice plugin! I second Jorn's thought on the usage of both modes. I found myself slightly confused at first when I went into keyboard mode and couldn't click on anything. Seems to be an issue too when you click on the arrow, the menu is expanded and then you proceed to click on the

[jQuery] Re: tablesorter: Glue two rows together

2008-06-18 Thread Dan G. Switzer, II
Michael, is it possible to glue two table rows together, so that when the first row is sorted, the second row always comes next? Awhile back, I modded the tablesorter plug-in to do just that: http://blog.pengoworks.com/index.cfm/2008/3/28/Finished-jQuery-Tablesorter-m

[jQuery] New jQuery Plug-in: Multicolumn Dropdown

2008-06-18 Thread Dan G. Switzer, II
Awhile back I blogged about a plug-in that my company was planning on releasing called mcDropdown (multicolumn dropdown.) Well, the plug-in was officially released today: http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm If you like the plug-in, feel free to digg it:

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-18 Thread Dan G. Switzer, II
@googlegroups.com Subject: [jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown This plugin is HOT Dan. Rey Dan G. Switzer, II wrote: Awhile back I blogged about a plug-in that my company was planning on releasing called mcDropdown (multicolumn dropdown.) Well, the plug-in was officially released

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-18 Thread Dan G. Switzer, II
On Jun 18, 8:31 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Awhile back I blogged about a plug-in that my company was planning on releasing called mcDropdown (multicolumn dropdown.) Well, the plug-in was officially released today:http://www.givainc.com/labs/mcdropdown_jquery_plugin.htm

[jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown

2008-06-18 Thread Dan G. Switzer, II
@googlegroups.com Subject: [jQuery] Re: New jQuery Plug-in: Multicolumn Dropdown This plugin looks very interesting, how is the browser support? On Wed, Jun 18, 2008 at 5:31 PM, Dan G. Switzer, II [EMAIL PROTECTED] wrote: Awhile back I blogged about a plug-in that my company was planning on releasing

[jQuery] Re: hover flickering, snow storm pixels on JPGs (beginner problem)

2008-06-17 Thread Dan G. Switzer, II
Since the problem is w/absolute black being interpreted as transparent, what happens if you put a black background behind the images? -Dan -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Tuesday, June 17, 2008 5:16 PM To:

[jQuery] Re: easy way to get all input value

2008-06-13 Thread Dan G. Switzer, II
Jack, I asked this via another thread, but no reply yet... so tossing it in here, too. Do you know if *any* selector can be used with .formHash() or just an id for a form? IE, if I have a few divs inside a form can I use a div id to just get the formHash for form fields inside that div? If your

[jQuery] Re: Best practice to get form field values

2008-06-12 Thread Dan G. Switzer, II
Martin, Check out the Field plug-in: http://jquery.com/plugins/project/field This provides the type of functionality you're looking for (of providing form values back for any type of field.) -Dan -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf

[jQuery] Re: easy way to get all input value

2008-06-12 Thread Dan G. Switzer, II
Jack, The Field plug-in has a formHash() method which does exactly that: http://jquery.com/plugins/project/field You can see an example here: http://www.pengoworks.com/workshop/jquery/field/field.plugin.htm If you are using Firebug, you can see the dump of the form in your console when you

[jQuery] Re: [ANNOUNCE] Toaster plugin

2008-06-10 Thread Dan G. Switzer, II
I just updated the demo, I added a stack option I had some problem calculating the spacing dynamically so I had to add a spacing option too.. There is some behavior that I don't like much, try the following: Open 3 sticky toasters, then close the first one and open a new one.. Not sure how I

[jQuery] Re: [ANNOUNCE] Toaster plugin

2008-06-09 Thread Dan G. Switzer, II
One suggestion, multiple messages should really stack on top of each other. Right now, if you open up multiple requests they go over top of each other. They should stack on top and then slide down when each message closes. -Dan -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Display loading image while alternate image loads.

2008-05-27 Thread Dan G. Switzer, II
Andy, You can use the onerror event of an image to determine if an image loaded or not. Also, you could load the image using JS's Image object-that way you could display a loading image. Here's some example code: http://www.rgagnon.com/jsdetails/js-0083.html -Dan _ From:

[jQuery] Re: Tablesorter - Disabled Header Options with Pager

2008-05-20 Thread Dan G. Switzer, II
In most cases, you never want to call the same plug-in twice on a set of jQuery objects that initialize a behavior on the page (you called tablesorter() twice in your incorrect example.) This is because in most cases you're applying the behavior twice and may end up with really bizarre results.

[jQuery] Re: Filtering charachter input with jquery/javascript

2008-05-15 Thread Dan G. Switzer, II
Giovanni, You need to use the keypress event if you truly want to know which character was pressed. However, IE6 doesn't register the keypress event for certain non-printable characters (like the backspace, the arrow keys, etc.) So, for IE6 you need to capture those characters either on keydown

[jQuery] Re: Java applet doesn't load when markup loaded via jquery

2008-05-12 Thread Dan G. Switzer, II
I've had a ton of problems using Applets on a page with jQuery in FF2 because FF does not like jQuery accessing the expando elements when the window.onunload event runs. I've had to revert to using an iframe to load my applets in, so that it can be embedded in a page without jQuery. Perhaps you

[jQuery] Preventing text field focus() when user tabs to field...

2008-05-09 Thread Dan G. Switzer, II
I'm working on an input field where I need to disable the browser from automatically doing this.select() on an input text field. In a nutshell, I've got an input box I basically am treating like a masked input. The reason is I'm manually pre-selecting a text range. If I invoke my function to

[jQuery] Re: autocomplete onSelectItem

2008-05-09 Thread Dan G. Switzer, II
It's onItemSelect, not onSelectItem (the docs are wrong.) -Dan -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of michelem Sent: Friday, May 09, 2008 12:11 PM To: jQuery (English) Subject: [jQuery] autocomplete onSelectItem Hi, I'm trying the

[jQuery] Re: Preventing text field focus() when user tabs to field...

2008-05-09 Thread Dan G. Switzer, II
Karl, I don't know off-hand, but the first place I'd look would be Josh Bush's Masked Input plugin. He has done a ton of work to make it an excellent plugin, so I'm guessing you could get some ideas by looking at his code: http://digitalbush.com/projects/masked-input-plugin Hope that helps. I

[jQuery] Re: Expression/Selector question...

2008-05-08 Thread Dan G. Switzer, II
Karl, Yeah, it's also strange that while this doesn't work: $(body ul li).filter($li[0]); this does: $(body ul li).not($li[0]); I'm a little lost by your parents example, though. Not sure exactly what you're trying to get (esp. since you don't show where you've declared $el

[jQuery] Re: Expression/Selector question...

2008-05-07 Thread Dan G. Switzer, II
Just wonder if there were any comments to this? On May 5, 4:24 pm, Dan G. Switzer, II [EMAIL PROTECTED] wrote: One thing that I've noticed is that the expr attribute is pretty inconsistent across methods (such as filter, find, parents, parent, etc.) The documentation is very vague about what

[jQuery] Re: use jQuery selector on IE5.5

2008-05-06 Thread Dan G. Switzer, II
Angus, I just know that in jQuery + IE5.5 most selectors return empty array. After digging into source code I found that it will try to get the nodeName and nodeType of document (nodeType=9) which IE 5.5's document element doesn't have these two attributes. As a quick fix I add the following

[jQuery] Expression/Selector question...

2008-05-05 Thread Dan G. Switzer, II
One thing that I've noticed is that the expr attribute is pretty inconsistent across methods (such as filter, find, parents, parent, etc.) The documentation is very vague about what an expression is, other than it just being a selector. However I would assume a valid expression for one element

[jQuery] Re: jcarousel in ie 5.5

2008-05-02 Thread Dan G. Switzer, II
Ray, Anybody knows how to make work jcarousel in ie 5.5?. Now i see a white space in the place of the jcarousel. Perfect in ie6, ie7 and Firefox. Thanks! jQuery only officially supports IE6 and above, so if you really need to support a browser that old you're probably going to have problems

[jQuery] Re: How to access TableSorter configuration properties

2008-04-21 Thread Dan G. Switzer, II
Carl, I'm using the TableSorter plugin on a table that will have new rows appended to it by AJAX calls. I want to resort the table using the current sort settings after new rows are added. I am using the TableSorter .trigger(update) and .trigger(sorton, [sorting]) methods to resort the table.

[jQuery] Re: SOT: Using iframe to load in a Flash movie with dynamic height

2008-04-21 Thread Dan G. Switzer, II
Andy, I've been dealing with this irritating issue on and off now for about a month. I'm finally going to ask for help. I have a page here: http://lexusofdanversma.redlinecontent.com/Pages/Page.cfm?pageID=118873 It contains a Flash movie whose height is set dynamically based on it's content.

[jQuery] Re: SOT: Using iframe to load in a Flash movie with dynamic height

2008-04-21 Thread Dan G. Switzer, II
Andy, So your'e saying that even though the page works fine when not loaded into an iframe, it's still a padding issue? That sounds odd to me. I'll check it though...that'd be a great thing to have fixed. You may have a different style sheet being loaded. Also, if you're opening the IFRAME up

[jQuery] Re: clone() not maintaining checked state of cloned checkbox inputs

2008-04-17 Thread Dan G. Switzer, II
Jim, I'm using the following code to get all selected checkboxes from my html page and copy them into the form I'm about to submit: $ ([EMAIL PROTECTED]'BatchItem']:checked).clone().appendTo(#checkboxContainer) ; I'm pretty certain that with previous versions of jquery (specifically 1.2.1),

[jQuery] Re: Two column menu using jdMenu?

2008-04-03 Thread Dan G. Switzer, II
Jason, I'm using jdMenu for a new project and came across a problem. Some of my menus are so long that they run off the page. Is there any way of making the menu spill over into a second column. If that can't be done, can it cut off and allow people to scroll through the listings? How should

[jQuery] Re: JQuery TableSorter pager Plugin problem

2008-03-28 Thread Dan G. Switzer, II
Paul, I've recently installed the TableSorter widget for jquery. It all worked fine, so I tried to go one step further, by installing the pager plugin for TableSorter. The problem I have is that the div called 'pager' appears on top of my table (at the bottom), instead of under the table, where

[jQuery] Re: Brain fade...how do you destroy a div?

2008-03-28 Thread Dan G. Switzer, II
Sounds like an odd way to do it, just do $('#div').remove(); works with any DOM selection and it's chainable $('span').fadeOut().remove(); You'd really need to do: $('span').fadeOut(function (){ $(this).remove() }); To make sure you don't remove the element until after

[jQuery] Best method for detecting the depth of childed ordered list...

2008-03-07 Thread Dan G. Switzer, II
I'm trying to get the depth of an ordered list. I need to know what the deepest branch of the list is. My data looks like: ul li Item 1 ul li Item 1.a /li li Item 1.b /li /ul /li li Item 2 /li li Item 3 ul li

  1   2   3   4   5   6   >