Re: [jQuery] Delaying Click Event

2010-01-04 Thread Michel Belleville
prevent default action to be immediately triggered }); Hope it helps. Michel Belleville 2010/1/4 david.vansc...@gmail.com : > I've been searching high and low on Google over the last hour looking > for this, but can't seem to find anything. Maybe I'm using the wrong &

Re: [jQuery] JQuery ajaxSend/ajaxComplete

2009-12-29 Thread Michel Belleville
Something like this perhaps ? http://docs.jquery.com/UI/Dialog Michel Belleville 2009/12/29 Westside : > Hi, > > I'm using this code to display an image when an ajax requests happen > in my app: > > $("#ajax_loading_div") > .bind("ajaxSend&quo

Re: [jQuery] Re: Multiple responses from a single Ajax call

2009-12-09 Thread Michel Belleville
Are you returning precisely this : ... ... ... Or is there a wrapper around these divs like : ... ... ... Because I think I remember jQuery doesn't like to fumble around raw xml without a root element to wrap around it. Michel Belleville 2009/12/9 kingunderscore > ok i'm

Re: [jQuery] Re: Multiple responses from a single Ajax call

2009-12-09 Thread Michel Belleville
Well obvisouly you've got it all now. Always a pleasure ^^ Michel Belleville 2009/12/9 kingunderscore > Hmm ok. > > So i what i am getting from this is that i can refer to elements > inside of the response object. > > $('#cold room').html($('house.of_b

Re: [jQuery] Multiple responses from a single Ajax call

2009-12-09 Thread Michel Belleville
piggies).html()); // seems like this house of bricks was no match for mr wolf after all, let's put little smartass in the cold room $('#cold room').html($('house.of_bricks', piggies).html()); } }); But the important thing is if you don't want to do 3 queries, you'

Re: [jQuery] Replacing brs in a div

2009-12-09 Thread Michel Belleville
Regexp seems indeed the simplest way to acheive it. Something like this might just work : whatever_string.replace(/<(\/?)\s*br>/gi, "\r\n") Michel Belleville 2009/12/9 Mad-Halfling > Hi, this seems like a stupid question, but I'm not quite sure if I can > do i

Re: [jQuery] onclick send parameter to a JQuery function?

2009-12-08 Thread Michel Belleville
enjoy. Michel Belleville 2009/12/8 Themba Ntleki > Thanks Michel, > > I found a solution, my mistake was trying to create the function inside : > $(document).ready(function() { > > the onClick could not find the function. I have defined the function > separately and the onclick

Re: [jQuery] onclick send parameter to a JQuery function?

2009-12-08 Thread Michel Belleville
w to put all this together with whatever .load() or .get() or something else you'd like to do to get your form back on your page. Michel Belleville 2009/12/8 theUnseen > Hi guys, > > I show a table with mysql data with an edit option/link for each > record, but i want the edi

Re: [jQuery] Re: next()

2009-12-04 Thread Michel Belleville
ncestor as reference. Michel Belleville 2009/12/4 TMNT > Michel, thanks for your response. > So, do I need to get the parent of my country element (which would be > the div ) & get all it's siblings and then look for elements with > class 'state' or is there a simp

Re: [jQuery] Re: Can I use "$(document).ready(function(){ " in the same page more than a once time in the same page

2009-12-04 Thread Michel Belleville
), preferably grouped by functionalities And it's usually better to write less code in 4. than in 3. (4. is preferably just for hooks). Michel Belleville 2009/12/4 coolf > ok, thanks for the response. > But what is the best, is it good to have more than a "documen.ready"

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
), so your code is just a little bit more expressive (the "main" purpose of the query is expressed first in the .load() mandatory parameters, then the "secondary" tidbits are placed later in the callback). Using .get() would also do the job, but would be slightly less rea

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
For some reason I have a feeling you've overlooked the official jQuery documentation on .load(), especially the example section. http://docs.jquery.com/Ajax/load#urldatacallback Michel Belleville 2009/12/4 Nicu Marcu > Can you give me please some example or where to find a documentati

Re: [jQuery] Is possible to update two div with the same load?

