[jQuery] Re: Animation speed dilemma...

2008-12-15 Thread Dan Switzer
Dae, I'm talking about the ticker that ESPN uses on TV. As far as how many FPS per second, I have decided what I'm using. I'm just needing to make the visual speed of scrolling consistent (which is done by moving an element to the left until it's no longer visible) to be the same no matter how

[jQuery] Re: Wildcard selector AND pass the selector to a sub-function?

2008-12-13 Thread Dan Switzer
The easiest way to do this would be to give each div a specific class: div id=mydiv1 class=foo / div id=mydiv2 class=foo / div id=mydiv3 class=foo / div id=mydiv4 class=foo / Now you could just do: $(div.foo).change(); I like this method, since usually this divs have related visuals, so you

[jQuery] Re: mcDropDown - problem getting displayed value

2008-12-10 Thread Dan Switzer
PROTECTED] wrote: Dan Switzer wrote: Sean, The getValue() should do exactly what you need. It returns an array in the format [value, label]. So the second element in the array is exactly the value I believe you're after. -Dan Dan, thanks. I'm able to get the label using [1], but the behavior

[jQuery] Re: Object Oriented Form Handling

2008-12-06 Thread Dan Switzer
Will, Does anyone know of a way to use class like objects in event handling using jQuery? For Example, input type='button' value='Button' onclick='Record.show()' / where .show() is a method of the Record object. This would be really cool to be able to reuse the method name .show() but

[jQuery] Re: mcDropDown - problem getting displayed value

2008-12-06 Thread Dan Switzer
Sean, On Fri, Dec 5, 2008 at 2:00 PM, Sean O [EMAIL PROTECTED] wrote: .getValue() doesn't work, and would only return the rel attribute of selection anyway. What I need is the displayed text. Ideas? Thanks. The getValue() should do exactly what you need. It returns an array in the format

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

2008-12-04 Thread Dan Switzer
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: http://www.pengoworks.com/workshop/bugs/ff2_blink_through.htm -Dan Can't reproduce it. Have you played with the z-indexes? On

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

2008-12-04 Thread Dan Switzer
Josh, There are some issues in FF with cursors and absolute positioned divs. Might've been fixed in FF3. Another one is the cursor won't show up in a text field within an absolute positioned div that is in a layer above the document body. If you do a google search on firebox cursor bug or

[jQuery] Re: CSS bug when combining Tabs and TableSorter

2008-11-29 Thread Dan Switzer
Kevin, #sect1 a, #sect1 a span {background:none} should solve your immediate problem The better fix is to remove this div: div class=ui-tabs-nav id=mylsi or, at the minimum give it a different class. The problem is by wrapping all your

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

2008-11-20 Thread Dan Switzer
Carl, I'm using the linkselect plugin to replace select objects in forms with a custom look... The issue I'm having is that when these occur in navigation menus/panels that appear on hover, hovering down onto the replaced select object listing causes the actual navigation menu to disappear,

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

2008-11-20 Thread Dan Switzer
Carl, Sorry, I missed a comma (I accidentally typed m instead of ,). The line: , init: function ($select, $input, $a $container){ Should be: , init: function ($select, $input, $a, $container){ -Dan On Thu, Nov 20, 2008 at 2:01 PM, clorentzen [EMAIL PROTECTED] wrote: Dan -- Yeah, I

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

2008-11-19 Thread Dan Switzer
Do you have to use percentages? I have a feeling an exact width in px might help. I've tried using an exact pixel size and still had the same problem. It definitely appears to be a rendering issue with FF2, but I thought maybe there's a work around. Oddly enough, since I've removed the

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

2008-11-18 Thread Dan Switzer
Do you have to use percentages? I have a feeling an exact width in px might help. I've tried using an exact pixel size and still had the same problem. It definitely appears to be a rendering issue with FF2, but I thought maybe there's a work around. Oddly enough, since I've removed the length

[jQuery] Re: mcDropDown: How to reload?

2008-11-14 Thread Dan Switzer
Christian, On Thu, Nov 13, 2008 at 11:07 PM, CED [EMAIL PROTECTED] wrote: Anyone know how to force a mcdropdown element to reload? I am trying to update the mcdropdown via another action. McDropDown returns the element if its already been defined. There currently is no way to do this

[jQuery] Re: combining slideup, post, slidedown

2008-11-09 Thread Dan Switzer
Athalos, On Sun, Nov 9, 2008 at 3:53 AM, Althalos [EMAIL PROTECTED] wrote: Nope. Can't make that work either. I now have: $(document).ready(function(){ $(a).fadeTo(500,0.33); $(a).hover(function(){ $(this).fadeTo(500,1); }, function() { $(this).fadeTo(300,0.33); });

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

2008-11-08 Thread Dan Switzer
) { return this.hide('clip', {}, speed, callback); }, switchOn : function(speed, callback) { return this.show('clip', {}, speed, callback); } }); })(jQuery); On Oct 22, 1:58 pm, Dan Switzer [EMAIL PROTECTED] wrote: The example page works as it should, I am using

