[jQuery] Re: Is any one else experiencing serious slowdowns on their site due to 'waiting for jqueryui.com' ?

2009-05-02 Thread Alexandre Plennevaux
Hi Stasch, Be careful before you blame others of wrong deeds... unless you enjoy making a fool of yourself. Make sure you check the issue is not from your side as there is absolutely no such code in jquery, nor in jquery-ui. My guess is that you did some wild copy/pasting from the jquery-ui

[jQuery] Re: problem filtering out via parents() and :not()

2009-05-01 Thread Alexandre Plennevaux
hi Ricardo! in fact i removed all code that was out of the realm of this issue, to not make you guys read 50 lines of codes. i keep the hasClass() suggestion though ! i don't understand why parents().is(':not() does not work though. I wonder if there isn't a bug because it used to work before,

[jQuery] Re: how can I call php function in jquery ?

2009-04-02 Thread Alexandre Plennevaux
you'd send to your ajax.php script a value that it can process such as ajax.php?do=deletecommentid=5 then your ajax.php : switch($_GET['do']){ case 'delete': // check for an id, delete it break; default: // do nothing; break; } On Thu, Apr 2, 2009 at 3:11 PM, dziobacz

[jQuery] Re: must show an element if exists

2009-03-26 Thread Alexandre Plennevaux
you don't have to do that check. If the element does not exist, the show() code will not be run. On Thu, Mar 26, 2009 at 4:40 AM, shobhitsoftskills shobhitsing...@gmail.com wrote: hi, i am learning jQuery and confused about one thing.below is simple code using jQuery. !DOCTYPE HTML

[jQuery] Re: Pointless but fun jQuery experiment

2009-03-26 Thread Alexandre Plennevaux
kelvin, that's wicked ! On Thu, Mar 26, 2009 at 11:37 AM, kanna mail4ka...@gmail.com wrote: Nice effects, Kelvin!! JQuery Rocks!!! On Mar 26, 8:49 am, Nikola nik.cod...@gmail.com wrote: That was really neat... jQuery physics! On Mar 25, 11:40 pm, brian bally.z...@gmail.com wrote: I'll

[jQuery] Re: jqmodal Ajax issue

2009-03-25 Thread Alexandre Plennevaux
1/ i would make sure the div exist before initalising the jqModal, so add the jqm initialisation to your createDiv function or through a callback executed when the createDiv is done.2/ for your specific question: your check is incorrect. The good use would be to use jqmodal onShow() callback and

[jQuery] access :hover css properties of an element via jquery

2009-03-24 Thread Alexandre Plennevaux
hello! imagine i style the :hover pseudo-class of an element via css: .myitem{ background-color:green; } .myitem:hover{ background-color:red } Is it possible to retrieve the background-color property of the elemnent's :hover class via jquery? i tried the obvious : http://jsbin.com/idudi/edit

[jQuery] Re: how to load(text with the + sign in it)

2009-03-21 Thread Alexandre Plennevaux
, Alexandre Plennevaux aplennev...@gmail.com wrote: Hello, i tried that, but htmlentities(A+) echos A+, so it does not convert it. On Fri, Mar 20, 2009 at 4:06 PM, Martijn Houtman martijn.hout...@gmail.com wrote: On Mar 20, 2009, at 3:59 PM, Alexandre Plennevaux wrote: i'm doing an ajax

[jQuery] how to load(text with the + sign in it)

2009-03-20 Thread Alexandre Plennevaux
friends, i'm doing an ajax call via the load() function. The fetched string contains the + sign, and it gets removed in the resulting html. Why is that? note: i'm using php. The only way i found to have the string shown, is to urlencode() it. But i don't want to urlencode() entire texts that

[jQuery] Re: how to load(text with the + sign in it)

2009-03-20 Thread Alexandre Plennevaux
Hello, i tried that, but htmlentities(A+) echos A+, so it does not convert it. On Fri, Mar 20, 2009 at 4:06 PM, Martijn Houtman martijn.hout...@gmail.com wrote: On Mar 20, 2009, at 3:59 PM, Alexandre Plennevaux wrote: i'm doing an ajax call via the load() function. The fetched string

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-17 Thread Alexandre Plennevaux
really impressive. As soon as it gets to a stable release i'll try it out on my addressbook application. the only thing i will miss is less semantic data (no use of a table anymore). But i know all my users have javascript enabled. In that case, i guess it's not such a relevant criteria anymore.

[jQuery] Re: jScoll Pane and Hidden Divs

2009-03-13 Thread Alexandre Plennevaux
yep it's correct: you need to initialise it then hide it. you could also position it outside the view port, initialise it, hide it, then position it back in the viewport to avoid the initial display. On Fri, Mar 13, 2009 at 6:43 AM, Nic Hubbard nnhubb...@gmail.com wrote: I have a hidden div

