[jQuery] Re: Obama's site jquery mystery

2008-10-23 Thread Jack Killpatrick
I took a quick look at the main page using Firebug. Switching languages makes an ajax post to this url: http://www.voteforchange.com/controller.php and posts these values: languagespanish namescurrent_page pagepre_intro_info perm_namescurrent_page perm_values

[jQuery] Re: jQModal loading separate urls into div

2008-10-23 Thread Alexandre Plennevaux
With so little data it's hard to really give an advise. do you populate the content inside the div via an ajax call? Then you need to bind their click event (after they have been loaded see livequery plugin), to a function that does ajax calls inside the div you could also use an iframe (

[jQuery] Re: Looping not working for selectors?

2008-10-23 Thread Girish Venkatachalam
On 22:12:19 Oct 22, Michael Geary wrote: There are many ways I could imagine a piece of code not working. Could you be more specific about what didn't work? :-) I did not want to be verbose. Your analysis is correct. I did not get the value I expected. I was getting the last value as

[jQuery] Re: [autocomplete] do search on input focus

2008-10-23 Thread Isaak Malik
Oups, I think it should be: $(function() { $(#category).focus(function(){this.autocomplete(do_search.php,{max:100,minChars:0,delay:10}) }); }); On Thu, Oct 23, 2008 at 12:16 AM, blasto333 [EMAIL PROTECTED] wrote: That didn't work either. If I double click in the field, the expected behavior

[jQuery] nooby question

2008-10-23 Thread gemmes
Hi All, I want to change the border color of a div to white and at the same time change text inside to white. So Im doing something like this: $(#frame div).hover( function(){ $ (this).css({borderColor:#ff}).filter(h5).css({color:#fff}); }, function() { // another function

[jQuery] how to do it?

2008-10-23 Thread mwaloos
Hi, I'm trying to make a little different code than below. I would put on the bottom new tabs(id=fragment-5, id=fragment-5). Text from new tabs after clikc should be display in the same border as id=fragment-1 or 2, 3. It doesn't work well. U can see just copy the code? I dont need ul on the

[jQuery] Uicalendar

2008-10-23 Thread pelletalexandre
Hi I'm new to this group and i use Jquery for a short time. I've used uicalendar and it run very well. I used the popup behavior in order to open the calendar when the user clic on a button. Now, i'de like to always show the calendar in a fixed div, not in a popup, in order to see it as soon

[jQuery] 44670 data() calls

2008-10-23 Thread tom gee
hi, im trying to tackle a problem at the moment, that problem is working wit ha .net developer, but that aside, we're trying to ge to the bottom of a problem.the dveeloper has wired up the template and whenever we click a link on thepage it takes forever to rerender, ie we're on default.aspx and

[jQuery] Re: How to stop change event from firing

2008-10-23 Thread newkid85
Thanks for the tip, ricardo. I've decided to initialise the dropdowns with the existing form values before triggering a click event, but I've run into another problem. I can't seem to set the selected option. I've tried the following with a hardcoded value for state without any luck.

[jQuery] Re: nooby question

2008-10-23 Thread Joel Birch
Hello, You need to use .find() instead of .filter() for what you are trying to do. Another thing to consider would be to simply add and remove a class on hover, rather than applying the styles directly. Joel Birch.

[jQuery] .attr('height')

2008-10-23 Thread diego
Hi all, I'm building a gallery, and so far it works in every browser except Internet Explorer, The problem is that IE (burns to hell) doesn't read these variables var height = $('#'+litebox+'img.lite').attr('height'); var width = $('#'+litebox+'img.lite').attr('width'); the alert

[jQuery] Re: menu display slowly

2008-10-23 Thread Joel Birch
Hello, The option you need to change is 'speed'. Try setting it to 'fast' or even 1 (which would be 1 millisecond) for effectively no animation. The 'delay' option only affects how long the submenus stay open after mouseout. Joel Birch.

[jQuery] Re: .attr('height')

2008-10-23 Thread weidc
hi, what about using: $('#'+litebox+'img.lite').width(); and $('#'+litebox+'img.lite').height(); ? -weidc On 23 Okt., 14:00, diego [EMAIL PROTECTED] wrote: Hi all,  I'm building a gallery, and so far it works in every browser except Internet Explorer, The problem is that IE (burns to hell)

[jQuery] Re: .attr('height')

2008-10-23 Thread diego
here an exemple http://www.pirolab.it/piro_09/index2.html the first three thumbs of the first box diego On 23 Ott, 14:00, diego [EMAIL PROTECTED] wrote: Hi all,  I'm building a gallery, and so far it works in every browser except Internet Explorer, The problem is that IE (burns to hell)

[jQuery] .load() and relative links

2008-10-23 Thread Koen
I'm using .load(url) to add som contents from another page. Problem: after being loaded, the links included from the other page does not work anymore as they are relative to the path of the page. Is there a simple way/plugin to transform the URLs in the included page? Thanks, Koen

[jQuery] JQuery SEO Question

2008-10-23 Thread edzah
Hi I am creating a product page that has a jquery script that hides/ unhides divs to show the currently select product. I've just realised that we have too many products to load them all on the same page. Instead I want to load the content of each div in when they are selected. That means that

[jQuery] Re: .attr('height')

2008-10-23 Thread diego
The problem is that the my elements are 'display:none' that's why if i try your code the alert returns 0-0, i need to use .attr, height and width.. Diego On 23 Ott, 14:08, diego [EMAIL PROTECTED] wrote: here an exemplehttp://www.pirolab.it/piro_09/index2.html the first three thumbs of the

[jQuery] Re: nooby question

2008-10-23 Thread gemmes
Cheers this works perfectly. On Oct 23, 12:44 pm, Joel Birch [EMAIL PROTECTED] wrote: Hello, You need to use .find() instead of .filter() for what you are trying to do. Another thing to consider would be to simply add and remove a class on hover, rather than applying the styles directly.

[jQuery] JQuery SEO Question

2008-10-23 Thread edzah
Hi I am creating a product page that has a jquery script that hides/ unhides divs to show the currently select product. I've just realised that we have too many products to load them all on the same page. Instead I want to load the content of each div in when they are selected. That means that

[jQuery] jQuery Form Plugin - success callback function isn't called

2008-10-23 Thread Sebastian
Hey guys, I'm working with the jQuery Form Plugin and I'm having some trouble with it. In my HTML I have a button, which, when clicked, inserts a form via jQuery. To then register the form's submit event, I use the livequery plugin in my (document).ready function: (document).ready(function($) {

[jQuery] Re: Cycle: Direct link from another page

2008-10-23 Thread Mike Alsup
Alright, This is really messy, but it works. If anyone's got any tips on cleaning it up, have at it.    if ($('body').is('#page-photography')) { //I only want it to fire on one page. Guessing I save some miniscule amount of overhead on the other pages.                 var loc =

[jQuery] cannot reset width value _ width(val)

2008-10-23 Thread pixeline
Hi all, i'm trying to kill the last bugs of lisapram.com before letting the project go _ the issue i'm facing is that i can't manage or don't understand how to stop and reset the animation queue. To reproduce the issue please go here: http://www.lisapram.com/ click on one of the fifth line

[jQuery] Re: jsonp to WCF problem

2008-10-23 Thread tenaciousd
If you're going to do cross-domain calls you can't do a POST, only a GET. I think even if you specify POST as your type jQuery will convert it to a GET if your datatype is jsonp (check their doc but I'm pretty sure that's the case). As for WCF the key is just making sure that you wrap your

[jQuery] Re: .attr('height')

2008-10-23 Thread weidc
mh ye i see. can't even change the attr in ie itself 'cause it always gets 0 again. maybe it doesn't like that in $('#'+litebox+'img.lite'). atm i don't see a mistake in your script. -weidc On 23 Okt., 14:27, diego [EMAIL PROTECTED] wrote: The problem is that the my elements are

[jQuery] Re: Combining selectors

2008-10-23 Thread nguyenq
All of them work. Thank you all. On Oct 22, 6:35 pm, ricardobeat [EMAIL PROTECTED] wrote: That should work, but it's worth noting that the '@' in front of attribute names has been deprecated. $('input[type=button],input[type=submit],input[type=reset]') jQuery also has pseudo-selectors for

[jQuery] Re: .attr('height')

2008-10-23 Thread diego
Hi weidc, look at this..i've changed the .attr : var litebox = $(this).attr('rel'); var altezza = $('#'+litebox+'img.lite').attr('alt'); and the html span class=thumbs_big id=img1 img src=images/diegovalobra_b.jpg title=900 alt=585 class=lite/ span class=thumbs_close title=chiudiimg

[jQuery] Re: .attr('height')

2008-10-23 Thread diego
hi weidc, i've changed the .attr: var altezza = $('#'+litebox+'img.lite').attr('alt'); var larghezza = $('#'+litebox+'img.lite').attr('title'); span class=thumbs_big id=img1 img src=images/diegovalobra_b.jpg title=900 alt=585 class=lite/ span class=thumbs_close title=chiudiimg

[jQuery] Re: [validate] -- newbie getting started

2008-10-23 Thread whitewaterbug
I know this is like the hello world of validate...can anyone see the issue? This is my first time using jquery and validate so my troubleshooting skills are not there yet. On Wed, Oct 22, 2008 at 10:11 AM, whitewaterbug [EMAIL PROTECTED]wrote: Thanks for the suggestions. I updated the form

[jQuery] Re: .attr('height')

2008-10-23 Thread weidc
oh my god this sucks. kind of frustrating huh? i'll keep on thinking about it. -weidc On 23 Okt., 15:56, diego [EMAIL PROTECTED] wrote: Hi weidc, look at this..i've changed the .attr : var litebox = $(this).attr('rel'); var altezza = $('#'+litebox+'img.lite').attr('alt'); and the html

[jQuery] [autocomplete] How to show the list above the input

2008-10-23 Thread David Esperalta (dec)
Hi there! Have a nice day! Well... I try the jQuery autocomplete plugin and work fine, but, I want to show the list of proposal terms above the input and not bellow the input. In the Show method of autocomplete plugin I try a lot of things, to change this line: top: offset.top +

[jQuery] New to Jquery : Using it on dynmaically created divs

2008-10-23 Thread James2008
Hi. At the moment I've creating 2 divs for each record in a database. One to first give a title for that piece of information and the second to be a show/hide div that gives furthur information upon clicking a little arrow. I generate both divs server side on an updatepanel refresh. I have them

[jQuery] indicator.gif does not exist

2008-10-23 Thread Éric Rogé
Hello, First of all, congratulations for this great autocomplete plugin. I've noticed than on line 37 of the jquery.autocomplete.css , there is a call to some indicator.gif image : .ac_loading { background: white url('indicator.gif') right center no-repeat; } I haven't found any

[jQuery] BlockUI unchecks checkboxes

2008-10-23 Thread Snooky
Alright, so I saw that this issue had been raised before, but apparently never actually fixed. I only tested it in FF and Chrome. To reproduce: html: input type=checkbox value=3 id=mycheck / div id=return /div js: $(function() { $(input#mycheck).click(function() { // do something

[jQuery] Re: [autocomplete] How to show the list above the input

2008-10-23 Thread David Esperalta
Hi again, In case that anyone have problems to show the list of proposal words bellow the input, dont forget (like me) the option scrollHeight of the plugin. Not is the solution of the issue that I send before, but, can be help you. In my case, the list have a little scroll height value, and

[jQuery] Re: jQModal loading separate urls into div

2008-10-23 Thread jalanbyers
Sorry for the sparseness, that's exactly what I was speaking of... unfortunately there's no way to do this with jQModal alone.. I was hoping that I had overlooked something in the docs.. thanks for the response! On Oct 23, 2:29 am, Alexandre Plennevaux [EMAIL PROTECTED] wrote: With so little

[jQuery] Re: .attr('height')

2008-10-23 Thread diego
weidc i found the bug, at the elements with css 'display:none' IE gives width and height = 0, that's why i have in return 0-0, i think i'll work on it, trying to overcome this IE bug.. Anyway thank you very much for support.. Diego On 23 Ott, 16:16, weidc [EMAIL PROTECTED] wrote: oh my god

[jQuery] Tabs - Preserve onclick on selected tab

2008-10-23 Thread fleabo
Is it possible to click on the selected tab so as to reload this tab? thanks

[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-23 Thread Jonathan Sharp, Out West Media
Hi James, Here's one way to rewrite it using jQuery: function divShowHide(divID, imgID) { var d = $('#' + divID).toggle(); $('#' + imageID).attr('src', 'Images/' + ( d.is(':visible') ? 'down' : 'up' ) + 'arrow.png' ); } Cheers, -Jonathan On Oct 23, 2008, at 8:42 AM, James2008

[jQuery] Re: indicator.gif does not exist

2008-10-23 Thread Sam Sherlock
create one here http://www.ajaxload.info/ 2008/10/23 Éric Rogé [EMAIL PROTECTED] Hello, First of all, congratulations for this great autocomplete plugin. I've noticed than on line 37 of the jquery.autocomplete.css , there is a call to some indicator.gif image : .ac_loading {

[jQuery] Re: .attr('height')

2008-10-23 Thread diego
I've done it...i don't use display:none , instead i use visibility:hidden hideing the elements by js, works fine in all browser... http://www.pirolab.it/piro_09/index2.html tnx again Diego On 23 Ott, 16:46, diego [EMAIL PROTECTED] wrote: weidc i found the bug, at the elements with css

[jQuery] Having troubles accessing a variable in $.each

2008-10-23 Thread Ruby
I am having troubles with my google maps conversion to jquery. My markers are being generated from a get json request and then each marker is being created using $.each. My trouble happen when creating a side bar with buttons to open the info windows. I can create the button but can not seem to

[jQuery] Disabling Enter key on the page

2008-10-23 Thread [EMAIL PROTECTED]
Hi, I'm not completely sure this is a jQuery issue or a javascript issue. Pardon me if I'm not in the right place. I have disabled the Enter key on the page like that : $(#body).keypress(function(e) { if (e.which == 13) { return false; } }); Now the issue I'm facing is that if

[jQuery] Re: My first plugin ... need some help.

2008-10-23 Thread shapper
Thank you for your help and patience. It is working fine ... just a last question: I need to add an input with hidden value to each list item: ...input type=hidden name=myList value=values / The name of the input should be the name of the list passed. The following is what I have now, but I

[jQuery] Am I rewriting something jQuery already does?

2008-10-23 Thread Justin
I'm new to jquery and I'm writing some code but I'd like to make sure I'm not rewriting something that already exists. Basically, I'd like to be able to do: $(#myAnchor).addBehavior($(#targetDiv, new MyNewBehavior); I implement a few functions for MyNewBehavior such as buildURL and

[jQuery] Re: Jeditable and TinyMCE

2008-10-23 Thread Jeff
I am trying to use tinyMCE with the jEditable plugin and sometimes get an error. the html editor won't show up and i get the error t.win.document is null. anyone know what this is and if it's an MCE issue or jEditable? thanks Jeff On Sep 14, 4:02 pm, Mika Tuupola [EMAIL PROTECTED] wrote: On

[jQuery] Drawing Associations

2008-10-23 Thread [EMAIL PROTECTED]
Hi All, I have a requirement where I am dropping two (or more) tables onto a droppable surface, what I need to be able to do is to create a visable association between two a row in each of the tables? A good example of where this is used is to create joins when connecting two database tables.

[jQuery] Image Display with Brightness Control?

2008-10-23 Thread Josh Rosenthal
Hey Folks, So, a project involving allowing users to view scanned photos of historic structures has recently run into the problem that some of the photos are a bit dark relative to the originals, with some details being impossible to see in the jpg. When viewed on desktop, this is usually dealt

[jQuery] Re: Disabling Enter key on the page

2008-10-23 Thread Richard D. Worth
You can check the target of the keypress, by e.target. Something like this (untested): $(#body).keypress(function(e) { if (e.which == 13 !$(e.target).is(textarea)) { return false; } }); - Richard On Thu, Oct 23, 2008 at 12:37 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi, I'm

[jQuery] Re: JQuery SEO Question

2008-10-23 Thread Bil Corry
edzah wrote on 10/23/2008 6:56 AM: I am creating a product page that has a jquery script that hides/ unhides divs to show the currently select product. I've just realised that we have too many products to load them all on the same page. Instead I want to load the content of each div in when

[jQuery] Re: jQuery.getScript problems on IE 7

2008-10-23 Thread Alexsandro_xpt
Yes, I already use noConflict() function. I don't have any conflict, I just said the jQuery.getScript can't eval protoculous-effects-shrinkvars.js causing error in script. Can you help me please? On 22 out, 20:15, Karl Rudd [EMAIL PROTECTED] wrote: Have followed the advice

[jQuery] Re: Cycle actions that happen faster than the javascript transitions

2008-10-23 Thread sorahn
Fade in, fade out, slide, shuffle. Whatever cycle plugin i'm using. On Oct 13, 8:24 pm, ricardobeat [EMAIL PROTECTED] wrote: What exactly are javascript transitions? If you mean the fadeIn and fadeOut functions, a stop() will stop all current animations. - ricardo On Oct 13, 5:50 

[jQuery] Re: can someone please help with dynamic links problem?

2008-10-23 Thread RotinPain
you're welcome! On Oct 22, 7:45 pm, Flavio333 [EMAIL PROTECTED] wrote: Thank You so much, after playing around with it ... it works!!! Thank You SO SO Much!!! RotinPain wrote: Sure, how i could miss that! I would assign the categories Id number (like $catid) in the Id attribute

[jQuery] trying to get ajaxForm to use a dynamic class or id to prependTo

2008-10-23 Thread tripdragon
This code at this moment prependTo to a static id. But I need to get it to use something like this $(this).parents('.review_blocks').find('.review_list2:first') However no matter what I do, I can not get ajaxForm to hold a var like sort like this $('.new_review').ajaxForm(function()

[jQuery] Re: Cycle actions that happen faster than the javascript transitions

2008-10-23 Thread Nachiket Ghumare
fuck u all motherfuckers.. just remove me from your list... On Thu, Oct 23, 2008 at 10:53 PM, sorahn [EMAIL PROTECTED] wrote: Fade in, fade out, slide, shuffle. Whatever cycle plugin i'm using. On Oct 13, 8:24 pm, ricardobeat [EMAIL PROTECTED] wrote: What exactly are javascript

[jQuery] Re: trying to get ajaxForm to use a dynamic class or id to prependTo

2008-10-23 Thread Mike Alsup
Can you post a link that shows the problem that you're having. I didn't really understand your explanation. Mike On Oct 23, 1:36 pm, tripdragon [EMAIL PROTECTED] wrote: This code at this moment prependTo to a static id. But I need to get it to use something like this

[jQuery] Re: Cycle actions that happen faster than the javascript transitions

2008-10-23 Thread Mike Alsup
Can you give me an example of that scenario? Thanks. On Oct 13, 4:50 pm, sorahn [EMAIL PROTECTED] wrote: For actions that happen faster than the javascript transitions, is there a way to make the javascript break it's current loop, and start doing the new action?

[jQuery] Re: trying to get ajaxForm to use a dynamic class or id to prependTo

2008-10-23 Thread tripdragon
malsup wrote: Can you post a link that shows the problem that you're having. I didn't really understand your explanation. Mike So here is what ntasfi and I worked on last night. By view of it it looks like it would work despite a typo thats in there http://www.pastie.org/299081

[jQuery] img load event not working

2008-10-23 Thread Jimbo M
I can't get this to work for anything. I'm trying to set up an event to fire a trigger when an image is done loading. Neither of the following snippets end up ever calling the OnImageLoaded function. $(...).load(OnImageLoaded) $(...).bind(load, OnImageLoaded) I've cleared the cache to ensure

[jQuery] Re: cannot reset width value _ width(val)

2008-10-23 Thread Alexandre Plennevaux
Could anybody take a look at my problem please? I haven't made any progress so far :( On Thu, Oct 23, 2008 at 3:17 PM, pixeline [EMAIL PROTECTED] wrote: Hi all, i'm trying to kill the last bugs of lisapram.com before letting the project go _ the issue i'm facing is that i can't manage or

[jQuery] Re: trying to get ajaxForm to use a dynamic class or id to prependTo

2008-10-23 Thread tripdragon
To add to it. Here a different example http://www.pastie.org/299106 It sort of holds the var but can not find where it is in the dom, or it does not use $(this) -- View this message in context:

[jQuery] jCarousel callbacks with custom data

2008-10-23 Thread ml1
(Reposting because I failed to finish the subject line last time.) Is there a way to pass custom data to the jCarousel callbacks without creating a global? Ideally I'd like to be able to create arbitrary properties on the jCarousel object when it is initialized and then read them from the

[jQuery] IE7, .find, .each, XML problem

2008-10-23 Thread Dough Boy
It is simple...it works in FF and Chrome (haven't tried other browsers). Here is the basic code: $(messages).find('item').each( function(){ alert($(this).attr('id')); }); If I alert the messages before this you can see the XML data in all browsers. For some reason IE 7 will not go into

[jQuery] having trouble with scrolling in IE6

2008-10-23 Thread oringeben
Hi there, I'm relatively new to jQuery and hoping you can help me. We've implemented a scrolling slideshow on the upper right part of this page: http://test.fakeclothing.net The left and right arrow buttons scroll the slides fine in IE7, FF2 and 3, etc. but it doesn't seem to work in IE6.

[jQuery] Re: [autocomplete] do search on input focus

2008-10-23 Thread Jörn Zaefferer
Try this: $(...).autocomplete(url, { minChars: 0 }).focus(function() { $(this).click(); }); Jörn On Thu, Oct 23, 2008 at 9:38 PM, blasto333 [EMAIL PROTECTED] wrote: Still no luck, the plugin I am using is: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ On Oct 23,

[jQuery] Re: Image Display with Brightness Control?

2008-10-23 Thread c.barr
I'm no expert on this, but I have a feeling you may have better luck in Flash for this purpose. Or maybe find a generic brightness setting that's good for all the images and just to a batch process on them and re-upload. Not an idea solutions, but I don't think any Javascript (that I know of

[jQuery] Re: .attr('height')

2008-10-23 Thread ricardobeat
jQuery is supposed to briefly show the element to get its height/ width, then hide it again, this shouldn't be happening. Is your page valid xhtml? Couldn't you set the height and width inline attributes for the image? - ricardo On Oct 23, 1:51 pm, diego [EMAIL PROTECTED] wrote: I've done

[jQuery] More efficient animation for multiple elements

2008-10-23 Thread c.barr
A cool effect I picked up from my Mootools days was the Elements.FX, see a demo here: http://demos111.mootools.net/Fx.Elements Basically it's a bunch of elements, you mouse over one and it gets larger while all the others shrink. A pretty cool effect for navigation menus. Here's what I wrote

[jQuery] Re: indicator.gif does not exist

2008-10-23 Thread ricardobeat
It's just a placeholder name to show you where to put your own image. On Oct 23, 11:18 am, Éric Rogé [EMAIL PROTECTED] wrote: Hello, First of all, congratulations for this great autocomplete plugin. I've noticed than on line 37 of the jquery.autocomplete.css , there is a call to some

[jQuery] Re: can jquery slide a whole page up and down?

2008-10-23 Thread Ariel Flesler
This is a great plugin for that: http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html It's called LocalScroll, you set up the markup, include the necessary scripts, a simple call and it turns your site into a cool site. Here's one awesome site using it: (by Alex Willcocks)

[jQuery] Re: New to Jquery : Using it on dynmaically created divs

2008-10-23 Thread ricardobeat
A more resilient solution is to use class names instead, you can't just drop/ignore the IDs altogether: div class=titleProduct 8234/div (with background-image: url(downarrow.gif) on CSS) div class=descriptionbla bla bla bla/div $('div.title').click(function(){ var arrow = (

[jQuery] Re: stop link returning to the top

2008-10-23 Thread Ariel Flesler
This plugin can do: http://flesler.blogspot.com/2007/10/jquerylocalscroll-10.html If you don't want that behavior (of adding the hash to the address bar), don't add/keep the setting called 'hash'. -- Ariel Flesler http://flesler.blogspot.com/ On Oct 23, 1:28 am, caturn88 [EMAIL PROTECTED]

[jQuery] Re: JQuery SEO Question

2008-10-23 Thread ricardobeat
Best practice is to set the href on the element that trigger's the AJAX call to the file URL it's loading, then preventing default. This way spiders will see it as a normal link and it will remain in context. You can also use a sitemap.xml file to tell bots where to search. - ricardo On Oct

[jQuery] Re: Proposal: new method for determining variables without value

2008-10-23 Thread Ariel Flesler
Agree. Note that !!('') is also false. And [] == false. -- Ariel Flesler http://flesler.blogspot.com/ On Oct 23, 2:11 am, Michael Geary [EMAIL PROTECTED] wrote: I looked at James Edwards' post, and I'm not seeing how this function is all that useful. (I mean no offense to pd; it's always

[jQuery] sIFR troubleshoot

2008-10-23 Thread Bruno Souza
Hello, i'm a new one studying jquery and got caught on a little 'trouble'. While i was trying some animation effects, decided to try sIFR to replace some titles. Everything went fine, until i used animation and sIFR together. Whe the containers div have a hidden style the sIFR doesn't work

[jQuery] Jeditable issue in Safari, Chrome

2008-10-23 Thread albrad84
I am using the Jeditable plugin and I have noticed a small issue in Chrome and Safari. If I edit the text, submit it or click away, then try to edit again, the textarea appears, but it is extremely small. For some reason, the height and width values that I specify in the Jeditable parameters are

[jQuery] Re: img load event not working

2008-10-23 Thread Ariel Flesler
$(...).bind(load, OnImageLoaded).attr('src','the_image_uri'); -- Ariel Flesler http://flesler.blogspot.com/ On Oct 23, 3:52 pm, Jimbo M [EMAIL PROTECTED] wrote: I can't get this to work for anything.  I'm trying to set up an event to fire a trigger when an image is done loading. Neither of

[jQuery] thickbox breaking other javacript functions

2008-10-23 Thread pedalpete
I've been working on implementing thickbox into my site, and I can launch the thickbox no problem, and the site works (all the javascript functions don't have a problem) before launching thickbox. However, once I launch thickbox, javascript functions that worked previously, no longer work. The

[jQuery] Get label text

2008-10-23 Thread shapper
Hello, This might be a tricky one ... I have been looking into JQuery docs but I can't figure how to make this. I have the following: input type=checkbox name=Roles id=Admin value=Admin / label for=AdminAdministrator/label input type=checkbox name=Roles id=Coll value=Admin / label

[jQuery] Re: Am I rewriting something jQuery already does?

2008-10-23 Thread ricardobeat
You can use the plug-in architecture to make it easier: $.fn.addBehaviour = function(id, callback) { return this.click(function(){ var url = //create url $.ajax({ url: url, success: callback }); }); }; in this case you don't use

[jQuery] Re: Image Display with Brightness Control?

2008-10-23 Thread ricardobeat
Those kind of effects are only possible in Firefox through the use of the canvas element, which IE doesn't support. The only cross-browser ways do to it currently would be using Flash or processing the image server-side and reloading it. On Oct 23, 2:56 pm, Josh Rosenthal [EMAIL PROTECTED]

[jQuery] Re: 44670 data() calls

2008-10-23 Thread ricardobeat
Most certainly bad code is causing too much loops or recursion somewhere. But some creature from the skies would have to literally 'shine a light' on this to be able to help without seeing a line of code. On Oct 23, 8:03 am, tom gee [EMAIL PROTECTED] wrote: hi, im trying to tackle a problem

[jQuery] Re: Get label text

2008-10-23 Thread Klaus Hartl
You could try this (untested): var labels = $('input:checked + label').map(function() { return $(this).text(); }); That should give you an array with the label's text. --Klaus On 23 Okt., 22:47, shapper [EMAIL PROTECTED] wrote: Hello, This might be a tricky one ... I have been looking

[jQuery] Re: Tabs - Preserve onclick on selected tab

2008-10-23 Thread Klaus Hartl
var $tabs = $('#example').tabs({ select: function(e, ui) { if (ui.index === $tabs.data('selected.tabs')) { $tabs.tabs('load', ui.index); } } }); --Klaus On 23 Okt., 16:58, fleabo [EMAIL PROTECTED] wrote: Is it possible to click on the selected tab so as to

[jQuery] Re: [validate] problems with invalid-form.validate and remote rules

2008-10-23 Thread Àlex Corretgé
Ok Jörn, issue created http://dev.jquery.com/ticket/3516 thanks for all -- Atentament / Kind Regards Àlex Corretgé Serveis Informàtics Corretgé.com SLU http://corretge.cat/ LinkedIn: http://www.linkedin.com/in/corretge 2008/10/22 Jörn Zaefferer [EMAIL PROTECTED] Apart from the fact

[jQuery] [validate] remote rule send field value by POST instead GET

2008-10-23 Thread Àlex Corretgé
Hi, I have a hidden field in a form that contain the JSON view of the form values. The Submit button fill it before the $('#form').submit(); I have some rules created by the user in a database, and I try to use Validator to manage this 'user validations' sending to a remote rule handler the

[jQuery] Slides from the 2008 jQuery Conference

2008-10-23 Thread Rey Bango
Hi everyone, Here are slides from some of the presentations given at this year's jQuery Conference: http://www.slideshare.net/event/jquery-conference-2008 We expect more to be uploaded soon. As for videos, which I know you'll ask me about, we have only a few sessions recorded and will

[jQuery] Re: [validate] remote rule send field value by POST instead GET

2008-10-23 Thread Jörn Zaefferer
Currently there is no good option to customize the request. The easiest way may be using $.ajaxSetup, though that affects all requests. $.ajaxSetup({ type: post }); Jörn On Thu, Oct 23, 2008 at 11:04 PM, Àlex Corretgé [EMAIL PROTECTED] wrote: Hi, I have a hidden field in a form that

[jQuery] Re: How to stop change event from firing

2008-10-23 Thread ricardobeat
This usually works: select id=field-state option value=coloradoColorado/option option value=idahoIdaho/option /select $('#field-state').val('idaho') or $('#field-state option[value=idaho]').attr('selected','selected') or var state = 'idaho'; $('#field-state').find('option[value='+state

[jQuery] Re: conditionally prevent blur

2008-10-23 Thread ricardobeat
The mousedown event seems to fire before the blur, at least on FF3, so I came up with this: function highlightFields (el) { var popclick = false; $(el) .focus(function () { $(this).css({border:1px solid #003399});

[jQuery] Re: Get label text

2008-10-23 Thread shapper
But I can join the labels can't I? I tried: .append(levels.join(', ')) to added it to an element and I get the error in Firebug: levels.join is not a function Am I doing something wrong? Thanks, Miguel On Oct 23, 9:57 pm, Klaus Hartl [EMAIL PROTECTED] wrote: You could try this (untested):

[jQuery] Re: Cycle: Direct link from another page

2008-10-23 Thread isaacn
Thanks--that definitely got it a lot cleaner. I ended up needing to do: var $slide = $(window.location.hash); if ($slide.length) { // found a match on hash id var $slideshow = $slide.parent().parent(); var

[jQuery] Re: drag drop not working under IE and Safari

2008-10-23 Thread ^AndreA^
I finally found out the problem... I had called a js variable class (var class;), which is a keyword. That's why it didn't work at all!!! bye On Oct 21, 4:44 pm, ^AndreA^ [EMAIL PROTECTED] wrote: Hi, I'm working on this drag drop

[jQuery] jQuery Treeview 1.4 by Joern Zaefferer

2008-10-23 Thread Cruizer
I am using this menu for a clients website, and I am having some problems with functionality. I may be reading it wrong, but in the documentation under persist: 'location' it states looks within all tree nodes with link anchors that match the document's current URL (location.href), and if found,

[jQuery] Puedo indexar directamente los jquerys de Google?

2008-10-23 Thread America|UNK
Habrá algún problema si lo pongo en mi head ? script type=text/javascript src=http://jqueryjs.googlecode.com/ files/jquery-1.2.6.min.js/script

[jQuery] Re: Subheadings in tables

2008-10-23 Thread abramwell
Seeing as the Tablesorter plugin writes classes to the table header when it's sorted, I'd use this as a condition for showing / hiding your secondary table header. What are you looking to display in the second TH?

[jQuery] is this usefull as an lgpl-ed component? canvas fancy ajax loader icon

2008-10-23 Thread Rene Veerman
i've made a loader icon based on the canvas tag.. demo up at http://mediabeez.veerman.ws/mb/ this is an early draft, and i intend to add a bit more features (like scalability) and themes.. but i'm wondering if there would be an interest in a component like this esp with the still

[jQuery] Re: ajax upload file deletes input's paths...

2008-10-23 Thread ^AndreA^
I didn't solve the problem, I just found a workaround. bye On Sep 30, 10:13 am, ^AndreA^ [EMAIL PROTECTED] wrote: Hello everyone, I'm uploading some images with AJAX (using ajaxfileupload), with a for loop I upload more than one image... It works very well but I've got an issue under

[jQuery] Re: can jquery slide a whole page up and down?

2008-10-23 Thread caturn88
Thanks but I have the script I want and this on only seems to move a portion of something when I need the whole page to move like I have. I just don't see why the page moves back to the top. For that matter I also need to link the btton being pressed to thescript anyway, that Description link is

[jQuery] $(element).animate() shifts elements out of order while animating

2008-10-23 Thread bulgarian388
Hi guys, I'm new to jQuery and I need some help. I have a UL with LIs. In each LI there is a DIV with a bunch of content. The LIs are set to display inline. Anyway, when I run the animate function, the LIs get shifted into their default display (a list) and when the animation completes, the LIs

[jQuery] Re: BlockUI unchecks checkboxes

2008-10-23 Thread Mike Alsup
What exactly is the problem you're seeing? Could you possibly post a demo page somewhere? Mike On Oct 23, 10:22 am, Snooky [EMAIL PROTECTED] wrote: Alright, so I saw that this issue had been raised before, but apparently never actually fixed. I only tested it in FF and Chrome. To

  1   2   >