[jQuery] Re: Updating ID in two places

2007-05-31 Thread Klaus Hartl
Smith, Allex wrote: Instead I would apply a class to them like: .boldClass { font-weight:700; } You should avoid such presentational naming. If the look of it changes next week, the class name doesn't make sense any longer and to keep it maintainable you'd have to change the class n

[jQuery] Re: onfocus filter question

2007-05-31 Thread John Resig
I think the fool-proof way would be to do something like adding a class, for example: $("input.text:not(.focused)").focus(function(){ ... }).addClass("focused"); That way you can run that line as many times as you want and it'll never re-bind the focus event. --John On 5/31/07, John R <[EMAIL

[jQuery] Re: Need help with interface slider on Firefox/Win

2007-05-31 Thread Mitch
On May 31, 6:33 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > On 5/31/07, Mitch <[EMAIL PROTECTED]> wrote: > > > I'm trying to build a horizontal slider using the jQuery interface > > plugin. ... > > > Any help would be greatly appreciated. Please let me know if you need > > additional inf

[jQuery] Re: DIV onresize

2007-05-31 Thread Ⓙⓐⓚⓔ
As far as I know, nothing works but window.onresize On 5/31/07, Glen Lipka <[EMAIL PROTECTED]> wrote: Is there a way of putting a listener on a DIV that listens for it's height changing? Resize didnt do it I think. Glen -- Ⓙⓐⓚⓔ - יעקב ʝǡǩȩ ᎫᎪᏦᎬ

[jQuery] DIV onresize

2007-05-31 Thread Glen Lipka
Is there a way of putting a listener on a DIV that listens for it's height changing? Resize didnt do it I think. Glen

[jQuery] Interface plugins iselect and idrag

2007-05-31 Thread [EMAIL PROTECTED]
Hi, I have some weird problems using the interface plugins iselect.js and idrag.js. One issue is the failure message I get when trying to use the "onselect" event for the Selectable plugin. Firebug brings up the failure message "a.get(0) has no properties" when executing the Selectserialize func

[jQuery] Re: NEWS: jQuery Mentioned on MrBool.com

2007-05-31 Thread Rey Bango
Thanks for coming over and getting more feedback on jQuery, Marty. The community is very supportive of this project so anything that's written which may not be 100% on target will be scrutinized. Even better, though, is the fact that we try to work with the author in question to ensure accura

[jQuery] Re: Need help with interface slider on Firefox/Win

2007-05-31 Thread Richard D. Worth
On 5/31/07, Mitch <[EMAIL PROTECTED]> wrote: I'm trying to build a horizontal slider using the jQuery interface plugin. ... Any help would be greatly appreciated. Please let me know if you need additional information. Some code samples would be great. Also, are you using the dimensions pl

[jQuery] Re: Question about Superfish menu

2007-05-31 Thread Joel Birch
Hi Carleigh, The HoverIntent plugin by Brian Cherne does exactly what you want. I had a go using it with Superfish when HoverIntent was still in beta and had some success but there were some glitches I didn't get around. Can't remember exactly what they were or which browsers they occurr

[jQuery] onfocus filter question

2007-05-31 Thread John R
I have a table with rows of input fields that is dynamic in that the user can add / remove rows. I'm trying to trigger a function whenever the user clicks in any of the fields, so for example I use this: $("input.text").focus( function() { alert("In textfield"); } ); After a row is dynamically

[jQuery] "Line break" between label and input when using image

2007-05-31 Thread gee
Great work! An issue I have experienced with both the original datePicker and v2 involves the date's text input field "breaking" to a new line when using a button to trigger datePicker instead of the "Choose date" text. E.g., instead of: Start date: [text input] [.png] The display appears as:

[jQuery] Question about Superfish menu

2007-05-31 Thread Carleigh Romeis
Hello! I am working on creating a new navigation and I really like how the Superfish dropdown works. However I would like to alter it a bit by adding a delay before the drop down occurs. My goal is to create a menu so that when you rollover it there is a slight pause before the menu drops dow

[jQuery] Re: NEWS: jQuery Mentioned on MrBool.com

2007-05-31 Thread martykube
On May 21, 4:22 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > >Rey, I'm a little dense here, but not exactly sure what he is trying to say > >with this line: > > > "However, it does not support a reusable programming model like an object > >oriented approach, so you should not expect tho