[jQuery] Re: jScoll Pane and Hidden Divs

2009-03-13 Thread Alexandre Plennevaux
div... On Mar 13, 12:41 am, Alexandre Plennevaux aplennev...@gmail.com wrote: yep it's correct: you need to initialise it then hide it. you could also position it outside the view port, initialise it, hide it, then position it back in the viewport to avoid the initial display. On Fri, Mar 13

[jQuery] Re: How to remove li inside UL

2009-03-09 Thread Alexandre Plennevaux
this is probably because your selector returns no object. show the html code you run your script against, to be able to properly diagnose. On Mon, Mar 9, 2009 at 11:53 AM, niraj nirajke...@lucent.com wrote: Hi, I want to remove selected list items from a UL. Can i do using remove (). I get

[jQuery] ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
Hello! I would like to launch a function each time an ajax call is made, that places a loading throbber in the container in which the new content will be inserted. Typically, these will be $('#mycontainer').load() calls. I'm puzzled on how to detect the container upon calling my function.

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
yes, thanks but that does not help my specific need: what i need to know is if the ajax object stores the container in which it will load the content in a property that i can retrieve, so that the load animation goes on top of it. On Fri, Mar 6, 2009 at 11:11 AM, ryan.j

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
','http:// www.google.co.uk')load/a On Mar 6, 10:14 am, Alexandre Plennevaux aplennev...@gmail.com wrote: yes, thanks but that does not help my specific need: what i need to know is if the ajax object stores the container in which it will load the content in a property that i can retrieve, so

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
); }); }); On Fri, Mar 6, 2009 at 11:44 AM, Alexandre Plennevaux aplennev...@gmail.com wrote: thanks ryan, but i want to set it generically for all ajax calls, for instance, via ajaxStart() instead of having to attach the behaviour to every single trigger element. On Fri, Mar 6, 2009 at 11:30

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
hi there, well, i trigger the ajax request much like this: no matter what they role is, all my interface buttons finish by an action called UI.refresh({section:'projects', sortby:'time', item:'love-me'}); this function compares the sent properties to the current UI stored properties, and if

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
, or would a class identifier be sufficient? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Friday, March 06, 2009 10:31 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: ajaxStart() question hi

[jQuery] Re: ajaxStart() question

2009-03-06 Thread Alexandre Plennevaux
. that way you could just use $ (container).children(.loading) to traverse the DOM. or if for any reason you want to make them unique perhaps even build an id for each loading image based on the container's id. (eg. cont1 cont1_Img or something) On Mar 6, 4:12 pm, Alexandre Plennevaux aplennev

[jQuery] next() question

2009-03-04 Thread Alexandre Plennevaux
Hello, say i have this markup: ul class=tab-nav-menu tab-menu lia class=tab-menu-item tab-menu-item-selected href=#fragment00/a/li lia class=tab-menu-item href=#fragment11/a/li lia class=tab-menu-item href=#fragment22/a/li lia class=tab-menu-item

[jQuery] Re: next() question