2009-12-04 Thread Michel Belleville
.load() also has a success triggered callback. Michel Belleville 2009/12/4 NMarcu > Hi, > > I need to update a div that contain a table, and another one that > contain a drop down list, that is build depending on what is in one > table from db(the first div depend on t

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-04 Thread Michel Belleville
Just used your benchmark and I didn't see any significant differences. Both had slight jumps from time to time, none felt like there was a pattern, I'm using Firefox 3.5 on a iMac pro (last year's edition) running snow leopard. Michel Belleville 2009/12/4 Jonathan Vanherpe (T &a

Re: [jQuery] Automagically link http(s)://, mailto: etc in String

2009-12-04 Thread Michel Belleville
Indeed, you could try something like this : string.replace(/((?:(?:http:\/\/)|(?:mailto:))([^\s]+))/, '$2'); And bam! the returned value will have your http://s and mailto:s wrapped in nice links. Michel Belleville 2009/12/4 Dhruva Sagar > Of course it's possible :). All

Re: [jQuery] Re: next()

2009-12-04 Thread Michel Belleville
#x27;m not the direct child of the same direct parent neither am I, I'm also in another parent, the fact that I'm on the same indentation level is not enough to make me directly related to this "span.me" guy Hope it helps. Michel Belleville 2009/12/4 TMNT > Thank you jp

Re: [jQuery] Re: Why mootools animations is more smooth than jquery?

2009-12-03 Thread Michel Belleville
I wonder, is this a feeble attempt at launching a troll, a poorly worded vague question, or just good old plain nonsense ? Michel Belleville 2009/12/3 Acaz Souza > The jquery framework in past, it use the fx animation, it's true? > > On Dec 2, 4:26 pm, MorningZ wrote: >

Re: [jQuery] get random record?

2009-12-01 Thread Michel Belleville
setTimeout(), which is a plain JavaScript function, should be perfect for the job then. Michel Belleville 2009/12/1 Dave Maharaj :: WidePixels.com > Sorry I should have explained it better. My php will get the record. I just > need help using jquery to get the record every (set ti

Re: [jQuery] Re: How to update the content of an XML node with JQuery

2009-12-01 Thread Michel Belleville
I'm not sure you can even do that with jQuery the way you'd like to do it. Is it so important to use xml for medium ? Michel Belleville 2009/12/1 karthick > Hi Michel, > > Thank you very much for pointing that, now its clear why it > wasn't updating. But c

Re: [jQuery] How to update the content of an XML node with JQuery

2009-12-01 Thread Michel Belleville
Easy, you're not working on the original xml string, you're working on a dom object generated using the string as original. It's not attached to your theXml variable anymore. Michel Belleville 2009/12/1 karthick > Hi Guys, > > I have an simple xml dom (which is parsed

Re: [jQuery] Two dimensional arrays and $.post

2009-12-01 Thread Michel Belleville
Sorry mate, jQuery won't help here. BUT JavaScript will : { something: "blah", something_else: "hem" } Then you just have to pass it to $.post as explained in the doc http://docs.jquery.com/Ajax/jQuery.post (that's the second parameter, data) Michel Belleville 2

Re: [jQuery] get random record?

2009-12-01 Thread Michel Belleville
id client-side (without the database nearby). Michel Belleville 2009/12/1 Charlie > link to different random functions depending on db > http://www.petefreitag.com/item/466.cfm > > $getJSON and volia! > > > Dave Maharaj :: WidePixels.com wrote: > > Has anyone com

Re: [jQuery] fadeout doesn't work first time

2009-11-30 Thread Michel Belleville
b").fadeOut(1000, function() { $(this).fadeIn(1000).addClass("activetab") }).removeClass("activetab"); }); Michel Belleville 2009/11/29 ghostrunner > Hey. > I switch betweem three div by clicking on three different link. See > code below. > I use fadein and fa

Re: [jQuery] Scroll and select

2009-11-30 Thread Michel Belleville
cs.jquery.com/Core/jQuery#expressioncontext http://docs.jquery.com/Events/click http://docs.jquery.com/Attributes/attr#name http://docs.jquery.com/Attributes/text http://docs.jquery.com/Ajax/jQuery.post#urldatacallbacktype (the rest of jQuery's documentation's very cool too) Mich

Re: [jQuery] Selector Help

2009-11-29 Thread Michel Belleville
Even better : $('a.filter').click(function() { $(this).closest('ul').children().removeClass('active').end().end().closest('li').addClass('active'); }); Michel Belleville 2009/11/29 Mauricio (Maujor) Samy Silva > Try this: > > $(

Re: [jQuery] Mark visited links as unvisited...

2009-11-28 Thread Michel Belleville
I don't think you can JavaScript that dude, sorry. Michel Belleville 2009/11/28 emurray100 > I need to mark a link as "unvisited". Any idea how I can do > that in jQuery? > > Note: I'm not talking about css styling, I need to reset the > physical > property to "unvisited". >

Re: [jQuery] Q

2009-11-28 Thread Michel Belleville
Just append another each, that should do the work. $(".whatever").each(function() { /* first this for all */ }).each(function() { /* then that for all */ }) Michel Belleville 2009/11/28 kotchin > hi all > > i was wondering how to add a function to the end of an eac

Re: [jQuery] Switch between five divs

2009-11-27 Thread Michel Belleville
#div3 > div, #div4 > div, #div5 > div').hide(); // we hide all the contents $(this).closest('div').children('div').show(); // closest takes the closest element (parent or self) matching the selector, children takes the children of an element matching the selector });

Re: [jQuery] DataTables plugin - set "id" attribute for table rows?

2009-11-27 Thread Michel Belleville
The id is an html node attribute. You just have to use the same method as for any other attribute, namely : http://docs.jquery.com/Attributes/attr#keyvalue Michel Belleville 2009/11/27 Stodge > My account hasn't been activated on the datatables forum so I need to > ask this qu

Re: [jQuery] Problem traversing up list

2009-11-27 Thread Michel Belleville
Or you can do this in a better way : $('#item1-1').parents('li:first').attr('id') Michel Belleville 2009/11/27 ximo wallas > It returns an empty string, so it alerts, but nothing... > I will show you all the code: > > First I get the id o

Re: [jQuery] Binding a function to >1 'a' tag - which approach is best?

2009-11-27 Thread Michel Belleville
$(this).attr('id');); return false; }); }); $('a.c_update').bind("click", function() { // how sleaker doStuff('getitem', $(this).attr('id');); return false; }); So, basically you can reduce #1 to #2 breaking nothing, without any significan loss (i

Re: [jQuery] Problem traversing up list

2009-11-27 Thread Michel Belleville
You don't need to use .parentNode() (vanilla DOM) but .parent() (jQuery flavor). Then you can access any attribute using .attr(). So instead try : $('#item1-1').parent().attr('id') This should "tadaaa". Michel Belleville 2009/11/27 ximo wallas > Hello

Re: [jQuery] Is there a plugin similar to this Flash effect in Yahoo.com for media images?

2009-11-27 Thread Michel Belleville
images (basically a one pixel wide gradient opaque white>transparent white), and you jQuery two divs with these images as background with absolute positionning to place them on both sides of your target element. I'm pretty sure you'll have troubles with IE6 and maybe IE7. Regards

Re: [jQuery] PHP jQuery on different port

2009-11-27 Thread Michel Belleville
The port is part of the url (80 is implicit for http), so you've got to explicitly set it to access port 8080, like this : http://whatever.yoursite.is:8080/any_script.php?any_other_argument=some_value Michel Belleville 2009/11/26 Darjana > Hello, > > This user.php on port

Re: [jQuery] Returning Value Of aa .POST

2009-11-27 Thread Michel Belleville
not they would freeze the interface until the call ends, and most of the time nobody wants that. In order to execute something after the call succeeds you have to use callbacks : http://docs.jquery.com/Ajax/jQuery.post#urldatacallbacktype Michel Belleville 2009/11/26 Nuclear > function

Re: [jQuery] Re: JQuery value set delay

2009-11-25 Thread Michel Belleville
ent that has the *name* "act". If so, no wonder your field wasn't changed in time, or at all. Michel Belleville 2009/11/26 Adods > i've tried that one too, and get the same result. but now i already > get the solution by using old way: > > document.pm_form.act.value =

Re: [jQuery] Re: (this[0].ownerDocument || this[0]).createDocumentFragment is not a function

2009-11-25 Thread Michel Belleville
p's holding function, therefore temp is still declared and still holding the reference to former $(this) }); }); And it will still work, temp stays declared as long as the callback needs it, but it doesn't get out from your click callback so no pollution of any namespace or outer scope.

Re: [jQuery] (this[0].ownerDocument || this[0]).createDocumentFragment is not a function

2009-11-24 Thread Michel Belleville
anges with the scope the other variable still holds who you'd like to talk to. Michel Belleville 2009/11/24 coffeecup > Hello, > > iam experimenting a little bit with jquery and have encountered the > following problem. > > my project is a calendar which can be browsed

Re: [jQuery] Re: Where to place my code on AJAX calls

2009-11-24 Thread Michel Belleville
jQuery provides : jQuery(function() { // this is executed as soon as the page is fully loaded }); Michel Belleville 2009/11/24 Rockinelle > How do I make sure the external page is fully loaded before I try to > bind events to it? > > On Nov 24, 9:43 am, Michel Belleville >

Re: [jQuery] Re: Where to place my code on AJAX calls

2009-11-24 Thread Michel Belleville
is fully loaded. Michel Belleville 2009/11/24 Rockinelle > Ok the live technique worked, thanks! I understand the idea of binding > it after the documents is loaded. Is that more than a matter of > binding it after the ajax call, or *must* I use .live so that it waits > for the

Re: [jQuery] GET id value from url in jQuery

2009-11-24 Thread Michel Belleville
ents of a $('#jquery .collection_of_items'), or after $('.an_element').sideUp('slow', function() { ... }), or on most jQuery collection methods. Michel Belleville 2009/11/24 dziobacz > How can I take value of ID clicked link in jQuery ?? > I have links: > delete

Re: [jQuery] problem in slider effect

2009-11-24 Thread Michel Belleville
I wouldn't trigger the slideUp on exiting the text zone itself, but a parent common to both your hovered link and the text zone, like this : jQuery(function($) { $('#test').parent().hover( function() { $("#test").stop(true).slideDown("slow"); }, function() { $("#tes

Re: [jQuery] JQuery value set delay

2009-11-24 Thread Michel Belleville
I think I've had something similar once, I'm not sure how I got it to work properly but you can try something on lines of : setTimeout("$('#pm_form').submit();", 1); So you've returned and applied the changed before the form actually submits. Michel Belleville

Re: [jQuery] jquery help

2009-11-24 Thread Michel Belleville
Hmm, seems like the url on craig's list is stale or something, but as soon as I get more details it's possible that I can point to the cause of your troubles. Regards. Michel Belleville 2009/11/24 Bjorn Symister > Thanks Michael, and I wont take it the wrong way, its busi

Re: [jQuery] update div with textarea length

2009-11-24 Thread Michel Belleville
As long as it's working now kudos. Regards. Michel Belleville 2009/11/24 rjc > > I'm sorry Michel, I edited my last reply because I found the error of it > not > working was on my behalf. > > Michel Belleville wrote: > > > > Maybe the problem is som

Re: [jQuery] update div with textarea length

2009-11-24 Thread Michel Belleville
w the updated code and the associated html maybe ? Michel Belleville 2009/11/24 rjc > > I would have never thought to use val(), but this solution unfortunately > did > not work > The value still remains as 1 ? > -- > View this message in context: > http://old.nabble

Re: [jQuery] update div with textarea length

2009-11-24 Thread Michel Belleville
f you want to get the length of the string inside the element, use .val() to get the element's value : $(this).val().length This should do the trick. Regards. Michel Belleville 2009/11/24 rjc > > Hi, i'm updating a div with the length of a textarea. > > > $().ready(fun

Re: [jQuery] Dynamically Changing the Stored Height of a Parent Div Based on a Child's Content

2009-11-24 Thread Michel Belleville
Doesn't Disqus provide you with a callback of any sort in it's api ? Otherwise maybe you can watch out for dom changes and make it trigger your resizing method. And if you're really desperate there's always good old "let's execute that periodically until whateve

Re: [jQuery] jquery help

2009-11-23 Thread Michel Belleville
rks for you (it allows to do XSS as far as I'm aware) - when it fails and you've got a specific question to ask, come back and ask it Regards. Michel Belleville 2009/11/24 Bjorn Symister > I apologize for not being clear. I am not getting the information I need > on (Se

Re: [jQuery] Where to place my code on AJAX calls

2009-11-23 Thread Michel Belleville
regards. Michel Belleville 2009/11/23 Rockinelle > I am jumping into ajax with Jquery and I have what I think is an easy > question. I have successfully used jquery load to bring an external > php doc into my page. That page has a form on it where I want to use > jquery to reload that e

Re: [jQuery] Re: Sorting spans which are in li elements.

2009-11-23 Thread Michel Belleville
Indeed here's a typical example where a table would fit, and a definetly a table sorter plugin. Though I don't know how much latitude he has depending on the expected styling and wether he's allowed to change html code. Michel Belleville 2009/11/23 amuhlou > My initial rea

Re: [jQuery] Sorting spans which are in li elements.

2009-11-23 Thread Michel Belleville
tion games, it's funnier when you do the assembling yourself once you've got all the parts and a plan. Michel Belleville 2009/11/21 javam.org > Hi there, > > My xhtml structure looks like: > > > >

Re: [jQuery] jquery help

2009-11-23 Thread Michel Belleville
Good, now I know your server architecture in details. Still you forgot to mention what problem you are facing, and how it relates to jQuery. As far as I can see using your reply you're using the right method, and I don't see any error or problem you should be facing here. Michel

Re: [jQuery] Get URL from a DIV which was loaded with $.load();

2009-11-23 Thread Michel Belleville
Unless you store it you loose it. I suggest adding code in the .load() callback that'll store the url in the div. Michel Belleville 2009/11/23 tobias.br...@me.com > Hello, > > is there any way to get the URL from a div which was previously loaded > via $.load(); ? >

Re: [jQuery] jquery help

2009-11-23 Thread Michel Belleville
27;ve got the first and second point, though the third is not quite as clear. Maybe your code would help, plus a description of what it's meant to do ?... Michel Belleville 2009/11/19 shobhit > sir i am facing problem while using jquery: > > > i have two different .js

Re: [jQuery] Write jQuery Data

2009-11-23 Thread Michel Belleville
Oh, and to serialize your stuff, you can use the nifty serialize method jQuery provides for the forms : http://docs.jquery.com/Ajax/serialize ; basically you input a form, it outputs a JSON string containing its data. Michel Belleville 2009/11/23 Michel Belleville > Well, to store thi

Re: [jQuery] Write jQuery Data

2009-11-23 Thread Michel Belleville
;ve given you anyway) Now if you wanted to query your server and get json data, .getJSON() is your best bet indeed, and http://docs.jquery.com/Getjson will tell you exactly how to use it. I'll let you handle the server-side part using your favorite flavour of server, language and data storage.

Re: [jQuery] Re: Problem with plugins

2009-11-23 Thread Michel Belleville
First of all, if this is a .js script, why is there html in the first few lines ? Michel Belleville 2009/11/23 Paulodemoc > Its the javasscript on the php page, and the only php there is to > output the urls, and these urls are being printed correctly > The url doesn

Re: [jQuery] Problem with lock of browser after $.ajax call

2009-11-23 Thread Michel Belleville
Could you provide an url to the page or something so we can help diagnose ? Michel Belleville 2009/11/21 Michael Holm Kristensen > Hi, > > I have a problem with some of my jquery code.. i will make this short > an straight ahead. > > What i want is: > > 1. page that wi

Re: [jQuery] Write jQuery Data

2009-11-23 Thread Michel Belleville
The jQuery way uses this method : http://docs.jquery.com/Data Another is to hide an html element that holds your data, but you'll probably like .data() better. Michel Belleville 2009/11/22 Niche > I have 2 servers, a front end and a backend. I cannot execute server > side scr

Re: [jQuery] Why would jQuery be undefined in IE, but not FF???

2009-11-20 Thread Michel Belleville
The missing > issue mentionned by MorningZ might be your killer then. Michel Belleville 2009/11/20 Rick Faircloth > Thanks for the reminder on that one, Michel...I checked that to make sure > > the load sequence was correct, and it is… > > > > src=

Re: [jQuery] Why would jQuery be undefined in IE, but not FF???

2009-11-20 Thread Michel Belleville
Well, the most obvious idea that's coming to my mind would be to check wether your jQuery loader line comes before the plugin's loading line. If not, the code of the plugin, which requires jQuery, will lack jQuery and fail. Michel Belleville 2009/11/20 Rick Faircloth <r...@whites

Re: [jQuery] Re: IE loops while infinite (jQuery). Firefox works fine. Anyone can help fixing script for IE?

2009-11-19 Thread Michel Belleville
ine 4) > But you got me close! > Thanx anyway, I appreciate your help. > > As long as you're close that's fine by me anyway. Kind regards. Michel Belleville

Re: [jQuery] where to start ajax learinig

2009-11-19 Thread Michel Belleville
nd) before asking in a mailing list. Michel Belleville 2009/11/19 Ankur_Patel > > *framework > > On Thu, Nov 19, 2009 at 2:36 PM, Ankur_Patel wrote: > >> can you tell me what is ajax freame work and how to work and how implemetn >> our code like Gmail,yahoo,face

Re: [jQuery] IE loops while infinite (jQuery). Firefox works fine. Anyone can help fixing script for IE?

2009-11-19 Thread Michel Belleville
); }) // stops the selection when the next h3 is reached .wrapAll(''); // wrap all remaining (the immediate next siblings before encountering the next h3) in a div with class="new" }); This should be less messy than nested whiles, while doing the same thing if I read your method r

Re: [jQuery] Need help in making AJAX call in IE8

2009-11-18 Thread Michel Belleville
$.post() won't work on a local file either. Local or distant you have to talk to a web server, tapping the local file system won't work, and that's a feature. Michel Belleville 2009/11/18 Denis Caggiano > When I need to use ajax in my applications I implement the $.po

Re: [jQuery] i need help on jquery ^^

2009-11-18 Thread Michel Belleville
Well, it's not usual to see a job offer on jQuery's mailing list. What do you offer mate (beside your undying friendship) ? Michel Belleville 2009/11/18 kramnavi > > > im trying to hide and show the images with a plus sign separating the > images to each other. oncli

Re: [jQuery] Need help in making AJAX call in IE8

2009-11-18 Thread Michel Belleville
fun of it... or not). Michel Belleville 2009/11/18 santosh chavan > HI All > > I am trying to load XML file using following code. > $(document).ready(function() { > $.ajax({ >type: "GET", >url: "D:\Documents and &

Re: [jQuery] where to start ajax learinig

2009-11-18 Thread Michel Belleville
You can start here : http://docs.jquery.com/Ajax There's good reading in the documentation. Michel Belleville 2009/11/18 Ankur_Patel > Hello, > can u tell me where to start ajax. i am new learner of ajax. i know just > simple creation of request object. proceduers,events and

Re: [jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread Michel Belleville
rently. Indenting is such a good habit though... Michel Belleville

Re: [jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread Michel Belleville
Well, you can call the click method inside the getJSON callback, that's the most straightforward way to do it, and probably the cleanest. Michel Belleville 2009/11/17 roryreiff > So I guess that is the problem then? How would I work towards a > solution in making 'data&#x

Re: [jQuery] Re: IE 7 error with $.getJSON data elements

2009-11-17 Thread Michel Belleville
s triggered, that can be right before, right after, a month after, never, depending on how the AJAX call ends. Michel Belleville 2009/11/17 roryreiff > Could it have something to do with the 'data' variable not being > available to the function that I have placed inside the $

Re: [jQuery] IE 7 error with $.getJSON data elements

2009-11-17 Thread Michel Belleville
've either received something you didn't expect, or in a format you didn't exepct, or that the data.items[0].background didn't fit the provided format. Michel Belleville 2009/11/17 roryreiff > //This code is withing a larger function, but the error is coming into > play wh

Re: [jQuery] Basic selectors question

2009-11-17 Thread Michel Belleville
Consider this setting : $('blah + *') will select $('bloh ~ *') will select Michel Belleville 2009/11/17 HB > Hey, > I started learning JQuery today. > I got what (E>F) selector does but I didn't digest what (E+F) and > (E~F) do. > Thanks for help and time. >

Re: [jQuery] Syntax Question

2009-11-17 Thread Michel Belleville
JavaScript). Michel Belleville 2009/11/17 heohni > Hi, > > I have build a function like this: > > var init_number_of_bikes = function(){ >// Request all avail. bikes >var urlextend = findBikes(); >$.ajax({ &

Re: [jQuery] Re: simeple drop down menu

2009-11-17 Thread Michel Belleville
again. Michel Belleville 2009/11/17 runrunforest > THanks Michel, changed the selector slightly, it works. But only half. > > The problem now, if i hover in and out multiple times the list will > disappear permanently. > > http://ajax.googleapis.com/ajax/</a> > libs/jq

Re: [jQuery] simeple drop down menu

2009-11-17 Thread Michel Belleville
Well, that's just what you're asking here, when you hover in you fade in, when you hover out you fade out. Maybe you should give the hover method the div instead, so when you hover in the ul you're still hovering in the div. Michel Belleville 2009/11/17 runrunforest > Hel

Re: [jQuery] jQuery and jCorner problems ($ is not a function)

2009-11-16 Thread Michel Belleville
What's between the tags and the <script> tag containing your own code ?... Michel Belleville 2009/11/17 ReynierPM <rper...@uci.cu> > Hi every: > I'm trying to use jCorner to get rounded effects in some of my DIV but when > I run the page nothing happen and I

Re: [jQuery] Re: Change all CSS background images url

2009-11-16 Thread Michel Belleville
really easy, you can even use it with the standard stylesheet and only change background-image properties as long as the targets are the same as in the standard sheet and you put the link to the alternate stylesheet after the standard. Michel Belleville 2009/11/16 nomen > Hi: > >

Re: [jQuery] Change all CSS background images url

2009-11-16 Thread Michel Belleville
First idea that comes to mind is to let your client define another site base, you then don't even have to change your css as the apparent site base would be the client's sub-directory. You do that using the tag as shown here : http://www.w3schools.com/TAGS/tag_base.asp Hope it help

Re: [jQuery] Re: DOM changes takes effects only after function is done processing

2009-11-16 Thread Michel Belleville
Well, if you're aware of the side-effects, that's fine by me. Still it's a bit like using an h-bomb to treat cancer patients, sure it's likely to cure it 100% of the times, as long as you don't mind your patient dying in the process. Michel Belleville 2009/11/16 now

Re: [jQuery] DOM changes takes effects only after function is done processing

2009-11-16 Thread Michel Belleville
a callback after the time, thus truely imitating an Asynchronous call. Michel Belleville 2009/11/16 nowotny > Hello. > At first I want to say I know it's not strictly jQuery issue but there > are many Javascript skilled people here that may know best so I hope > you forgive me

Re: [jQuery] Remove a tab that contains some element

2009-11-13 Thread Michel Belleville
Bits of code would definetly help to put you on the right tracks. Can you show a little html plz ? Michel Belleville 2009/11/13 cPetru > Hello > > I created some tabs dinamically and now I need to remove one, > triggered by an element inside a tab (not tab-header, not the > cur

Re: [jQuery] Sum up of selected classes

2009-11-13 Thread Michel Belleville
I thought it was more on the lines of $(".total").val(tot) considering he said the input had the class "total". Michel Belleville 2009/11/13 Dan G. Switzer, II > palgo: > > You probably mean: > > $("#total").val(tot); > > The selector $(&

Re: [jQuery] Sum up of selected classes

2009-11-13 Thread Michel Belleville
While is a bad habit you may love to leave when you try the iterator approach : var tot = 0; $('.part').each(function() { tot += $(this).val(); }); $('.total').val(tot); And don't forget classes are accessed with a '.' (total lacked it's '.'

Re: [jQuery] Anyone work with jquery FLOT that can help me please?

2009-11-13 Thread Michel Belleville
I'm not, but I'm sure you'll get more help sooner if you actually post a question. Michel Belleville 2009/11/13 jackkit...@gmail.com > Hi, looking for someone that might be a guru with jquery flot? > > > Thanks >

Re: [jQuery] Re: css based on url wildcard

2009-11-12 Thread Michel Belleville
if using the regexp to condition execution of .addClass() ). Michel Belleville 2009/11/13 Wacko Jacko > Hi Michael, > > Thanks so much for taking the time to reply. I have very limited > Javascript knowledge (learning). Are you able to offer any more clues > to get me on track

Re: [jQuery] Getting a position and setting a absolute position relatively

2009-11-12 Thread Michel Belleville
http://docs.jquery.com/CSS/offset http://docs.jquery.com/CSS/css#namevalue Michel Belleville 2009/11/12 Atkinson, Sarah > I want to find the x,y position of an element on the page and then set > the xy position of another element relative to the first one. How do I do > this? >

Re: [jQuery] jquery tabs not on the same row! help please!

2009-11-12 Thread Michel Belleville
made obsolete by its maker...). Plus it's the standard way to do things, so sooner or later IE will make a gre... a goo... a job of it. Hope it helps. Michel Belleville 2009/11/12 Andrei Eftimie > Sorry for thread-hijacking, but why would you say that floats are > complicated? > >

Re: [jQuery] Re: Are there any specific reason why the Jquery library returns a lot of errors in the Firefoxx error console?

2009-11-12 Thread Michel Belleville
sions of IE you wish to support (although I never in my whole professional life wished I'd support IE ; anyway I wished IE would support a lot of things, so I guess that counts in a weird way). Michel Belleville

Re: [jQuery] jquery tabs not on the same row! help please!

2009-11-12 Thread Michel Belleville
Also, you'd better not use floating positioning (easier on the very short term, a lot more complicated in mid-long term). Michel Belleville 2009/11/12 Andrei Eftimie > This is a CSS issue, not really related to jQuery. > > Do something like this in your CSS file: > > /* Fo

Re: [jQuery] jquery tabs not on the same row! help please!

2009-11-12 Thread Michel Belleville
ent_inline-block_hack.htm Michel Belleville 2009/11/12 AdyLim > Hi there, > > I'm just starting to learn jquery and trying to implement tabs onto my > aspx page...The problem is that the tabs are showing up one on top of > anotherhow do i get the tabs to line up in a

Re: [jQuery] Re: Load image with an ajax preloader?

2009-11-12 Thread Michel Belleville
You may also like this nifty little trick : $('#myImage').attr('src', 'image.jpg').load(function() { alert( 'Image Loaded'); }); Apparently images does use the .load() event callback. Michel Belleville 2009/11/10 Michel Belleville > This is stra

Re: [jQuery] Re: Are there any specific reason why the Jquery library returns a lot of errors in the Firefoxx error console?

2009-11-12 Thread Michel Belleville
ced with the need to place blocks in line think "well, let's do it all with floats cause that basically what float is for, don't give me any of this inline-block nonesense, the stuff's for wuss" ?... Because if they are, well, I wouldn't bother too much about the

Re: [jQuery] $(function () {...}, iframe.contentDocument);

2009-11-11 Thread Michel Belleville
Perhaps not, considering jQuery.ready() isn't meant to be triggered when an underlying iframe added on-the-fly after the page completed is loaded. You may be interested in investigating iframe's "load" event instead. Michel Belleville 2009/11/12 Jack Bates > I want to

Re: [jQuery] Re: Are there any specific reason why the Jquery library returns a lot of errors in the Firefoxx error console?

2009-11-11 Thread Michel Belleville
Doesn't it smell a bit like a troll all of a sudden ?.. Michel Belleville

Re: [jQuery] IE Help - Code Included

2009-11-11 Thread Michel Belleville
using the trouble. Anyway, IE is always a pain, so... Michel Belleville 2009/11/11 Dave Maharaj :: WidePixels.com > I have a my content wrapped in a div. It has a "delete' button. Click > delete > will add the pre_delete class to the div your about to delete and a confirm

Re: [jQuery] Re: sliding previous/next content

2009-11-11 Thread Michel Belleville
Yeah, I though someone had to have already made such a plugin. Glad you found what you needed. Michel Belleville 2009/11/11 Marco Barbosa > Hello again! > > I've found this plugin that does exactly what I needed: > Cycle plugin - http://www.malsup.com/jquery/cycle/ &

Re: [jQuery] Animation queue on different element?

2009-11-11 Thread Michel Belleville
Use the animations complete callbacks. $('#element1').fadeIn('slow', function() { $('#element2').fadeIn('slow', function() { ... }); }); Michel Belleville 2009/11/11 badtant > Hi! > > I have the two animations below running side by side: &g

Re: [jQuery] Re: Load image with an ajax preloader?

2009-11-10 Thread Michel Belleville
This is straight JS, I never used it before and I'm not sure how cross-browser it is but this should help : http://talideon.com/weblog/2005/02/detecting-broken-images-js.cfm Michel Belleville 2009/11/10 123gotoandplay > Hi michel, > > Tx for the explanation, i am trying your sug

  1   2   >