[jQuery] Re: Exclude inputs when using the keypress event

2008-11-01 Thread Dan Switzer
Ryan, I'm building in a few keypress events into a site and I'm having trouble keeping them from triggering when a text field has focus. For some reason this only happens on the second if statement. The first one does fine. What am I missing? The code:

[jQuery] Re: mcdropdown mouseout problems

2008-10-31 Thread Dan Switzer
On Thu, Oct 30, 2008 at 2:10 PM, Ken Gregg [EMAIL PROTECTED] wrote: No joy. I removed the anchors and fixed a problem with a duplicate id and still experience the same problem. I've never seen that behavior again. I've been in meetings for the past couple of days, but I'll try to look into

[jQuery] Re: autocomplete - other items on web page showing through autocomplete list. Only in IE6

2008-10-30 Thread Dan Switzer
I would just like to thank you all in advance for taking time to help me. I am using ... Autocomplete - jQuery plugin 1.0.2 Revision: $Id: jquery.autocomplete.js 5747 2008-06-25 18:30:55Z joern.zaefferer $ In IE7 and Mozilla, the autocomplete works fine. When I use IE6, the item below

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

2008-10-22 Thread Dan Switzer
The example page works as it should, I am using the the latest listed: * Rev: 1.2.07 I had the same behavior on 2 different pages. Unfortunately there is not live example. Everything else works fine with the widget. The root menu actually animates on the top left of the page at first

[jQuery] Re: Activate checkbox from URL

2008-10-20 Thread Dan Switzer
Alex, On Mon, Oct 20, 2008 at 3:38 AM, Alex Hempton-Smith [EMAIL PROTECTED] wrote: I'm using the Flot graphing plugin and I'd like to be able to have a specific series highlighted depending on the URL, as I want to link to it. This will mean activating a checkbox depending on the URL, for

[jQuery] Re: Way to use a Multi-Line Example Prompt in a Single-line Text Input Field

2008-10-20 Thread Dan Switzer
Wayne: I'm trying to prompt for input within the field using the Example plugin (http://plugins.jquery.com/project/example). The idea is that I'm styling my input field to be unsually large when the user types (it will be no more than a 4 or 5 digits), so I can use closer to normal size

[jQuery] Re: Linkselect Plug-in Released...

2008-10-20 Thread Dan Switzer
On Mon, Oct 20, 2008 at 11:22 AM, Ca-Phun Ung [EMAIL PROTECTED] wrote: Very cool! Excellent work! I like how you are able to change the entire look purely through CSS. It also looks very adaptable. Thanks for sharing. :) Thanks!

[jQuery] Re: a probable bug with keyboard events

2008-10-19 Thread Dan Switzer
Alex, What keyboard event are you logging? Some events are only captured by a keypress event and will be ignored by the keydown event. -Dan On Sun, Oct 19, 2008 at 5:12 AM, alex bodnaru [EMAIL PROTECTED]wrote: hello friends, i ran into a corner case with jquery autocomplete which i'd like