2009-03-04 Thread Alexandre Plennevaux
thanks i got it to work, sort of. $('#tabs img.albumImage').each(function(index) { var $img = $(this).data('tabindex', index); $img.click(function() {

[jQuery] Re: next() question

2009-03-04 Thread Alexandre Plennevaux
wow, clever, that does the trick ! $('ul.tab-menu a.tab-menu-item-selected').parent().next().children('a.tab-menu-item').trigger('click.simplyTabs'); On Wed, Mar 4, 2009 at 4:58 PM, mkmanning michaell...@gmail.com wrote: next() finds the the unique next siblings for that element (in this

[jQuery] Re: next() question

2009-03-04 Thread Alexandre Plennevaux
Thank you Ricardo, that's an illuminating break down. On Wed, Mar 4, 2009 at 5:20 PM, ricardobeat ricardob...@gmail.com wrote: :after is used to insert generated content after an element, not to select the next element. In your code, the :after(...) is doing nothing, it reads as

[jQuery] Re: [plugin] jqModal +r14 updated

2009-03-01 Thread Alexandre Plennevaux
that's a nice upgrade Brice! On Sun, Mar 1, 2009 at 9:21 AM, Brice Burgess b...@iceburg.net wrote: Plugin Page: http://dev.iceburg.net/jquery/jqModal/ updated jqModal to +r14 Changes include smart detection of the triggering element. This allows you to call $.jqmShow() and $.jqmHide()

[jQuery] Advertising in jquery docs: normal?

2009-02-28 Thread Alexandre Plennevaux
Hi there, Since the docs are based on a wiki, i wonder if this is intended or not by the jquery team: on this page, the links chapter contains an incentive to buy a jquery book. http://docs.jquery.com/Removeclass see: For more details buy the jQuery Reference Guide here in this site

[jQuery] ui tabs : what are the only necessary CSS files ?

2009-02-23 Thread Alexandre Plennevaux
Hi, I'm trying to use ui Tabs , but i don't need all the rest of the UI distribution, yet they all come into the generated download. I'm a bit lost in all those css files. What is the bare minimum css that i absolutely need to make the ui.tabs work? Thank you, Alexandre

[jQuery] Re: ui tabs : what are the only necessary CSS files ?

2009-02-23 Thread Alexandre Plennevaux
, we'd love to answer them over here: http://groups.google.com/group/jquery-ui Thanks. - Richard On Mon, Feb 23, 2009 at 4:32 AM, Alexandre Plennevaux aplennev...@gmail.com wrote: Hi, I'm trying to use ui Tabs , but i don't need all the rest of the UI distribution, yet they all come

[jQuery] Re: Horizontal animation works on F.F. IE7. Fails on IE6

2009-02-23 Thread Alexandre Plennevaux
can you check taht for IE6, the element is not ALREADY at position left=0 ? hence no animation? On Mon, Feb 23, 2009 at 6:22 PM, ab2qik ab2...@googlemail.com wrote: Hi, Horizontal animation of an element works on F.F. IE7. It fails to work on IE6? Example: From:

[jQuery] Re: Horizontal animation works on F.F. IE7. Fails on IE6

2009-02-23 Thread Alexandre Plennevaux
in fact, i just tested it on IE6, and i can't even click on the form inputs, so i 'd assume either you disabled them, or there is a transparent div with a higher z-index that prevents from clicking it. On Mon, Feb 23, 2009 at 10:36 PM, Alexandre Plennevaux aplennev...@gmail.com wrote: can you

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Alexandre Plennevaux
, Tim Johnson t...@johnsons-web.com wrote: On Tuesday 17 February 2009, Alexandre Plennevaux wrote: i suppose that you change try specifying the dataType as script that your ajax calls expect: Taken from: http://docs.jquery.com/Ajax/jQuery.ajax dataType The type of data that you're

[jQuery] default value of an object's property

2009-02-18 Thread Alexandre Plennevaux
hi there, a quick question: i'm using an object to pass a series of variables. Sometimes, i test for a specific property, which might not exist. I can't seem to find the right way, i tried Obj.sortby = (typeof Obj.sortby == 'undefined' || Obj.sortby=='' ||Obj.sortby == null) ? 'time' :

[jQuery] Re: default value of an object's property

2009-02-18 Thread Alexandre Plennevaux
, Josh Nathanson joshnathan...@gmail.com wrote: I think this might work, give it a try: Obj.sortby = Obj.sortby || 'time'; -- Josh -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Wednesday

[jQuery] Re: default value of an object's property

2009-02-18 Thread Alexandre Plennevaux
@josh: it works superbly. Thanks a lot for this elegant solution ! On Thu, Feb 19, 2009 at 12:44 AM, Alexandre Plennevaux aplennev...@gmail.com wrote: thanks guys, so if i understand correctly, an unset property, if tested, returns false. Correct ? On Wed, Feb 18, 2009 at 11:35 PM, mkmanning

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-18 Thread Alexandre Plennevaux
} ); }); On Wed, Feb 18, 2009 at 6:31 PM, Tim Johnson t...@johnsons-web.com wrote: On Wednesday 18 February 2009, Alexandre Plennevaux wrote: you can use load, you just have to setup the ajaxSetup controlling your ajax main parameters so you set it to your liking, then you call the load

[jQuery] Re: default value of an object's property

2009-02-18 Thread Alexandre Plennevaux
thanks a lot. But why did they made it so complex? do we really need the granularity to differenciate between undefined, null, 0, and false ? On Thu, Feb 19, 2009 at 1:51 AM, RobG rg...@iinet.net.au wrote: On Feb 19, 9:44 am, Alexandre Plennevaux aplennev...@gmail.com wrote: thanks guys

[jQuery] Re: default value of an object's property

2009-02-18 Thread Alexandre Plennevaux
ok thanks a lot for all this. I'll summarize it in a blog post for my own recurring memory leaks :) On Thu, Feb 19, 2009 at 3:20 AM, RobG rg...@iinet.net.au wrote: On Feb 19, 10:56 am, Alexandre Plennevaux aplennev...@gmail.com wrote: thanks a lot. But why did they made it so complex? do

[jQuery] Re: Javascript Generated by $()load does not render

2009-02-17 Thread Alexandre Plennevaux
i suppose that you change try specifying the dataType as script that your ajax calls expect: Taken from: http://docs.jquery.com/Ajax/jQuery.ajax dataType The type of data that you're expecting back from the server. If none is specified, jQuery will intelligently pass either responseXML or

[jQuery] jquery context menu plugin: issue with find()

2009-02-16 Thread Alexandre Plennevaux
Hi there, Please save the life of those few hairs left on my skull. I've been trying to understand why this doesn't work: i'm using the jquery Context Menu (http://abeautifulsite.net/notebook/80 ) to display a context menu which options vary according to each item. So i'm using a data custom

[jQuery] Re: Custom ScrollBar

2009-02-16 Thread Alexandre Plennevaux
i personally have no issue with jscrollpane and jquery 1.3.1 _ i use it extensively so i suggest that you recheck your code. On Mon, Feb 16, 2009 at 4:29 PM, Alexandru Dinulescu alex.d.a...@gmail.com wrote: Hello. I am looking for a custom vertical scrollbar plugin. I want to put it in a

[jQuery] Re: jquery context menu plugin: issue with find()

2009-02-16 Thread Alexandre Plennevaux
hi dave, thanks for the reply. In fact, it's my fault: i was calling the command against the wrong selector set. It has to be the context menu itself, not the element which triggers the context menu. it makes sense when you know it , but i wish i wouldn't have had to look into the online example

[jQuery] Re: ui.tabs question

2009-01-22 Thread Alexandre Plennevaux
would be time savers for me. Thanks a lot alexandre On Wed, Jan 21, 2009 at 11:30 PM, Alexandre Plennevaux aplennev...@gmail.com wrote: In that case, thank you Klaus for the preventive comment. On Wed, Jan 21, 2009 at 11:25 PM, Klaus Hartl klaus.ha...@googlemail.com wrote: Sorry to hear

[jQuery] ui.tabs question

2009-01-21 Thread Alexandre Plennevaux
Hi all, I'm using ui.tabs and i would like to trigger a function when a tab is clicked, or more precisely, when a new panel gets shown. I figured from the doc i should use the select callback but that does not work... HEre is the code i use var $tabs = $(#tabbedTextContent).tabs({

[jQuery] Re: ui.tabs question

2009-01-21 Thread Alexandre Plennevaux
, ui) { //Code inside here runs when tab is selected }); On Jan 21, 10:29 am, Alexandre Plennevaux aplennev...@gmail.com wrote: Hi all, I'm using ui.tabs and i would like to trigger a function when a tab is clicked, or more precisely, when a new panel gets shown. I figured from

[jQuery] Re: ui.tabs question

2009-01-21 Thread Alexandre Plennevaux
, function(e, ui) { //Code inside here runs when tab is selected }); On Jan 21, 10:29 am, Alexandre Plennevaux aplennev...@gmail.com wrote: Hi all, I'm using ui.tabs and i would like to trigger a function when a tab is clicked, or more precisely, when a new panel gets shown. I

[jQuery] Re: ui.tabs question

2009-01-21 Thread Alexandre Plennevaux
) to use it and wonder why it wouldn't work. I'll try to quote better next time. --Klaus On 21 Jan., 22:43, Alexandre Plennevaux aplennev...@gmail.com wrote: Well, quite Frankly Klaus, i started this project 3 years ago and i used the tabs when it was but a plugin like another. The fact

[jQuery] Re: Download a file from server...

2009-01-21 Thread Alexandre Plennevaux
Well, AFAIK It HAS to be triggered by a click event on a A anchor, so, just make sure your onclick handler returns true. For the force download functionality, this writeup of mine might help you: http://www.pixeline.be/blog/2009/php-force-download-script-convert-url-to-localpath/ On Thu,

[jQuery] Re: Problems with the New API Browser

2009-01-16 Thread Alexandre Plennevaux
Well, i for one really love the new API interface _ such a much less noisy interface than the docs.jquery.com interface! clearer, snappier. it turns out i don't use the navigation menu much, i use the filter box mostly. that's probably why i'm not so annoyed by its limits. really liked the

[jQuery] feature suggestion: .attr() without params returns the whole list of attributes

2009-01-06 Thread Alexandre Plennevaux
I would like to suggest a feature to add to jquery attributes commands: I 'm using custom attributes to store UI states. At some point i would find it handy to be able to just console.log($(this).attr() ) to see all the attributes and their value. Not a groundbreaking change, but a nice

[jQuery] Re: feature suggestion: .attr() without params returns the whole list of attributes

2009-01-06 Thread Alexandre Plennevaux
: You can't see all data saved either.. On Jan 6, 12:01 pm, Balazs Endresz balazs.endr...@gmail.com wrote: Why not use $(el).data() for that? On Jan 6, 12:57 pm, Alexandre Plennevaux aplennev...@gmail.com wrote: I would like to suggest a feature to add to jquery attributes commands: I 'm

[jQuery] Re: example on site, have question

2009-01-06 Thread Alexandre Plennevaux
Basically, what this snippet does, is 1/ adding a DIV element at the end of the BODY element; 2/ counting the new amount of DIV 3/ printing the string there are XX dvis in every SPAN element available in the DOM 4/ triggering the onclick() event so the script runs once on page ready. So the

[jQuery] Re: Call object method onclick

2009-01-04 Thread Alexandre Plennevaux
this worked for me: http://jsbin.com/utahi On Sun, Jan 4, 2009 at 5:31 PM, fatslags2...@gmail.com fatslags2...@googlemail.com wrote: function Viewer() { }; Viewer.prototype.constructor = Viewer; Viewer.prototype = { getFullAreaId: function() { return this._fullAreaId; },

[jQuery] animations staggering when $().load called _ advise please

2009-01-04 Thread Alexandre Plennevaux
Hello friends, I have a dropdown menu that animates horziontally each time you click on one its links. Some of them reveal a submenu, others load some html via ajax ($(container).load();) and others do both. I notice that animations tend to stagger when ajax calls are under progress . What

[jQuery] event binding issue

2009-01-03 Thread Alexandre Plennevaux
hello friends, i'm injecting a menu ( UL LI A markup) and binding each A anchor a click event, but the event fails to trigger. Can you explain me what i'm dooing wrong? here is the code sample: $('a' + linkText + '/a').appendTo($dsanchors).attr({ 'href': '#' + index,

[jQuery] Re: event binding issue

2009-01-03 Thread Alexandre Plennevaux
[mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Saturday, January 03, 2009 2:20 PM To: Jquery-en Subject: [jQuery] event binding issue hello friends, i'm injecting a menu ( UL LI A markup) and binding each A anchor a click event, but the event fails to trigger. Can

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread Alexandre Plennevaux
it is that they don't call the function as a method of any object at all, and by default this is set to the global object. In any case, terminology nitpicks aside, your code is the right way to solve the problem! :-) -Mike From: Alexandre Plennevaux hi donb, according to a lengthy discussion we had

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread Alexandre Plennevaux
(); } .. I find it much cleaner (the non-stripped version of rescope() allows for passing an ambigious number of parameters to the rescope'd function) and easier to work with when I'm explicitly setting the execution scope. Regards, Peter Higgins On Fri, Jan 2, 2009 at 8:06 PM, Alexandre Plennevaux

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-02 Thread Alexandre Plennevaux
a different global object, but I thought most of the JavaScript semantics were similar except for the ActionScript extensions. I haven't worked with ActionScript so I don't know. -Mike From: Alexandre Plennevaux Michael, did you know that i 'm becoming a big fan of your explanations? if i

[jQuery] Re: A beautiful diagram

2009-01-01 Thread Alexandre Plennevaux
wow, that's an amazing library, some demos are really impressive! i like the polar clock for instance: http://raphaeljs.com/polar-clock.html thanks for the link ricardo ! On Wed, Dec 31, 2008 at 10:50 PM, Ricardo Tomasi ricardob...@gmail.com wrote: raphael js might be of help: raphaeljs.com

[jQuery] Re: Unable to populate my div in Firefox

2009-01-01 Thread Alexandre Plennevaux
try this: function doData(p_id,cat,cat_id,first,last){ var url = doData.php?p_id=+ p_id +cat=+ cat +cat_id= + cat_id; $('#doContainer').empty().load(url,function(htmlData,result)); if(result==success){ $(this).html(htmlData); }else{ $(this).html(ERROR LOADING +url); } } On Thu, Jan 1, 2009 at

[jQuery] setInterval(obj.method,200) problem: scoping?

2009-01-01 Thread Alexandre Plennevaux
Hello mates, i have an object datascape which among other things, contains a property storing the mouse position, and a function that uses that property. Inside another method i var datascape = { 'mouseX': 0, 'myInterval': 0, 'create': function(){

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-01 Thread Alexandre Plennevaux
falconwatc...@comcast.net wrote: You should change 'move' to move (remove apostrophes). On Jan 1, 9:01 am, Alexandre Plennevaux aplennev...@gmail.com wrote: Hello mates, i have an object datascape which among other things, contains a property storing the mouse position, and a function that uses

[jQuery] Re: setInterval(obj.method,200) problem: scoping?

2009-01-01 Thread Alexandre Plennevaux
hi Dave, thanks a lot for the feedback. The reason i'm not using the dom but rather more conceptual objects is because the application is quite complex, and its easier for my small brain to keep track of all variables as object properties. On Fri, Jan 2, 2009 at 2:02 AM, Dave Methvin

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Alexandre Plennevaux
Kean and especially Michael, Thank you for sharing this very useful knowledge bit ! This must be the most insightful thread in a while :) Alexandre On Wed, Dec 31, 2008 at 8:49 AM, Kean shenan...@gmail.com wrote: Alexandre, Another word of caution. Do choose your labels carefully. Avoid

[jQuery] Re: Setting the request header contentType

2008-12-31 Thread Alexandre Plennevaux
did you try playing with the $.ajax scriptCharset option ? see: http://docs.jquery.com/Ajax/jQuery.ajax On Wed, Dec 31, 2008 at 1:27 PM, AdrianMG yens...@gmail.com wrote: I am not pretty sure but I think you can work with UTF8 only in AJAX, but I recommend you work with UTF8 always On Dec

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-31 Thread Alexandre Plennevaux
friends, following what i learned in this post i'm busy rewriting my object. i have a specific question. in my old code i would have something like: var datascape = new Object(); datascape.ini = function(){ datascape.availableWidth = $(window).width(); } }; can i rewrite it like this: var

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-30 Thread Alexandre Plennevaux
, 2008 at 1:28 PM, Klaus Hartl klaus.ha...@googlemail.com wrote: On 30 Dez., 08:45, Alexandre Plennevaux aplennev...@gmail.com wrote: JavaScript enclosures? i think it has to do with encapsulating your code inside a function so that all vars are inside the function's scope, so not cluttering

[jQuery] selector question: how many ul above $(this) ?

2008-12-30 Thread Alexandre Plennevaux
hello mates, i have a multiple level dropdown menu, the markup is an unordered list of the likes: ul lia href=#me/a ullia href=#me/a/li lia href=#me/a ullia href=#me/a/li lia href=#me/a/li

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-30 Thread Alexandre Plennevaux
an article about closure causing leakshttp://www.javascriptkit.com/javatutors/closuresleak/index.shtml On Dec 30, 4:38 am, Alexandre Plennevaux aplennev...@gmail.com wrote: Klaus, you got me: frankly i have no real idea what is the purpose of enclosure. That's abstract art to me. i just

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-30 Thread Alexandre Plennevaux
datascape2 = []; On Dec 30, 1:27 pm, Alexandre Plennevaux aplennev...@gmail.com wrote: wair, you're all scarrying me: i often do things like this: var datascape = new Object(); datascape.el = $('#datascape'); datascape.ini = function(){ datascape.el.click(function(){ dothis

[jQuery] Re: Hiding a div with content loaded via .load function

2008-12-29 Thread Alexandre Plennevaux
you have to make sure the DOM element (i.e. your close button) is available when you define your close() function. or use the livequery plugin. or use event delegation. On Mon, Dec 29, 2008 at 4:09 AM, amnesia440 spaceman...@gmail.com wrote: Hello. I am trying to load a login form into the

[jQuery] Re: Getting a menu item Li to do 2 things at once? onclick AND regular href trigger?

2008-12-29 Thread Alexandre Plennevaux
really? I thought one had to namespace an event for it not to overwrite previously set behaviours. $('a').bind('click.scroll',function(){ scrollTo(moon); }); $('a').bind('click.alert1',function(){ alert('Me works too'); }); }); On Mon, Dec 29, 2008 at 5:06 PM, Ricardo Tomasi

[jQuery] loading a DOM fragment via ajax

2008-12-29 Thread Alexandre Plennevaux
Hello Friends, say i have a html file containing a #viewPort div, with a series of divs each containing an h4 tag. If the file was not external, i would simply select what i need like this: $('#dsViewport h3'); Now, it is an external file, so my question is: is it possible to load this file

[jQuery] Re: HOW: jQuery AJAX to replace iFRAME

2008-12-29 Thread Alexandre Plennevaux
wrote: I'm trying to do the same thing, the code you suggested works, but the text on the page changes to what's in the html file I link to but then the browser also moves to the page, how do i stop this? On Dec 22, 1:51 pm, Alexandre Plennevaux aplennev...@gmail.com wrote: say the container

[jQuery] Re: loading a DOM fragment via ajax

2008-12-29 Thread Alexandre Plennevaux
thank you Mike ! Now, i don't actually want to display the loaded content, just need to traverse it, and generate a submenu (one a element per h3 element found, using the h3 element attributes). Can i actually load it inside a variable? On Mon, Dec 29, 2008 at 10:47 PM, Mike Alsup

[jQuery] Re: loading a DOM fragment via ajax

2008-12-29 Thread Alexandre Plennevaux
thanks it works indeed. one thing though: apparently, the load() call does load the entire html spitted by the server side script or html page, the selector is actually just trimming the loaded content. So it's not a reduction of the amount of data loaded, just a welcome help to reduce further

[jQuery] load() callback only performs once every two click

2008-12-29 Thread Alexandre Plennevaux
Strange... i'm loading html inside a div, and have this callback: $('#datascape').show().load('index.php?splash=labau',{}, function(html, result) { $('#datascape').css({background: 'red'}); }); yet, the callback

[jQuery] Re: load() callback only performs once every two click

2008-12-29 Thread Alexandre Plennevaux
visually if the load() was successful because on the 2nd time the background is already red. On Dec 29, 9:07 pm, Alexandre Plennevaux aplennev...@gmail.com wrote: Strange... i'm loading html inside a div, and have this callback: $('#datascape').show().load('index.php?splash=labau',{}, function

[jQuery] Re: HELP: Screening questions for JavaScript developer candidates:

2008-12-29 Thread Alexandre Plennevaux
JavaScript enclosures? i think it has to do with encapsulating your code inside a function so that all vars are inside the function's scope, so not cluttering the global namespace. This, to avoid memory leak. something the likes: (function(){ /// your code goes here })(jquery); I have

[jQuery] Re: Code not working in IE but is working in FF

2008-12-28 Thread Alexandre Plennevaux
, 10:32, Alexandre Plennevaux aplennev...@gmail.com wrote: Maybe try a named function instead of an anonymous one ? so avoiding arguments.callee by using your function name instead? On Sun, Dec 28, 2008 at 2:03 AM, Althalos ca...@ekdahlproduction.com wrote: Nope, I'm sorry but that doesn't

[jQuery] Re: Please help with navigation script

2008-12-28 Thread Alexandre Plennevaux
hi pranshu, it's hard to tell exactly, you could optimize a bit more your code, and use variable caching for example. In this regard, I find this post to be really helpful: http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips.aspx anyway, does the problem occur if you comment

[jQuery] Re: Code not working in IE but is working in FF

2008-12-27 Thread Alexandre Plennevaux
really not sure, but maybe try A/ 1- (step/1) instead of 1-step/1 B/ $(#slogan).css('opacity',0); instead of $(#slogan).css('opacity','0'); On Sun, Dec 28, 2008 at 1:04 AM, Althalos ca...@ekdahlproduction.com wrote: I posted something similarly before but I posted wrong code.

[jQuery] Re: question

2008-12-23 Thread Alexandre Plennevaux
did you try listing the arguments array within each detected function ? On Tue, Dec 23, 2008 at 1:18 PM, Dirceu Barquette dirceu.barque...@gmail.com wrote: Thanks. You are right! But, do you have any suggest? Thank you! Dirceu Barquette 2008/12/23 MorningZ morni...@gmail.com Advice:

[jQuery] Re: JQuery Spell Checker plugin

2008-12-23 Thread Alexandre Plennevaux
even simpler: right-click view source. http://brandonaaron.net/jquery/plugins/spellcheck/jquery.spellcheck.js On Tue, Dec 23, 2008 at 5:12 PM, MorningZ morni...@gmail.com wrote: Any idea how to get this plugin - Load up Firefox and Firebug (which you should have as a JavaScript

[jQuery] Re: I wrote a YUI Multi FIle Compression Utility

2008-12-23 Thread Alexandre Plennevaux
it sounds very interesting, but i'm quite puzzled on how to do it correctly. i'm interested in reducing the load time of my websites but i don't really master these compression logics. I would have assumed i'd have to point to the html file loading the js+css files but your app seems to look for

[jQuery] Re: I wrote a YUI Multi FIle Compression Utility

2008-12-23 Thread Alexandre Plennevaux
of your code (line breaks, spaces, comments), optimizes private functions/variables, and returns a non-encoded, single line output. On Dec 23, 12:03 pm, Alexandre Plennevaux aplennev...@gmail.com wrote: it sounds very interesting, but i'm quite puzzled on how to do it correctly. i'm interested

[jQuery] Re: jqModal ajax question

2008-12-22 Thread Alexandre Plennevaux
simplest way is to use it like this: html : a href=page/to/load/loadinfo.php?var=valfoo=bar class=jqModalLoad the page/a then initiate your jqmodal like this: javascript: $(document).ready(function(){ $(.jqm({trigger: 'a.jqModal',ajax:'@href'}); }); HTH alexandre On Mon, Dec 22, 2008 at

[jQuery] Re: HOW: jQuery AJAX to replace iFRAME

2008-12-22 Thread Alexandre Plennevaux
say the container that will display the loaded content, i.e, your iframe becomes div id=menu a href=page/to/load.html class=ajaxLinkclick me/a a href=page/to/load2.html class=ajaxLinkclick me 2/a div id=ihateiframes pthis will be replaced/p /div your javascript will be:

[jQuery] Re: Bizarre rendering issue (FF 3, IE 6)

2008-12-22 Thread Alexandre Plennevaux
jared, your website is supernice and promising, but i for one don't understand anything about your problem description. i think either you're lacking sleep or you wrote too fast :) Can you rephrase please, for people that don't yet know your website internals (or lack sleep themselves ) ?can you

[jQuery] Re: Masked Input Plugin 1.2.1 Released

2008-12-22 Thread Alexandre Plennevaux
Josh, these are very cool additions, love the New mask syntax option '?' and the improved usability. Thanks for your hard work! just noticed in the demo that if i don't fill the input completely and go to another input, it removes the entered value entirely as soon as the input loses focus.

[jQuery] Re: Bizarre rendering issue (FF 3, IE 6)

2008-12-22 Thread Alexandre Plennevaux
in the HTML inspector. Right-click on the what we do link, select Inspect Element, then click on the about us link. See the current goes away? It should stay, and I can't figure out why it's not working. Thanks! Jared Alexandre Plennevaux-2 wrote: jared, your website is supernice

[jQuery] Re: Masked Input Plugin 1.2.1 Released

2008-12-22 Thread Alexandre Plennevaux
Jörn On Mon, Dec 22, 2008 at 3:59 PM, Alexandre Plennevaux aplennev...@gmail.com wrote: Josh, these are very cool additions, love the New mask syntax option '?' and the improved usability. Thanks for your hard work! just noticed in the demo that if i don't fill the input completely

[jQuery] Re: Help Test jQuery 1.3 Beta 1

2008-12-22 Thread Alexandre Plennevaux
will sure do right now, as i'm about to release another experiment-in-webdesign, end of january, and will need the best javascript library to support it. Thanks a lot ! On Mon, Dec 22, 2008 at 6:49 PM, John Resig jere...@gmail.com wrote: Hi Everyone - The jQuery dev team just got jQuery 1.3

[jQuery] [SITE] tunerec.com

2008-12-19 Thread Alexandre Plennevaux
just read about and tried this amazing online music player. snappy interface. Subscribe to the beta to check it out. Gets better after a few days but it is really promising and the interface is slick! http://tunerec.com/ alexandre

[jQuery] Re: Creating an OS Web Interface in jQuery (Part I)

2008-12-17 Thread Alexandre Plennevaux
: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Alexandre Plennevaux Sent: Wednesday, December 17, 2008 10:18 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Creating an OS Web Interface in jQuery (Part I) ... and we will continue to read and comment

[jQuery] Re: Creating an OS Web Interface in jQuery (Part I)

2008-12-17 Thread Alexandre Plennevaux
... and we will continue to read and comment on them, Adrian! Thanks a lot for sharing ! On Wed, Dec 17, 2008 at 4:09 PM, AdrianMG yens...@gmail.com wrote: One more thing! Thanks you for your opinions I will try to improve my english and tutorials to give more info and better explanations to

[jQuery] Re: jQuery and PHP form problem

2008-12-16 Thread Alexandre Plennevaux
especially with available tools like jsbin ! http://jsbin.com/ if the google group app would allow it, i would include an invitation to use it in my signature but that 's not possible or is it? On Tue, Dec 16, 2008 at 12:29 PM, Mike Alsup mal...@gmail.com wrote: I GOT IT. How to explain

[jQuery] Re: Creating an OS Web Interface in jQuery (Part I)

2008-12-16 Thread Alexandre Plennevaux
yup i must say i am also doubtful on the actual tutorial. I'm trying to be constructive so please don't take offense of my personal remark: This is more of a demo, it's not really explaining how to do it. For instance, a tutorial should explain the rationale of a web OS interface. AFAIK that's

[jQuery] Re: Creating an OS Web Interface in jQuery (Part I)

2008-12-16 Thread Alexandre Plennevaux
i meant AdrianMG, not Liam ! On Tue, Dec 16, 2008 at 8:43 PM, Alexandre Plennevaux aplennev...@gmail.com wrote: yup i must say i am also doubtful on the actual tutorial. I'm trying to be constructive so please don't take offense of my personal remark: This is more of a demo, it's not really

  1   2   3   4   5   6   7   >