[jQuery] Need help with interface slider on Firefox/Win

2007-05-31 Thread Mitch
I'm trying to build a horizontal slider using the jQuery interface plugin. When I click on the slider's indicator, the indicator jumps well to the right of the mouse cursor. This behavior manifests with Firefox 2.0.0.4 / Windows; everything works correctly with IE 6. The slider has a single ind

[jQuery] Re: Weirdness in IE

2007-05-31 Thread Joel Taylor
Richard, sorry for miss-understanding you. However, thank you, thank you, thank you for pointing out my error I changed that style to: #content h1 + p, #content hr + p and that fixed it! oh my gosh. mystery solved. Joel On 5/31/07, Richard D. Worth <[EMAIL PROTECTED]> wrote: > > On 5/31/07,

[jQuery] Re: tabs plugin with imagebox?

2007-05-31 Thread Sean Catchpole
When I visit the page in both IE and Firefox it seems to load on top of the page just fine. ~Sean

[jQuery] Re: Updating ID in two places

2007-05-31 Thread Sean Catchpole
I don't think that will work. If "d" is your span, then it doesn't have an attribute of productSizeName. Perhaps you should consider changing the html around a little, it seems a little unorganized. ~Sean

[jQuery] Re: Updating ID in two places

2007-05-31 Thread cfdvlpr
Sorry, I left out too much context. Here's more of my HTML code: Select Size: 2 x 2 2 x 4 And, here's more of the Jquery: function switchSize(span){ d = $(span); var ps = "#productSizeTitle"; $(ps).empty().append(d.attr('productSizeName')); var ps2

[jQuery] Re: Updating ID in two places

2007-05-31 Thread Smith, Allex
I'm a little confuse by you code. I would drop using Id's for productSizeTitle and productSizeTitle2 or at least setting your css for them by id. Instead I would apply a class to them like: .boldClass { font-weight:700; } Then for the jQuery code: $('#productSizeTitle').addClass("bold

[jQuery] Updating ID in two places

2007-05-31 Thread cfdvlpr
I have this CSS: #productSizeTitle { font-weight:700; } #productSizeTitle2 { font-weight:700; } And, down in my HTML I want to display a span with this bold style twice: 2 x 4 2 x 4 And, I have some Jquery that updates these two span elements: var ps = "#productSizeTitle"; var

[jQuery] Re: onhover Tips

2007-05-31 Thread SamCKayak
I was hoping for a bubbletip based on jQuery. Bubbletips look great. baassistance wont require another library and will meet my needs. T Thanks, Sam

[jQuery] Re: onhover Tips

2007-05-31 Thread DaveG
Also check out clueTips: http://examples.learningjquery.com/62/ However, after also researching, I ended up with this non-jQ solution: http://web-graphics.com/mtarchive/001717.php It's very small, offers 3-d shadow effects, is easy to modify as needed. ~ ~ Dave Sean Catchpole wrote: The

[jQuery] tabs plugin with imagebox?

2007-05-31 Thread Robert Vidrine
Greetings, I'm loving the tabs and imagebox plugins, but am having some trouble getting them to play nicely together. I've used them here: The problem is that when I launch the imagebox view of one of the images, it appears just behind the tabs (which a

[jQuery] Re: Weirdness in IE

2007-05-31 Thread Richard D. Worth
On 5/31/07, Joel Taylor <[EMAIL PROTECTED]> wrote: On 5/30/07, Richard D. Worth < [EMAIL PROTECTED]> wrote: > > > I think I found a minimal test case for you. It's just IE, CSS, and DOM > (no jQuery bug): > > ... > > Talk about weird. Removing either the or the :hover{} seems > to fix it. L

[jQuery] jQuery on attackr.com

2007-05-31 Thread Shaun Kester
jQuery has been mentioned on attackr.com. It was my turn to write a quick article on web development and jQuery is an excellent muse. http://www.attackr.com/file-uploads-with-ajax/

[jQuery] Re: $().load() not working in Opera?

2007-05-31 Thread warlock24
On 30 Maj, 16:26, "Jean Nascimento" <[EMAIL PROTECTED]> wrote: > but u can do better with the design no? =P > and what is wrong with it? :)

[jQuery] Re: onhover Tips

2007-05-31 Thread Sean Catchpole
The plugins page (http://docs.jquery.com/Plugins) has lots of great scripts. I always recommend checking there first. I recommend http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ for a tooltip plugin. ~Sean

[jQuery] onhover Tips

2007-05-31 Thread SamCKayak
Any suggestions for onmouseover tip libraries? Sam

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread tuliopaiva
I'm trying to add get a parameter with the id of the hidden input. something like this: = function findValue(li, hidden_id) { //add the "hidden_id" parameter if( li == null ) return alert("No match!"); // if coming from an AJAX call, let's use the id as the value if( !!

[jQuery] Re: Colon Operator

2007-05-31 Thread Jonathan Sharp
I can't speak for John, but I asked about this about a month ago and he was saying it was slated for the 1.2 release. -js On May 31, 2:46 pm, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Rick Faircloth wrote: > > Let's hope so... I want him to be in business > > > when I need him... I'm getting up

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread Dan G. Switzer, II
>I would like to add a parameter with the id of the hidden input that >will have the hidden value of the item. >something like this: >= >function findValue(li, hidden_id) { //add the "hidden_id" parameter > if( li == null ) return alert("No match!"); > // if coming from an AJAX cal

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread Ⓙⓐⓚⓔ
onFindValue:function(li){findValue(li,1,2,3,4)}, On 5/31/07, tuliopaiva <[EMAIL PROTECTED]> wrote: I would like to add a parameter with the id of the hidden input that will have the hidden value of the item. something like this: = function findValue(li, hidden_id) { //add the "hidden_id" p

[jQuery] Re: jQuery Autocomplete Mod

2007-05-31 Thread tuliopaiva
Other thing... How Could I pass a string with the id of hidden field for the "findValue" function?? Thank You. On 31 maio, 14:32, tuliopaiva <[EMAIL PROTECTED]> wrote: > It worked! > Thank You! > > On 31 maio, 10:22, "Dan G. Switzer, II" <[EMAIL PROTECTED]> > wrote: > > > >Hello! > > > >First

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread tuliopaiva
I would like to add a parameter with the id of the hidden input that will have the hidden value of the item. something like this: = function findValue(li, hidden_id) { //add the "hidden_id" parameter if( li == null ) return alert("No match!"); // if coming from an AJAX call, le

[jQuery] Re: Weirdness in IE

2007-05-31 Thread Joel Taylor
Ok, I tried both of those, and neither of them fixed the issue in IE7 (I didnt even check IE6) On 5/30/07, Richard D. Worth <[EMAIL PROTECTED]> wrote: > > On 5/25/07, Joel Taylor <[EMAIL PROTECTED]> wrote: > > > > I still need help with this one. > > See it here: > http://dd-management.com/dev/TC/

[jQuery] Re: Adding Parameters in a function

2007-05-31 Thread Dan G. Switzer, II
>createAutoComplete = function() { > return $("#input_box").autocomplete("/buscarServidor/", { > delay:10, > minChars:2, > matchSubset:1, > matchContains:1, > cacheLength:10,

[jQuery] Re: iframe question -> frameReady plugin

2007-05-31 Thread Daemach
That's a good question. I designed frameReady to break closures because the reference to the parent frame was causing execution problems. I just updated it though, adding the ability to send data that you can reference separately using the options object. Your code would look like this: var n

[jQuery] Re: JQuery Gurus: a challenge for you. Hide and Show

2007-05-31 Thread Sean Catchpole
You bet, try binding an onClick function in the tabs plugin that will detect when the last tab is clicked. Look at the documentation and source code of the tabs plugin for more information. ~Sean

[jQuery] Re: Colon Operator

2007-05-31 Thread Klaus Hartl
Rick Faircloth wrote: Let’s hope so… I want him to be in business when I need him… I’m getting up in age, you know. ;o) Rick PS – I didn’t know xml files had colons! The colon in XML files, e.g. in tags to be precise, denotes a namespace the particular element belongs to. There is

[jQuery] Re: Tabs with nested divs

2007-05-31 Thread Klaus Hartl
[EMAIL PROTECTED] wrote: I'm experiencing a problem with Klaus Hartl's tabs and nested divs. Here is the code (which is basically the example code with some Smarty added): $(document).ready(function() { $('#home-me-items').tabs();