[jQuery] Re: Tooltip placement

2009-06-07 Thread Gustavo Salomé
*width*change the hover function to get the object width and remove the mousemove function. Do somenthing like: this.tooltip = function(){ /* CONFIG */ xOffset = 20; yOffset = 50; // these 2 variable determine popup's distance from the cursor

[jQuery] Re: animate callback scope for infinite loop?

2009-06-07 Thread Gustavo Salomé
try $this=$(elementID); 2009/6/7 Bill bill.fisher.oakl...@gmail.com Hi, I'm trying to create an endless animation similar to a screen saver, where an image floats around the screen, fading in and out. I would like to stay out of the global namespace, so I'd like to use the callback to

[jQuery] Re: repeatly fadein/fadeout an object

2009-06-06 Thread Gustavo Salomé
Using that function that i wrote do something like this: a global var like : var timer; then modify the function making the setInterval function receive it: timer= setInterval(...) then bind the click of the stop blink button to clear the setInterval : $('#stop_blink').click(function(){

[jQuery] Re: simple(fy) data count

2009-06-06 Thread Gustavo Salomé
. peter On Fri, Jun 5, 2009 at 11:30 PM, Gustavo Salomé gustavon...@gmail.comwrote: $count=$(.div_count); var clone_count =!$count.('data') ?1:$cont.data('clone_count')+1; $count.data('clone_count',clone_count); 2009/6/5 Peter Marino marino.pe...@gmail.com Hi jQuery, I have the following

[jQuery] Re: Slide show transition using backgrounds and pngs (jquery cycle lite)

2009-06-06 Thread Gustavo Salomé
IE cant handle css-images properly Try to use your images as html. 2009/6/6 D A dali...@gmail.com I'm attempting to create a mini slide show of rotating image. I'm using jquery cycle lite: http://malsup.com/jquery/cycle/lite/ Well, after a lot more trial and error and experimenting,

[jQuery] Re: simple(fy) data count

2009-06-05 Thread Gustavo Salomé
$count=$(.div_count); var clone_count =!$count.('data') ?1:$cont.data('clone_count')+1; $count.data('clone_count',clone_count); 2009/6/5 Peter Marino marino.pe...@gmail.com Hi jQuery, I have the following: if ( $(.div_count).data(clone_count)==undefined ) { $(.div_count).data( clone_count,

[jQuery] Re: plugin validate

2009-06-05 Thread Gustavo Salomé
The plugin add a class that sets the input padding attribute. Check the css adn remove it. 2009/6/5 Leonardo Aidar leo...@gmail.com When i valid the formulary with j-query validate, it increases the width(or size) of my imput. How can i take out this option? Please help me, its urgent!

[jQuery] Re: Confusing and probably inaccurate documentation for noConflict()

2009-06-05 Thread Gustavo Salomé
I agree with waseen 2009/6/5 waseem sabjee waseemsab...@gmail.com to be honest. it would not be wise using multiple different js libraries. you basically have multiple definitions that do the exact same thingit really is best to stick to a specific library as much as you can. On Fri,

[jQuery] Re: re-establish user selection in a div with designmode=true

2009-06-05 Thread Gustavo Salomé
Im not sure if i get what you want to do but try this: $div=$('#div'); div.data('old',div.html()); 2009/6/5 dhoover dh.ferm...@gmail.com I have a web app where I have created a div to masquerade at a textarea so I can add highlighting according to so rules. I rely on setting designmode=true.

[jQuery] Re: repeatly fadein/fadeout an object

2009-06-05 Thread Gustavo Salomé
I think GaVra solution is gonna crash the browser. Try something like: $.fn.repeat = function(speed, time){ var $this = $(this); $this.fadeIn(speed); setInterval(function(){ $this.fadeOut(speed, function(){$this.fadeIn(speed);}); }, time*1000); }; $('#obj_to_blink').repeat (slow,

[jQuery] Re: UL Hover menu

2009-06-04 Thread Gustavo Salomé
You must to check if the moue moved on its childrens or not, before you trigger the close action. Btw, IE sux. 2009/6/4 TJ tho...@atalanta.uk.com Hi there, I'm trying to create a hover dropdown many with jQuery and all seems to work fine in safari but not in ie7? The idea is that when I

[jQuery] Re: Inner HTML on a .bind()

2009-06-04 Thread Gustavo Salomé
Try this: $('object').click(function(){ $(this).find('embed').css({width:500px,height:500px}); }); 2009/6/4 AndyW awyso...@absoftware.com My page basically puts in a few YouTube videos on my page object class=YTV ...param .../paramparam .../paramembed height= width=.../embed/object

[jQuery] Re: Looking for a jquery plugin similiar to this scriptaculous effect...

2009-06-04 Thread Gustavo Salomé
Yes. Its called scrollTo. 2009/6/4 williampdx wbenning...@gmail.com www.airportbags.com This sites moving navigation effect is done via scriptaculous and would much prefer to use a jquery plugin instead. Does anyone know of a similiar plugin that would allow for horizontal movement as well

[jQuery] Re: Looking to select and morph a class within an id.

2009-06-04 Thread Gustavo Salomé
You are missing the space between objects in your selector Do this and i think its gonna work. $(#CLVMajorModule .propImg).attr( {src:image.jpg }); 2009/6/4 Mrr0ng allanrog...@gmail.com The structure of my page goes div id=CLVMajorModule div class=majorModule div

[jQuery] Re: Edittable plugin problem

2009-06-03 Thread Gustavo Salomé
Try get it here: http://jsbin.com/ejejo/edit I made a live example too. 2009/6/3 bharani kumar bharanikumariyer...@gmail.com The Boss , Link redirecting site not working BOSS , Please provide alternate link, Thanks On Tue, Jun 2, 2009 at 10:38 PM, Gustavo Salomé gustavon

[jQuery] Re: posting an xml

2009-06-03 Thread Gustavo Salomé
If the url is in your own domain, just remove https://newport.ingrammicro.com/ https://newport.ingrammicro.com/mustang. keep just /mustang in your ajax url params 2009/6/3 Michael Lawson mjlaw...@us.ibm.com The most likely reason to see permission denied because you are trying to use ajax to

[jQuery] Re: Need help with DIV manipulation

2009-06-03 Thread Gustavo Salomé
Try this: Remove the href params, instead change the loadContent param to an id or class, like this: lia id=1 href=#/a/li then change your javascript to: $(function(){ $('li a').click(function(){ id=$(this).attr('id'); $(#content).load(pages.php?o=+id+); return false; }); });

[jQuery] Re: Problem with selecting objects in dynamically generated HTML

2009-06-03 Thread Gustavo Salomé
Check the jquery live function http://docs.jquery.com/Events/live I think it is what you are looking for. 2009/6/3 Cod c...@pdx.pl Hi guys. I hope you can help me with my little problem with jQuery. I'd like to do something like this: After the page is loaded I have some forms with submit

[jQuery] Re: How to deal with running id fields?

2009-06-03 Thread Gustavo Salomé
try this: if($('#test').next('p').html()=='Hello world!')alert('got it'); 2009/6/3 TeNDoLLA matti.suuro...@afterdawn.com I have this code for jquery $(function() { $('#test').live('click', function() { $('#test').after('pHello world!/p'); }); }); and this

[jQuery] Re: Appending AJAX response data to calling element

2009-06-03 Thread Gustavo Salomé
before the ajax call get the $(this) object into a variable, like this: var obj=$(this) then use it into ajax success function 2009/6/3 phpn1b alv...@gmail.com I have a list where each list item has a click event attached to it. Upon clicking a list item, the click calls a PHP script and

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-03 Thread Gustavo Salomé
I dont know if i get what you want to do but Try to add a success function to your ajaxsubmit function, lke this: jQuery(form).ajaxSubmit({ target: #newTasks, success:function(html){ $.get('tasks.cfm',{},function(data){

[jQuery] Re: Form Plugin and Validation, I am totally lost even after doing the research.

2009-06-03 Thread Gustavo Salomé
I did mistake my past code, now it seens to do what you want to: jQuery(#myForm).validate({ meta: validate, submitHandler: function(form) { jQuery(form).ajaxSubmit({

[jQuery] Re: AJAX return value

2009-06-03 Thread Gustavo Salomé
try this: $.ajax({ url:'mypage.php', data:'item1=1item2=2', success:function(html){ if(html.substr(0,1)==1){ $('#divToUpdate').html(html.substr(1)); } else{ alert('error page'); } } }); 2009/6/4 Dave Roberts dave.a.robe...@gmail.com Hello, I have a page which shows items in a

[jQuery] Re: text of first sibling of a parent...How do I get it

2009-06-03 Thread Gustavo Salomé
Try this: $(#knowndiv').parent('td').prev().prev().html(); Think thats gonna work out. 2009/6/3 jake dimano jakedim...@gmail.com Mauricio and Ricardo, I applied all the suggestions, parent(), parents() and all the other functions, but still to no avail. The weird thing is that when I

[jQuery] Re: infinite loop alert on combing jcarousel and Google Map

2009-06-03 Thread Gustavo Salomé
Try to specify the height/width in the jcarrousel params. If not,try to specify the height/width in style/css and/or html. I had the same problem a while ago, i dont remenber how i solved it, but i think was either way i described above. 2009/6/3 hera hera1...@gmail.com Hello everyone, I

[jQuery] Re: [autocomplete] hard time with accent

2009-06-03 Thread Gustavo Salomé
No way you can do this unless you do have 'switch' that converts all elements to its respective non-utf8 code. 2009/6/2 Tom Worster f...@thefsb.org On 6/1/09 2:48 PM, Gui guilhermealcant...@gmail.com wrote: I'm currently using this JQuery autocomplete plugin. It fits my needs, pretty

[jQuery] Re: Live Event Handler

2009-06-03 Thread Gustavo Salomé
I dont see why you cant use the ID selector. It supports it. 2009/6/1 chris.lek...@gmail.com chris.lek...@gmail.com Hi jQuery gurus :) I am trying to use the Live Event instead of the default bind. What I have notice though is that I can't use the live event if I am selecting a specific

[jQuery] Re: slideDown()/slideUp width errors

2009-06-03 Thread Gustavo Salomé
Try this out : $(#archive).children('h2').wrapInner(a href='#'/a).children(a) .click(function(){ $(this).parent().toggleClass('open').next().slideToggle(); return false; }); 2009/6/2 blouderm...@gmail.com blouderm...@gmail.com Hello, I am new to jQuery and already I'm

[jQuery] Re: jquery animate and click together...

2009-06-03 Thread Gustavo Salomé
Try this: $ (function () { var active=null; $('.workmenuitem').bind('mouseenter',function() { if(active==null) { active=$(this); active.find(img).stop().animate({opacity : 1, left : 15px}); }

[jQuery] Re: AJAX return value

2009-06-03 Thread Gustavo Salomé
Yes for success response, like this: 0divstuff/div for error response. 2009/6/4 Dave Roberts dave.a.robe...@gmail.com Thanks for the quick reply! What would the format of the html be? Like this? 1divreturnstuff/div On Jun 3, 11:36 pm, Gustavo Salomé gustavon...@gmail.com wrote: try

[jQuery] Re: jquery, ajax and flot

2009-06-03 Thread Gustavo Salomé
Ive never used the plot plugin, but im guessing that its second parameter accepts an array, am i right? If im try to parse the result into an array then do your call: array=[]; array=transformToArray(result); $.plot($(#graph), array); 2009/6/3 abhis...@uottawa abhishe...@gmail.com Hi, I'm

[jQuery] Re: html() method block for

2009-06-03 Thread Gustavo Salomé
Are you inserting the img into the form? it could result in a error 2009/6/3 ing.davidino ing.david...@gmail.com the function below work fine for only one checkbox checked when i select more than one checkbox the for stop after the first tour it seems that the html method block the form

[jQuery] Re: Add DIV magically?

2009-06-03 Thread Gustavo Salomé
$('#programs').before('div class=loading id=loading_programs/div'); 2009/6/4 Dave Maharaj :: WidePixels.com d...@widepixels.com Can jQuery add a div in a specific location? I currently have : li div class=loading id=loading_programs/div div id=programs dl

[jQuery] Re: How to prevent a particular field being submitted in form submission

2009-06-02 Thread Gustavo Salomé
Try to disable the field. I think its gonna work. 2009/6/2 waseem sabjee waseemsab...@gmail.com SORRY SYNTAX ERROR here is the correct $(#myfieldid).attr({ value: }); On Tue, Jun 2, 2009 at 6:11 PM, waseem sabjee waseemsab...@gmail.comwrote: $(#myfieldid).attr({ value:; }); this

[jQuery] Re: Add Class to all form elements

2009-06-02 Thread Gustavo Salomé
Try it: $('form').find(':input,:radio,:checkbox').addClass('class'); 2009/6/2 waseem sabjee waseemsab...@gmail.com Yes but he only wants to add class to forms. myway is loop through all forms. or all forms with a specific class. then for each form loop through all inputs. this way is better

[jQuery] Re: Parsing a very large xml file

2009-06-02 Thread Gustavo Salomé
I had the same problem a while ago Theres a bug about it, you cant use the success function, you must use the complete function function in the ajax request 2009/6/2 Gordon grj.mc...@googlemail.com Your best bet in that case is trying to talk your client out of it then. XML is not a very

[jQuery] Re: Edittable plugin problem

2009-06-02 Thread Gustavo Salomé
it On Tue, Jun 2, 2009 at 6:26 AM, Gustavo Salomé gustavon...@gmail.comwrote: No way you can do this. Ive a modified version of the plugin that i made which can do this. Ill send to if u want it. 2009/6/1 bharani kumar bharanikumariyer...@gmail.com Hi All, Am using the editable plug in , When

[jQuery] Re: Stop .blur() on tabbing out.

2009-06-02 Thread Gustavo Salomé
Im not sure if i understood what you want, but try this: function glow(){ if($('#front').data('state')==true)return false; var myCols = [{param:'background-color', fromColor: '#222', toColor: 'random', random: true}] $('#front').colorBlend(myCols).data('state',true); } function

[jQuery] Re: Mouseleave event

2009-06-02 Thread Gustavo Salomé
Try the setTimeout function 2009/6/2 zayatzz alan.kesselm...@gmail.com Hello Is it possible to mouseleave event have some kind of delay inserted into it? I have this small script, which is working just fine : script type=text/javascript $(document).ready(function

[jQuery] Re: fadeIn() on elements with alpha filter not working properly in IE

2009-06-02 Thread Gustavo Salomé
Its true, i had the same problem a while ago. I couldnt solve it. 2009/6/2 Luch Univision lara...@us.univision.com I am running into an effect issue with IE only. I have a UL with about 4 LI and I apply the fadeIn() on individual LI based on user actions. Inside of each LI I have a div

[jQuery] Re: Form plugin asynchronous behavior

2009-06-02 Thread Gustavo Salomé
Be sure to set the ajax param 'async' to true. 2009/6/2 Mike Alsup mal...@gmail.com The problem I'm having is that the form submissions seem to be queued and submitted synchronously, so if a user submits a request that takes say 30 seconds and then immediately submits another request that

[jQuery] Re: Create Ajax Request and edit html request

2009-06-02 Thread Gustavo Salomé
Select the elements you want before the request, like: var $elements=$('input'); $.ajax({success:function(data){ alert($elements.html()); }}); 2009/6/2 Kevz godec...@gmx.net [b]Hay guys![/b], I worked with now in jQuery. Property however at present the following problem: [i]I provide a

[jQuery] Re: Mouseleave event

2009-06-02 Thread Gustavo Salomé
pm, Gustavo Salomé gustavon...@gmail.com wrote: Try the setTimeout function 2009/6/2 zayatzz alan.kesselm...@gmail.com Hello Is it possible to mouseleave event have some kind of delay inserted into it? I have this small script, which is working just fine

[jQuery] Re: Ajax forms

2009-06-02 Thread Gustavo Salomé
Its simple. Just remove the $.post function then do this: $(this).ajaxSubmit({ type: 'post', url:'/update', * data: queryString,* target: '#userForm',

[jQuery] Re: Form plugin asynchronous behavior

2009-06-02 Thread Gustavo Salomé
Try $.ajaxSetup({async:true}); I think its the only reasonable explanation. Btw, i work a lot with ajax and i've never had this problem. 2009/6/2 dann 00d...@gmail.com Thank you both for the help! Is the 30 second request a file upload? No file uploads involved: it's just a single text

[jQuery] Re: jquery dialog - close if clicking outside dialog area?

2009-06-02 Thread Gustavo Salomé
Sure. $('body').click(function(){ $('dialog.selector').dialog( 'close' ); }); 2009/6/2 Dennis Morgan acold...@gmail.com Is it possible to have the jquery ui dialog close when clicking outside the area of the dialog? Like facebox? Thanks. -- Gustavo Salome Silva

[jQuery] Re: Equivalent of Event.observe

2009-06-02 Thread Gustavo Salomé
$(document).bind('keydown', function(e) { if (e.keyCode == 27) $('#input').focus(); return true }); 27 is the ESC key. Check out the ascii table for the keys you want. 2009/6/2 Adam S ascheinb...@gmail.com I'm trying to make the cursor focus on a certain input element when

[jQuery] Re: jCarousel sliding 2 items

2009-06-02 Thread Gustavo Salomé
Try to specify your carousel itens, like this: jQuery('#mycarousel').jcarousel({ auto: 0, scroll: 2, * items: 'li div.jcarousel_item_content**',* wrap: 'last', buttonNextHTML: '',

[jQuery] Re: Scale symbol in line of text

2009-06-01 Thread Gustavo Salomé
Try to separate the symbol in a div or another tag with position absolute. I think it will solve your problem. 2009/6/1 dmikester1 dmikest...@gmail.com Thanks Ryan. That worked pretty well. There is still one thing that is causing an issue. It is now pushing the right name farther to the

[jQuery] Re: Edittable plugin problem

2009-06-01 Thread Gustavo Salomé
No way you can do this. Ive a modified version of the plugin that i made which can do this. Ill send to if u want it. 2009/6/1 bharani kumar bharanikumariyer...@gmail.com Hi All, Am using the editable plug in , When i edit the values , i want to check the already exist and also want to pass

[jQuery] Re: JQquery Ajax call WCF remotely doesn't work

2009-06-01 Thread Gustavo Salomé
I bet that is the problem. 2009/6/1 bittermonkey brakes...@gmail.com Are you getting the Access to restriced URI denied error? If you are, here's my old post:

[jQuery] Re: tabs and ajax

2009-05-29 Thread Gustavo Salomé
U may remove the href attr and set it into another attribute in the beforeSend function and then restore it on complete function. Hope ive helped []'s 2009/5/28 nextpulse rob...@nextpulse.com I have 3 tabs that each loads using ajax (via href). The problem i am having is that while a tab is

[jQuery] Re: jQuery Ajax breaking in IE..... please help!!

2009-05-26 Thread Gustavo Salomé
the url is 'app/ajax.phpauth-login' U missed the ? 'app/ajax.php?auth-login' On Tue, May 26, 2009 at 3:14 AM, yrelkin yrelkin...@gmail.com wrote: I am developing a VoIP Customer Portal with jQuery/Ajax. Everything works fine in Firefox, but in IE and Safari, the JS breaks. I used MS Script