[jQuery] Re: Name Panels instead of calling them by #number

2009-01-26 Thread Stephan Veigl
What do you mean with panels? I'm not sure if it is what you are searching for, but if you have: div a name=contact... ... /div you can use $('a[name=contact]:parent') to get your surrounding div. However using an ID instead of the attribute search (name=...) will be much faster. by(e)

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread Olaf Bosch
kevind schrieb: how do get the 2 TR's to highlight together at the same time when i float over the class 'Row' ? Do i surround them with DIVs or SPAN? Is this possible to group 2 table rows inside another element and get the function to fire for both. Give this a try: $(function(){

[jQuery] Re: [validate] dynamic message

2009-01-26 Thread Jörn Zaefferer
Try this workaround - update validator.settings.messages[element.name] with the appropiate value inside your validation method: $.validator.addMethod(dynamic_check, function(value, element, param) { if(incorrect(value, param)){ this.settings.messages[element.name] = some dynamic

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread jQuery Lover
Hi Kevin, NO, you can not wrap your tr's with div's or span's. Unfortunately Olaf's script will not work also. A little ugly script should do the job: $(function(){ $('.Row').hover(function(){ $(this).addClass('hover'); getNeighbor(this,

[jQuery] Re: [autocomplete] Problem with .result

2009-01-26 Thread Styx
It dosen't work. For example: I use tab key to navigate. If focus is set to input, id will be empty. If I don't want change my input, id also shouldn't be change. IAnother example: If my result work and set id properly, if I keypress shift or ctrl, id field will be cleared. On 24 Sty, 00:20,

[jQuery] Re: Problem with Jcarousel and Safari: next button disabled

2009-01-26 Thread gaurav_ch
Hi. I had a similar problem in safari but have not been able to find a solution to it. Contacted the author also but no reply from him either. Will let you know if i find a solution to it. On Jan 26, 2:33 am, kinesias talk2matth...@googlemail.com wrote: Hi, please check

[jQuery] Re: change certain elements in result set based on position

2009-01-26 Thread Ricardo Tomasi
You can loop over the colors also just by using the modulo operator instead: $('a').each(function(i){ i = ++i % 4; var color = i == 1 ? 'red' : //first 4 i == 2 ? 'blue' : //second group of 4 i == 3 ? 'yellow' : // third group 'lime'; //fourth group and so on

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread Ricardo Tomasi
There is a simpler way: $('.Row').each(function(){ var t = $(this), n = t.next('.Row'), direction = n.length ? 'next' : 'prev'; $(this).hover(function(){ t[direction]('.Row').andSelf().children('td').css ('background','red'); },function(){

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread Ricardo Tomasi
oops. posted my testing code. here's the right one: $('.Row').each(function(){ var t = $(this), n = t.next('.Row'), direction = n.length ? 'next' : 'prev'; t.hover(function(){ t[direction]('.Row').andSelf().addClass('hover'); },function(){

[jQuery] How to display tips by creating a jQuery plugin

2009-01-26 Thread AdrianMG
Hi there! One more tutorial to share with you guys... We are going to learn how to create our custom jQuery plugin to show tips on mouse over event on our desired elements. We will also be able to customize the appearence of the tip division for each kind of elements in the CSS code and much

[jQuery] Closing the modal pop up programmatically

2009-01-26 Thread TFrank
Hi all. I see the obvious simplemodal-close class, which by default will close the modal object. However, the problem I am having is that the modal div's html is being populated by an ajax call for a remote page. The response'd HTML contains the simplemodal-close class, however its not being

[jQuery] Problem with animate callback

2009-01-26 Thread dreame4
Hi, I have function which animates div#square and insert link in this div (via animate callback): function resizeSquare() { var $square = $('#square'); $square.animate({ width: 300px, marginLeft: -150px}, 800) .animate({ height: 400px, marginTop: -200px}, 800,

[jQuery] Problem with animate callback

2009-01-26 Thread dreame4
Hi, I have sth like this: function resizeSquare() { var $square = $('#square'); $square.animate({ width: 300px, marginLeft: -150px}, 800) .animate({ height: 400px, marginTop: -200px}, 800, function() { $(this).html('a href=# class=clickedclicked/a');

[jQuery] SlideViewer

2009-01-26 Thread Travis
Hi, all I'm using SlideViewer plugin. is it possible to have autoplay for the gallery with play, pause , next and previous buttons. thanks in advance Rakesh

[jQuery] Re: Form Plugin with file upload

2009-01-26 Thread BogusRed
I've set up a page here: http://www.paperdemon.com/tests/commentsclass.php log in with the following info: login: t...@yahoo.com password: p455w0rd After Logging in, click on Post a Comment and type a message and select a jpg image to upload. Then hit submit. In Firefox, when a file is

[jQuery] Jquery pagination plugin problem

2009-01-26 Thread Andy789
Hi all, I am playing with the pagination plugin (http://plugins.jquery.com/ node/5912) and cannot figure out how to change number of items showing on a single page. Changing the param items_per_page changes the number of page links (navigation), but still shows a single item on a page. You may

[jQuery] Select Display image

2009-01-26 Thread adnan raja
I am looking for a jquery plugin which allows me to select an image for display. I want something similar as MSN messenger provides for selecting display image. When I click browse button an image gallery open up in a popup which should display uploaded images with proper directory structure. I

[jQuery] Validating reCaptcha using JQuery before sending via $.post

2009-01-26 Thread osu
Hi, Is there a way to validate a visitors reCaptcha input using JQuery before sending the form? I can't see any way I can do it. Can anytone help? Thanks

[jQuery] Event delegation and hover(over, out)

2009-01-26 Thread Steffen Wenzel
Hi, I'm appending elements to a list and want to attach a hover-event (show or hide image) to links inside of that list-element. The HTML ist: ul class=removable lia href=#1img style=display: none; src=icon_remove.gif / /a/li lia href=#2img style=display: none;

[jQuery] [autocomplete] IE7 Problems Multiple Autocomplete

2009-01-26 Thread Sparky12
Hi Guys! I am currently using the Autocomplete plugin by Jörn and its awesome! However, I have problem when I try to use multiple autocompletes in one page. There is one input. I bind it when “document.ready” fires. It’s works perfectly. function BindAutosuggestControl(id, urlAction,

[jQuery] Re: How do I get the actual HREF of a link?

2009-01-26 Thread Karl Swedberg
On Jan 26, 2009, at 12:56 AM, jQuery Lover wrote: You can also try this: $('#testlink')[0].getAttribute('href'); Returns whatever is in your href... Actually, in IE, where I'm guessing the problem is occurring, you need to set the iFlags argument to 2 in order to get the actual value of

[jQuery] Re: Validating reCaptcha using JQuery before sending via $.post

2009-01-26 Thread Jörn Zaefferer
Here is a demo of the validation plugin with some captcha implementation, not reCaptcha: http://jquery.bassistance.de/validate/demo/captcha/ Could help as a starting point. Jörn On Mon, Jan 26, 2009 at 2:05 PM, osu onesiz...@googlemail.com wrote: Hi, Is there a way to validate a visitors

[jQuery] Re: Problem with animate callback

2009-01-26 Thread Karl Swedberg
The click handler needs to be bound when the link actually exists. You could try it this way: function resizeSquare() { var $square = $('#square'); $square.animate({ width: 300px, marginLeft: -150px}, 800) .animate({ height: 400px, marginTop: -200px}, 800, function() {

[jQuery] Seeking div hide/show plugin with access by URL

2009-01-26 Thread Jonny Stephens
I'm looking for a jQuery 1.2.6 compatible plugin providing the following: In a page with a number of sections in divs, on page load a specified div is visible but all others are hidden. Clicking a link in the sidebar navigation hides the current div and reveals in that position the div which

[jQuery] Suggester under browser's one

2009-01-26 Thread ilmarik
I'm building simple mechanism to show user's list of possible choices after s/he writes some letters to input box. but, browser remembers last choices (after form submit) and shows its own suggest over my suggester. Is there any way to hide/stop showing browser's original suggester?

[jQuery] Re: Suggester under browser's one

2009-01-26 Thread James Hughes
Try this, input type=text name=cc autocomplete=off / From: jquery-en@googlegroups.com on behalf of ilmarik Sent: Mon 26/01/2009 13:19 To: jQuery (English) Subject: [jQuery] Suggester under browser's one I'm building simple mechanism to show user's list of

[jQuery] Re: Suggester under browser's one

2009-01-26 Thread ilmarik
It works, but... https://developer.mozilla.org/en/How_to_Turn_Off_Form_Autocompletion#Original_Document_Information Thanks for help

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread kevind
This one did the trick - thanks ! On Jan 26, 5:29 am, jQuery Lover ilovejqu...@gmail.com wrote: Hi Kevin, NO, you can not wrap your tr's with div's or span's. Unfortunately Olaf's script will not work also. A little ugly script should do the job: $(function(){        

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread kevind
followup question..now that i have nice hover working, i'd like to set the TR to be a link to a page, instead of the content i have now: == tr {Issues:rowStyle} td style=TEXT-ALIGN: righta href={ID_Src}Details/a/td == I'd like to get rid of the extra column and the link

[jQuery] Working with Arrays

2009-01-26 Thread Stefan Sturm
Hello, I use some jQUery functions, to work with Array. But now I'm missing a function. How can I remove an item from an Array? Lets say, I have this Array: var a=[ 1,2,3,4,5,6]; And now I want to remove item 3. How can I do this? Thanks for your Help, Stefan Sturm

[jQuery] Re: Validating reCaptcha using JQuery before sending via $.post

2009-01-26 Thread osu
Thanks Jorn, I think one of the problems with what i'm trying to do is that recaptcha works within an iFrame and I can't figure out how to check the users input vs what is visible in the captcha image. Thanks for the link though. On Jan 26, 2:36 pm, Jörn Zaefferer

[jQuery] Re: how tu use jQuery.getJSON in synchronous mode

2009-01-26 Thread Olivier
OK for success; just an transcription error; the problem is not here. On Jan 25, 9:23 pm, Ariel Flesler afles...@gmail.com wrote: It's success not succcess. -- Ariel Fleslerhttp://flesler.blogspot.com On Jan 25, 2:36 pm, Olivier lafanech...@gmail.com wrote: I try to use jQuery.ajax with

[jQuery] Re: jquery not working at all after upgrade to 1.3.1

2009-01-26 Thread Jay
Yes, and on top of that I put an alert in the jquery-1.3.1.js to see if it was finding the file correctly and it is, I got the alert before the page loaded. On Jan 23, 8:20 pm, Mike Alsup mal...@gmail.com wrote: This is the same error I get when I was building the app and the id, gid3 in

[jQuery] Re: Working with Arrays

2009-01-26 Thread Karl Swedberg
Hi Stefan, You could use the core JavaScript .splice() method: https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Global_Objects/Array/splice --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 26, 2009, at 9:20 AM, Stefan Sturm wrote:

[jQuery] Implementing a Knob Control

2009-01-26 Thread legofish
Hi, I need to implement a knob control for one of my projects (eg. a volume knob). Ideally I would like to use jquery. I have spent some time searching for any resources to get started. Not only I can't find anything in jquery, I can't find anything even resembling a knob implementation in

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-26 Thread laredotorn...@zipmail.com
My iframe is also hard-coded. But here is what I get when I do console.log statements ... $('#fileTreeIframe').load( function() { var $ifbody = $(this).contents().find ( 'body' ); console.log($ifbody); // Outputs

[jQuery] Re: SlideViewer

2009-01-26 Thread Chris J. Lee
Just use the coda plugin. http://www.ndoherty.com/demos/coda-slider/1.1.1/ Coda is actually based on slideviewer if you look at the source. On Jan 26, 3:40 am, Travis rakeshkum...@gmail.com wrote: Hi, all I'm using SlideViewer plugin. is it possible to have autoplay for the gallery with

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread James Hughes
Do you mean a gague control? IE some sort of rotary control vs a slider? From: jquery-en@googlegroups.com on behalf of legofish Sent: Mon 26/01/2009 14:49 To: jQuery (English) Subject: [jQuery] Implementing a Knob Control Hi, I need to implement a knob

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread Ricardo Tomasi
That's quite simple. Just adjust your CSS so that the rows 'blend together', set cursor: pointer in your CSS, and use this: $('.Row:even').each(function(){ var t = $(this), link = t.find('a')[0].href; t.add( t.next('.Row') ).click(function(){ window.location = link; }); }); use

[jQuery] Re: Seeking div hide/show plugin with access by URL

2009-01-26 Thread Ricardo Tomasi
Try http://stilbuero.de/jquery/tabs/ or the Tabs funcionality in jQuery UI. Or venture into the docs/jQuery API (http://docs.jquery.com, http://api.jquery.com) and you should be able to accomplish all this by yourself in a few days. - ricardo On Jan 26, 11:08 am, Jonny Stephens

[jQuery] Re: Form Validation

2009-01-26 Thread issya
I just tested this code on IE 6/7 and it does not work. I am using a thickbox ajax call to load this form into a lightbox. The forms loads just fine. If you don't fill anything out and submit the form, it will let it go through. It also seems to refresh the entire page which it shouldn't.

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread Eric Garside
Legofish, I've got a couple ideas which might get the job done, but they all depend on what style of knob you want. Take a look around a google image search, and see if you can find a good representation of the type of knob you want. Then we can go from there. :) On Jan 26, 10:03 am, James

[jQuery] this (class) + id + text

2009-01-26 Thread Crazy-Achmet
Hey, sorry for the weird topic but i couldn't find a better one so i choose this! ;) Right now, i got this code: $('.show_image').hover( function(){ $('.image').show(); },

[jQuery] Re: Suggester under browser's one

2009-01-26 Thread Eric Garside
That, or you could just use a rotating name for the field. I'm pretty sure that would fix the problem as well, as I think form memory is based off input name/id? I could be way off the mark, but naming the field like: 'salt_' + new Date().valueOf(); should stop autocomplete from working on it.

[jQuery] Re: this (class) + id + text

2009-01-26 Thread Eric Garside
Lets assume you have the following html: a href=#image_1 class=show_imageShow Image/a a href=#otherImg class=show_imageShow Image/a a href=#image_2 class=show_imageShow Image/a img src=a.png id=image_1 alt=Some Image/ img src=b.png id=otherImg alt=Some Image/ img src=c.png id=image_2 alt=Some

[jQuery] Re: How do I get the actual HREF of a link?

2009-01-26 Thread seangates
I've used this a hundred times: $('#testlink').attr('href'); Don't make jQuery more complicated than it has to be. -- Sean On Jan 26, 7:32 am, Karl Swedberg k...@englishrules.com wrote: On Jan 26, 2009, at 12:56 AM, jQuery Lover wrote: You can also try this:

[jQuery] cluetip with an dynamic aspx content

2009-01-26 Thread chrs
hi! i have a problem with ajax-loaded contents with the cluetip-plugin... the loading of a .html-file works, but i want to load a .aspx-file – and this is my problem. there is always the message sorry, the contents could not be loaded. anybody knows this problem?

[jQuery] Re: this (class) + id + text

2009-01-26 Thread Eric Garside
Ugh, sorry. Mondays. ;_; The correct code should be: $('.show_img').hover( function(){ $($(this).attr('href')).show() }, function(){ $($(this).attr('href')).hide() } ); On Jan 26, 10:33 am, Eric Garside gars...@gmail.com wrote: Lets assume you have the

[jQuery] Re: this (class) + id + text

2009-01-26 Thread Crazy-Achmet
Amazing, worked like a charme! ;) Thanks On 26 Jan., 16:42, Eric Garside gars...@gmail.com wrote: Ugh, sorry. Mondays. ;_; The correct code should be: $('.show_img').hover(      function(){         $($(this).attr('href')).show()      },      function(){        

[jQuery] Re: cluetip with an dynamic aspx content

2009-01-26 Thread Karl Swedberg
Hi there, That message occurs when there is an ajax error. Can you use Firebug to see what error is being returned? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 26, 2009, at 10:08 AM, chrs wrote: hi! i have a problem with ajax-loaded contents

[jQuery] Re: How do I get the actual HREF of a link?

2009-01-26 Thread Karl Swedberg
My point exactly. --Karl On Jan 26, 2009, at 10:10 AM, seangates wrote: I've used this a hundred times: $('#testlink').attr('href'); Don't make jQuery more complicated than it has to be. -- Sean On Jan 26, 7:32 am, Karl Swedberg k...@englishrules.com wrote: On Jan 26, 2009, at 12:56

[jQuery] Re: Problem with Jcarousel and Safari: next button disabled

2009-01-26 Thread charlie.schams
I ran into a similar problem with jcarousel and Safari. I was creating new carousels after the page had initialized, and the default prev/ next buttons were always disabled. I tracked it down to a browser snoop at line 186: if ($.browser.safari) { this.buttons(false, false);

[jQuery] Re: How to get the value of List and concatenate with JQUERY

2009-01-26 Thread Manowar721
As long as, I am understanding what you are trying to do...this should work. $(document).ready(function(){ var values = new Array(); $(ul#developerul li).addClass(getValues); for (x=0;x=3;x++){ values[x] = $(ul#developerul li).eq(x).attr(value);

[jQuery] Re: Recursion issue with nested lists.

2009-01-26 Thread Nicholas
Thanks Rob Karl. Karl, excellent plugin! I think this is exactly what I need to get around the default text() function. Thanks a million! Nick On Jan 24, 5:35 am, Karl Swedberg k...@englishrules.com wrote: Oh, rats. Sorry about that, Rob. On both counts.  Yeah, meant to reply   to the OP.

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread kevind
thanks - i've opted to roll things up to 1 row anyway - however, i'll keep the link for these 2 row scripts as they seem to work. On Jan 26, 10:04 am, Ricardo Tomasi ricardob...@gmail.com wrote: That's quite simple. Just adjust your CSS so that the rows 'blend together', set cursor: pointer in

[jQuery] Re: Hover Effect on 2 rows

2009-01-26 Thread kevind
Update on this project i've opted to roll up to 1 row as end users of this private app. have more screen space horizontally that i can work with. however, the script below doesn't appear to work in Firefox - it works fine in IE 6, Chrome what's up with that ? my on-page style is tr.hover

[jQuery] Re: How to get the value of List and concatenate with JQUERY

2009-01-26 Thread Eric Garside
If I understand correctly, given the list you've shown, you want an alert of the value of the li you just clicked, yes? If so: $(function(){ $('#developerul li').click(function(){ var value = $(this).attr('value'); alert(value); // Or do whatever you wanted to do with javascript

[jQuery] Re: How to get the value of List and concatenate with JQUERY

2009-01-26 Thread Manowar721
This line above $(ul#developerul li).addClass(getValues); does nothing. It was part of another way I was going to suggest, then forgot to erase it. Sorry for the confusion. ,Manowar721 On Jan 26, 8:59 am, Manowar721 manowar...@gmail.com wrote: As long as, I am understanding what you

[jQuery] Re: showing animated gif when redirecting to new a page

2009-01-26 Thread misskittyt
bump On Jan 22, 1:07 am, misskittyt misskit...@gmail.com wrote: Hi all, I'm having trouble showing an animated gif (to indicate that the page is loading) when redirecting to a new page.  There are several tabs a user can choose, each taking them to a different page in the site.  I think

[jQuery] Re: Which Jquery Plugin can do that

2009-01-26 Thread Lionel Martelly
Thank you. I found this, and that might help http://www.ryancramer.com/projects/asmselect/examples/example2.html -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of jQuery Lover Sent: Monday, January 26, 2009 2:53 AM To:

[jQuery] Re: showing animated gif when redirecting to new a page

2009-01-26 Thread Andy Matthews
You could set an amimated GIF as a background image for the page. Then, as page content loads in, it'll overlap the animation and you wouldn't see it any more. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of misskittyt Sent: Monday,

[jQuery] Re: Closing the modal pop up programmatically

2009-01-26 Thread Eric Martin
$.modal.close(); will do the trick ;) On Jan 25, 8:39 pm, TFrank tcw...@gmail.com wrote: Hi all. I see the obvious simplemodal-close class, which by default will close the modal object. However, the problem I am having is that the modal div's html is being populated by an ajax call for a

[jQuery] Re: Text Manipulation

2009-01-26 Thread whtthehecker
This works great! Thanks a lot for the help Jay! On Jan 23, 7:08 pm, jay jay.ab...@gmail.com wrote: Something like this should work: str = $(textinput).val(); $(textinput).val(  str.substr(0,str.indexOf(@))  ); On Jan 23, 7:51 pm, whtthehecker hecker.r...@gmail.com wrote: Hi, I'm

[jQuery] Continuing to Seek Rounded Corners on Absolutely Positioned Elements that Work in IE7

2009-01-26 Thread Vik
The latest approach I'm trying uses a more old-school technique, described here: http://www.schillmania.com/content/projects/even-more-rounded-corners/ For most uses, it works very well. But for absolutely positioned objects, one of the divs seems to disappear in IE7. Here's a demo using it

[jQuery] .val() problem

2009-01-26 Thread LoicDuros
Hi, I have a set of radio buttons with name=field_submcategory[value] I want to figure out what value has been selected, even after the user hits refresh (so .change won't work). I've tried this but the alert I get is always undefined, independently from what button is checked:

[jQuery] Re: jquery not working at all after upgrade to 1.3.1

2009-01-26 Thread Mike Alsup
Yes, and on top of that I put an alert in the jquery-1.3.1.js to see if it was finding the file correctly and it is, I got the alert before the page loaded. On Jan 23, 8:20 pm, Mike Alsup mal...@gmail.com wrote: How about creating a small test page and posting a link to it?

[jQuery] Re: cluetip with an dynamic aspx content

2009-01-26 Thread chrs
hi karl, it is a parse error. the class, where the site is deduced, can't be loaded. (or something like this...) --- christian

[jQuery] Re: tooltip - image preview does not respect window border

2009-01-26 Thread CNN_news
Thanks, I replaced jquery.tooltip.js and jquery.tooltip.css with the new versions and the tooltips stopped working alltogether. In my wordpress theme folder I have a jquery directory. In this directory I have the following files: global.js jquery.js jquery.tabs.css jquery.tabs.pack.js

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread legofish
James, yes I mean a rotary control. Eric, here's a real-world example of what I'm trying to implement: http://www.niji.or.jp/home/k-nisi/sa-9900-h.jpg I'm looking for control knobs such as those found on a stereo; both continuous ones such as a volume knob, and n-step knobs such as the

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread legofish
by the way by this approach I meant the second example on that page. On Jan 26, 1:54 pm, legofish pen...@gmail.com wrote: James, yes I mean a rotary control. Eric, here's a real-world example of what I'm trying to implement: http://www.niji.or.jp/home/k-nisi/sa-9900-h.jpg I'm looking for

[jQuery] Re: Recursion issue with nested lists.

2009-01-26 Thread Nicholas
Beautiful! Works like a charm! Thanks again! On Jan 26, 8:20 am, Nicholas nbar...@gmail.com wrote: Thanks Rob Karl. Karl, excellent plugin! I think this is exactly what I need to get around the default text() function. Thanks a million! Nick On Jan 24, 5:35 am, Karl Swedberg

[jQuery] Re: Continuing to Seek Rounded Corners on Absolutely Positioned Elements that Work in IE7

2009-01-26 Thread Jay Abdal
could this be why?: Note that if gradients are used, you will need a min-height (or fixed height) rule on the body of the dialog. If these examples appear *funny at the bottom*, it is because they do not enforce the min-height rule. On Mon, Jan 26, 2009 at 12:33 PM, Vik v...@mindspring.com wrote:

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread Eric Garside
Canvas is probably the most elegant way to go, especially given the type of knobs you want. My suggestion is to find a decent resolution image of the knob you want, then use jquery and canvas to move the knob, and just keep track of the position. Be aware though, the mouse isn't really well

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread Jay Abdal
To add canvas support to IE you can use the following script (slower, but works): http://code.google.com/p/explorercanvas/ On Mon, Jan 26, 2009 at 2:41 PM, Eric Garside gars...@gmail.com wrote: Canvas is probably the most elegant way to go, especially given the type of knobs you want. My

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread Jeffrey Kretz
If I could second this from a usability perspective. I've used a flash-based interface that had a rotating knob. Moving that with a mouse was counter-intuitive. Dragging a straight slider (horizontal or vertical) just felt a lot better. JK -Original Message- From:

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread legofish
thanks jay for the IE support link, I was just looking for that. Also thanks Eric for the suggestion, I'm going to try the other approach first and if it ends up being too complex I'll give canvas a shot. Jeffrey, I sort of agree with you, but I also think the main reason why knobs are such a UI

[jQuery] Re: .val() problem

2009-01-26 Thread Ricardo Tomasi
I think you have to escape the brackets: $('input:radio[name=field_submcategory\\[value\\]]:checked').val() On Jan 26, 3:37 pm, LoicDuros loic.du...@gmail.com wrote: Hi, I have a set of radio buttons with name=field_submcategory[value] I want to figure out what value has been selected, even

[jQuery] Can jQuery calculate CSS Width/Height

2009-01-26 Thread Kevin Dalman
jQuery has innerHeight/Width and outerHeight/Width methods, but is there a method that can return a 'CSS Height/Width'. A CSS width is the width that would be applied via CSS to achieve a given 'outer width'. This value will differ depending on the box model and other older browser

[jQuery] Autocomplete Plug-in: Submit with TAB?

2009-01-26 Thread Perra - Sandstream.se
Hi! New to this list. I have a question about the Autocomplete Plug-in: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Is it possible to submit the form when the user leaves the result list with the

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-26 Thread Kevin Dalman
Hi Dave, This plugin may be more than you need, but... The UI/Layout widget will automatically position and size an iframe (or other element) to fill the entire page, OR allow for a header, footer, or sidebars. The code and markup are dead-simple. Here is an example with a page-banner and an

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-26 Thread Kevin Dalman
(Sorry if this is a duplicate post) Hi Dave, This plugin may be more than you need, but... The UI/Layout widget will automatically position and size an iframe (or other element) to fill the entire page, OR allow for a header, footer, or sidebars. The code and markup are dead-simple. Here is an

[jQuery] [autocomplete] Autocompletion in dynamic inputs

2009-01-26 Thread Xembalo
Hello, i'm using the autocomplete plugin (http://docs.jquery.com/Plugins/ Autocomplete) on my site. On static inputs, it worked fine: HTML: form autocomplete=off input type=text id=suggest / input type=button value=Search OnClick=something() / /form jQuery: $(document).ready(function()

[jQuery] Re: Continuing to Seek Rounded Corners on Absolutely Positioned Elements that Work in IE7

2009-01-26 Thread Vik
I just changed the position attribute from relative to absolute on one css rule: .dialog .b { /* bottom */ position:absolute; width:100%; } ...and it seems to be working now in IE7. Here's an updated demo page: http://www.flavorzoom.com/schillmania_tryout_2/temp.html I've just begun

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread Ricardo Tomasi
Audio editing software has lots of knobs, and they're not hard to use. The thing is you don't turn them with a circular motion, but you click and drag up/down or right/left just like a slider, the rotary control gives you visual feedback while saving a lot of space. This was real fun:

[jQuery] Tabbed user interface

2009-01-26 Thread madrid440-goo...@yahoo.co.uk
Hi, I'm trying to build a tabbed user interface based upon the themeroller css and demo.html found in the themeroller zip file. It connects to a database and loads data into the tabs when required. The interface is set-up to provide a customer back-end, so that the customer can update their

[jQuery] jquery 1.2.6 focus problem?

2009-01-26 Thread chris robinson
Hey all, Our project is using 1.2.6, but we seem to have an issue with calling: $('#some-textbox-id').focus(); The element focuses properly, but it seems like the next time you press the tab key the focus completely disappears and you have to hit it several times to get it back into the flow

[jQuery] Any way to get all attibutes of a node?

2009-01-26 Thread David
Is there any way to use jquery to get an array of all attributes a given node has? I'm writing some code to process a page where the user might have added custom attribute names that I can't know about in advance but need to detect.

[jQuery] Re: tooltip - image preview does not respect window border

2009-01-26 Thread Jörn Zaefferer
You probably need to upgrade jQuery as well, the tooltip plugin was released with support for 1.2.6. Jörn On Mon, Jan 26, 2009 at 7:50 PM, CNN_news nagit...@gmail.com wrote: Thanks, I replaced jquery.tooltip.js and jquery.tooltip.css with the new versions and the tooltips stopped working

[jQuery] IE Reports 0 children()

2009-01-26 Thread Nicholas
FF works fine, IE however reports 0 children() and I am finding it difficult to solve. Example XML retrieve from $.get: ?xml version=1.0 encoding=UTF-8? letter paragraphtext paragraphtext /paragraph/paragraph paragraphtext/paragraph /letter The code: jQuery.get(process.asp,

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread Eric Garside
I can't actually even get the demo posted to work. When I pull left, I expect the knob to continue moving left, but you have to physically drag up and to the left to move it, which is pretty hard to do. What if the knob was set to work like a slider, where a positive vertical or horizontal

[jQuery] Re: Implementing a Knob Control

2009-01-26 Thread legofish
thanks ricardo, I wish I had seen the link earlier, I spent most of the day trying to implement something similar. My code is very messy though so I won't post it. I know that audio app users like the paradigm you just explained (knob responding to up-down or left-right mouse movement), but I

[jQuery] Submit button usage for SimpleModal - what am I missing?

2009-01-26 Thread Codemonkey
Hi, I am using SimpleModal, and would like to fire a modal on the click of an input button. When the function fires, it flashes the modal for a brief moment and then dissapears... can anyone give me a hand? It's pretty basic: input name=button1 type=image onclick=$('#myDiv').modal ('test');

[jQuery] disable submit not working in IE7

2009-01-26 Thread GBartels
I'm using JQuery 1.2.6 with the following script: script type=text/javascript!-- $(document).ready(function(){ $(button.submitButton).click(function () { $(this).attr(disabled,true).html(Processing, please wait...); $(button).attr(disabled,true); }) }); // --/script It works as expected in FF3

[jQuery] accordion plugin in ie7 does not fully collapse

2009-01-26 Thread c.s
I'm using the accordion plugin to achieve as a wizard for a multi-part form. in ie7, the li don't fully collapse so the form does not fix all the way to the top. it does not happen in firefox. does anyone know of a way to fix this issue? i thought the most recent version of the accordion take

[jQuery] Re: Can jQuery calculate CSS Width/Height

2009-01-26 Thread Matt
$('#Test').css('width') ? On Jan 26, 11:46 am, Kevin Dalman kevin.dal...@gmail.com wrote: jQuery has innerHeight/Width and outerHeight/Width methods, but is there a method that can return a 'CSS Height/Width'. A CSS width is the width that would be applied via CSS to achieve a given 'outer

[jQuery] Re: IE Reports 0 children()

2009-01-26 Thread Nicholas
Got it!! if(jQuery.browser.msie){ var doc = new ActiveXObject(MSXML2.DOMDocument.4.0); doc.loadXML(xml) alert(jQuery(letter, doc).children().length); } On Jan 26, 1:39 pm, Nicholas nbar...@gmail.com wrote: FF works fine, IE

[jQuery] Re: Any way to get all attibutes of a node?

2009-01-26 Thread Karl Swedberg
Hi David, I posted this in reply to a similar question a couple weeks ago: var a = $('yourNode')[0].attributes, attrs = []; for (i=0; i a.length; i++) { attrs.push(a[i].nodeName + ': ' + a[i].nodeValue); } console.log(attrs); Not sure how well this will work in other browsers, but it does

[jQuery] Re: tooltip - image preview does not respect window border

2009-01-26 Thread Karl Swedberg
Also, it looks like you're loading 2 copies of jQuery: jquery.js and jquery-1.1.3.1.pack.js That can't help matters. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 26, 2009, at 4:19 PM, Jörn Zaefferer wrote: You probably need to upgrade jQuery as

[jQuery] Re: disable submit not working in IE7

2009-01-26 Thread Karl Swedberg
A couple things you might want to look at: 1. Does your button have type=submit ? It will need to if you want to submit with it in IE. 2. The disabled attribute value should be true, not true. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 26,

[jQuery] Re: disable submit not working in IE7

2009-01-26 Thread GBartels
Thank you Karl for the reply. The button is indeed of type=submit and the form was working in IE prior to adding the above script. I also changed the attribute value to true (removing the quotes). Sadly, I'm still getting the same results in IE. On Jan 26, 4:10 pm, Karl Swedberg

  1   2   >