[jQuery] Loading JSON Data from PHP

2006-09-13 Thread Clodelio Delfino
Hi All, Good day, how do I load a JSON output from PHP and display it using ajax???, i've followed the sample from visualjquery.com on using ajax but it data thrown was XMLHttpRequest message... I think i'm doing it all wrong... ;( expected display: table tr tdres1/td tdres1/td /tr tr tdres2/td

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Klaus Hartl
Meece, Clifford T schrieb: I've just started uising the tabs plugin and like it a lot. I was wondering, though, how would I implement it if I want the current open tab to close itself when clicked again? This means that there may not be any tabs open at a given time. I think that'll be

[jQuery] interface slider

2006-09-13 Thread Will Jessup
In safari clicking on the scrollbar in the slider will make it shift left and do weird z-index stuff. Anyone else having this problem? Will ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Klaus Hartl
With autoHeight, the slide effect is pretty irritating without a static container. The same applies to fade, a static border would help with a better usability. I'm also planning to make the whole demo look better and wanted to ask a friend of mine who is designer. It's indeed a little raw

[jQuery] subModal (was: ThickBox - closing without using the mouse?)

2006-09-13 Thread gilles
This had been added in 2.1, which was retracted because it had too many issues. I suggest you don't put your suggestion in the code! Basicly you unbind all keypress events assigned to the document, even the ones assigned before loading the thickbox. *You can take a look at the keypress part

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Klaus Hartl
I (think I) have fixed the height issues*. The containers now remain fully flexible, even after an animation. That means you can resize the window and/or the font size without ever overflowing content (except you do that in the middle of an animation...). Would be very nice, if you could

[jQuery] jXs plug-in updated

2006-09-13 Thread kenton.simpson
I recently updated jXs to support rev 249. I also internalize the DOM creation ,and add bug support for dynamic radio box's in IE. I have noticed a similar problem with multiple selects, but have not had a chance to fix that yet. -- View this message in context:

[jQuery] Bugs in idrag/idrop

2006-09-13 Thread Mark Gibson
Hi Stefan, I've just downloaded the latest Interface today, it seems to be throwing up a few errors in idrag.js: During a drag operation: newCoords has no properties, line 340: if (newCoords.constructor == Object) { After a drag operation: elm is not defined, line 287:

Re: [jQuery] toggleClass hoverClass pressClass...

2006-09-13 Thread Enrique Meléndez
I was wrong, toogleClass has nothing to do with click events, it basically fires the function inmediatly. Enrique Meléndez Estrada ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jXs plug-in updated

2006-09-13 Thread Sam Collett
On 13/09/06, Dylan Verheul [EMAIL PROTECTED] wrote: url? I assume this is what he is referring to: http://www.brainknot.com/code/jxs.htm On 9/13/06, kenton.simpson [EMAIL PROTECTED] wrote: I recently updated jXs to support rev 249. I also internalize the DOM creation ,and add bug

[jQuery] Thickbox: Smoooooth scrolling with fixed positioning

2006-09-13 Thread Klaus Hartl
Hi all, I worked a bit on the thickbox script to improve it. What bothered me, was that when scrolling the window the thickbox window is moved to stay in the center, but that happens not smooth at all. So I changed it to use fixed positioning. 1. Changed CSS: #TB_window { position:

Re: [jQuery] jXs plug-in updated

2006-09-13 Thread kenton.simpson
Sorry, Sam is correct the link is http://www.brainknot.com/code/jxs.htm http://www.brainknot.com/code/jxs.htm . It was a very late when I posted. I forgot to include the link. -- View this message in context: http://www.nabble.com/jXs-plug-in-updated-tf2264213.html#a6284586 Sent from the

Re: [jQuery] Thickbox: Smoooooth scrolling with fixed positioning

2006-09-13 Thread Klaus Hartl
2. Removed the scroll event handler: $(window).scroll(TB_position); You don't need no resize event handler as well: $(window).resize(TB_position); -- Klaus ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] Serialize()

2006-09-13 Thread Matthew Bidwell
The serialize() function is included in the api documentation, however it seems to be in the forms.js plugin. Is that correct? If so, what determines which plug-ins are included in the api documentation and is there an easy way to find the location of functions that are not part of the core within

Re: [jQuery] Bug?

2006-09-13 Thread Matthew Bidwell
I am getting the same error using load in IE. The alternative method you proposed corrected the problem. Matt[EMAIL PROTECTED] wrote: -To: "jQuery Discussion." discuss@jquery.comFrom: "John Resig" [EMAIL PROTECTED]Sent by: [EMAIL PROTECTED]Date: 08/13/2006 11:58AMSubject: Re: [jQuery] Bug? Can

Re: [jQuery] Bug?

2006-09-13 Thread Christof Donat
Hi, FONT face=Default Sans Serif,Verdana,Arial,Helvetica,sans-serif size=2DIVI am getting the same error using load in IE.nbsp; The alternative method you proposed corrected the problem.nbsp; BRDIVBRMattnbsp;BRDIVBR/DIVFONT color=#990099[EMAIL PROTECTED] wrote: -BRBR/FONTBLOCKQUOTE

[jQuery] IE hate: Replacing background image

2006-09-13 Thread Onno Timmerman
The first background is defined in the CSS layout called #tabs One click I need the browser to load a new background image. $(div#tabs).css(background-image, url(\./images/tabs/ + this.id + .gif\)); this.id == the name of the background image. This works in all browsers known to me except IE.

Re: [jQuery] IE hate: Replacing background image

2006-09-13 Thread Klaus Hartl
Onno Timmerman schrieb: The first background is defined in the CSS layout called #tabs One click I need the browser to load a new background image. $(div#tabs).css(background-image, url(\./images/tabs/ + this.id + .gif\)); this.id == the name of the background image. This works in

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Yehuda Katz
A cookie handler.On 9/12/06, Rey Bango [EMAIL PROTECTED] wrote: What would you like to see in a plugin?Rey...Yehuda Katz wrote: Would def. make a nice plugin. On 9/11/06, *Rey Bango* [EMAIL PROTECTED] mailto: [EMAIL PROTECTED] wrote: Does JQuery have any methods specific to working with cookies

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Sam Collett
On 12/09/06, Rey Bango [EMAIL PROTECTED] wrote: Does JQuery have any methods specific to working with cookies (eg: set, get, et al) or should I just one of the many premade functions out in the wild? Rey... Do cookies really have much to do with jQuery? Unless a plugin is needed to attach

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Yehuda Katz
It doesn't have to do with DOM Scripting, but then, neither does $.ajax. It's a commonly enough required feature that obviously doesn't belong in the core, but would be nice to tack on to an existing jQuery installation as a plugin without worrying about incompatibilities. -- YehudaOn 9/13/06, Sam

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Klaus Hartl
Yehuda Katz schrieb: It doesn't have to do with DOM Scripting, but then, neither does $.ajax. It's a commonly enough required feature that obviously doesn't belong in the core, but would be nice to tack on to an existing jQuery installation as a plugin without worrying about

[jQuery] jQBrowser 0.2 woes

2006-09-13 Thread aedmonds
I recently noticed that a new version of jQBrowser was available and I like the new features but it appears to be breaking jQuery all over the place when I try and use it with jQuery Rev 249. It also conflicts with Interface as it uses some checks for MS IE. Basically it make Interface think that

Re: [jQuery] jQBrowser 0.2 woes

2006-09-13 Thread Dave Cardwell
Hi Aaron. I've received a few emails from people asking to change back to using $.browser.msie, and as such the 1.0 release will do so. In the meantime I'd recommend either switching back to 0.1, or the following change to the source *should* work (untested): Switch the line: $.browser =

Re: [jQuery] jQBrowser 0.2 woes

2006-09-13 Thread Christof Donat
Hi, Has anyone else had this problem? I would imagine it has to do with the change of object properties ($.browser.msie) to methods ($.browser.msie()). pretty shure. @dave: I don't understand why you whant to use functions anyway here. I suggest you simply use your private object as public

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Meece, Clifford T
I took a stab at implementing some of these changes. Right now I have just modified the code to suit my case. It would be better, of course, to define an option like SelfToggle, or AllowNone, which would allow both behaviors. I have a site that is work in progress at :

Re: [jQuery] jQBrowser 0.2 woes

2006-09-13 Thread Dave Cardwell
Actually thinking again, delete from var public = { right down to (and including) $.browser = public;, and after the var private = {} block, add $.browser = private;. That should work better. Best wishes, Dave Cardwell ~ http://davecardwell.co.uk/ Dave Cardwell wrote: Hi Aaron. I've

Re: [jQuery] jQBrowser 0.2 woes

2006-09-13 Thread Dave Cardwell
I use a public interface to prevent direct access to what should be private state inside the object. Upon recent reflection, with JavaScript the added complexity probably just isn't worth it, so I will be modifying the plugin to suit in the near future. Best wishes, Dave Cardwell ~

[jQuery] Fotonotes into jQuery plugin?

2006-09-13 Thread Stefan Nagtegaal
Did anyone considered converting fotonotes.js (http://fotonotes.net/ fnclientlib/js/fnclient.js) for the purpose of adding notes to images (like flickr could do) to jQuery? You can see the porject and it's usage here: http://fotonotes.net/ I hope someone will be enthousiast and convert it

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Meece, Clifford T
Ok, I have fixed it so none are open on initial load, so now the last think is for the background shading to go away when you close a tab. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Meece, Clifford T Sent: Wednesday, September 13, 2006 12:32 PM To:

Re: [jQuery] Thickbox: Making Thickbox a top level project?

2006-09-13 Thread Jörn Zaefferer
Klaus Hartl schrieb: I hope, this will go into the next Thickbox version. Have fun! I wonder if it would be a good idea to make Thickbox an official plugin, hosting the development on jQuery.com (the demo is there already). It seems like Cody is overwhelmed with feedback and questions:

[jQuery] jTip

2006-09-13 Thread Yehuda Katz
Is there a version of jTip that works with jQuery 1.0?-- Yehuda KatzWeb Developer(ph)718.877.1325 ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Thickbox: Making Thickbox a top level project?

2006-09-13 Thread Yehuda Katz
I agree. We need an official plugin repository where we can stick top-level plugins.-- YehudaOn 9/13/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:Klaus Hartl schrieb: I hope, this will go into the next Thickbox version. Have fun! I wonder if it would be a good idea to make Thickbox an

Re: [jQuery] Thickbox: Making Thickbox a top level project?

2006-09-13 Thread Yehuda Katz
As a side note, I've been working on a small app for Visual jQuery where developers can add new plugins (with demos), and users could then test and report the results on different platforms.It would go something like this: 1) Developer uploads a JS file and HTML code with a demo in it.2) User

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Aaron Heimlich
I never really worked with cookies, therefore I'm not sure if those methods would have any practical use at all.Cookies are limited to 4KB of data I believe, so they might be useful for short pieces of text like user preferences and such. ___ jQuery

Re: [jQuery] Tabs plugin update: autoheight, effects

2006-09-13 Thread Meece, Clifford T
Ok, the tab was remaining 'grey' because the CSS selector :focus. If I remove the :focus from the css directive, it works fine. However, that makes it difficult for tab navigation. Is there a handy jquery function to remove focus from an element? Like a .blur() function?

Re: [jQuery] Loading JSON Data from PHP

2006-09-13 Thread Matt Stith
Do you have a test page we could see?On 9/13/06, Clodelio Delfino [EMAIL PROTECTED] wrote:Hi All,Good day, how do I load a JSON output from PHP and display it using ajax???, i've followed the sample from visualjquery.com on using ajaxbut it data thrown was XMLHttpRequest message... I think i'm

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Dave Methvin
Under RFC 2695, a user-agent (such as a Web browser) should provide at least 4096 bytes per cookie - so the 4KB is a minimum for storage - not a maximum. See: http://www.faqs.org/rfcs/rfc2965 (section 5.3). Yes, but SHOULD is not MUST. http://rfc.net/rfc2119.html All modern browsers do

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Blair Mitchelmore
I think it would be best if we kept this in the typically succinct syntax of jQuery. such as .html() setting and getting depending on the attributes. This is a simple version that just consolidates your functions but... $.cookie = function(name, value, expires, path, domain, secure) { if

[jQuery] Autocompleter Safari bug

2006-09-13 Thread Geoff Knutzen
In Safari, pressing return in the autocomplete dropdown will submit the form that the autocompleter is in. The preventDefault method is not working some reason. This is working fine (the form is not submitted) in IE and FF. Wondering if this is a bug in autocomplete or in jquery? I am not

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Aaron Heimlich
Under RFC 2695, a user-agent (such as a Web browser) should provide "at least 4096 bytes per cookie" – so the 4KB is a minimum for storage – not a maximum. See: http://www.faqs.org/rfcs/rfc2965 (section 5.3).Well, that's news to me. Thanks for the clarification.

Re: [jQuery] Cookie handling in JQuery

2006-09-13 Thread Geoff Knutzen
But remember that it is very easy for the user to turn off or suppress cookies. My numbers are showing around 1% without cookies. (~.1% have no javascript, but I think we are skewed a bit on that). I would rely on javascript before relying on a cookie. But that is just me -Original

Re: [jQuery] Loading JSON Data from PHP

2006-09-13 Thread Clodelio Delfino
Thanks Matt for the reply, anyway...i've replaced the JSON output with XML and works fine now... Cheers, cdelfino Matt Stith wrote: Do you have a test page we could see? On 9/13/06, *Clodelio Delfino* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi All, Good day, how do I

Re: [jQuery] Thickbox: Making Thickbox a top level project?

2006-09-13 Thread limodou
On 9/14/06, Yehuda Katz [EMAIL PROTECTED] wrote: I agree. We need an official plugin repository where we can stick top-level plugins. -- Yehuda I agree too. -- I like python! My Blog: http://www.donews.net/limodou UliPad Site: http://wiki.woodpecker.org.cn/moin/UliPad UliPad Maillist:

Re: [jQuery] Thickbox: Making Thickbox a top level project?

2006-09-13 Thread limodou
On 9/14/06, Yehuda Katz [EMAIL PROTECTED] wrote: As a side note, I've been working on a small app for Visual jQuery where developers can add new plugins (with demos), and users could then test and report the results on different platforms. It would go something like this: 1) Developer

[jQuery] iSortable iSlider help

2006-09-13 Thread Will Jessup
Hello, I'm doing a script that requires combining iSortable, iSlider and others into one over-done interface. Anyway, There are a few bugs I havn't been able to solve so i'm wondering if anyone can point me in the right direction or help me out (paid work).

Re: [jQuery] Autocompleter Safari bug

2006-09-13 Thread j_birch
Is this the old case of Safari needing 'return false' as it doesn't (didn't?) implement preventDefault correctly? I am not familiar with the plugin code and am no javascript expert anyway so sorry if I am way off, but I thought it may be relevant for you to look into. Joel. Quoting Geoff Knutzen

[jQuery] Sending JSON from client to server

2006-09-13 Thread Chris Domigan
Hi thereI'm just getting my head around the whole JSON thing, so please excuse my ignorance. For a while now I've been successfully fetching JSON data from the server via ajax and using it in jquery. My question regards sending data from the client to the server. The $.post and $.get methods are

[jQuery] Snippet: serialize

2006-09-13 Thread limodou
I found that there is a serialize function in API document, but it doesnot be included in 1.0.1 yet, and the basic function is param. But param should be used as: $.param($('input,select,textarea')) but the result seems not correct, I don't know why. And I made this snippet to handy

[jQuery] Jquery code contaiened in external files

2006-09-13 Thread bubulubueno
Hi, well I have been using Jquery for a project but I stick with a problem specially with IE 6. Well the problem is this.. I have some source code that I got from an ajax call into a main page. it contains jquery code and html. With FF all works fine... but IE6 seems that it Doesn't register

[jQuery] API Bug - PREV

2006-09-13 Thread Glen Lipka
In the API under PREV() it uses the syntax PREVIOUS in the example.Glen ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] code ideas: if mouseover for 5 seconds then do this else do nothi ng

2006-09-13 Thread Daniel Ruiz
Is there any way in jquery to do something like this? if mouseover for 2 seconds then do this, else do nothing Basically the client I have doesnt want to use onclick to open a hidden navigation but they also dont like the mouseover because a user may move over it by accident. What they

[jQuery] Is this a bug in XPath support?

2006-09-13 Thread Nigel
This doesn't work: $([EMAIL PROTECTED]'bea-portal-layout-placeholder'][3]) I had to do it like this: $([EMAIL PROTECTED]'bea-portal-layout-placeholder']:eq(3)) ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

[jQuery] anyone got Date Picker plugin(downloaded) ?

2006-09-13 Thread Michael Grosser
The original Date-Picker page seems to be down (kelvinluck.com ) and i cant find it via wayback. Can anyone send me the plugin or host the file somewhere ?(maybe put it into jquery svn ?) thanks in advance mfg MG ___ jQuery mailing list

[jQuery] Adding tabs dynamically with plugin

2006-09-13 Thread bmckenzie
I'm new to jquery -- quite impressed. I'm trying to convert a page (built with prototype and scriptaculous) where clicking on a link adds a navigation tab with content fetched via Ajax. I can add a tab ok with (using dom creator plugin) . But the tabs plugin (by Klaus Hartl) seems to be set

[jQuery] jquery suckerfish drop down

2006-09-13 Thread Kevin Quillen
Im attempting to use the Jquery suckerfish menu, which works fantastically with text. However, I am trying to use images for each parent li, and in IE images are not showing up. Is this not yet working in IE? It seems fishy in Firefox as well. Perhaps I am not looking at the css correctly,

Re: [jQuery] Strange slideDown problem with nested lists

2006-09-13 Thread msams
wycats wrote: The problem I had was replicated in the nested list code used by http://be.twixt.us/jquery/treeView.php so it's not a markup-related issue. ... I'm not 100% sure what's causing the problem, but I'm pretty sure it has something to do with the new implementation of css and

Re: [jQuery] Sending JSON from client to server

2006-09-13 Thread Will Jessup
Chris , Sure - just go here http://www.json.org/ and get the JSON library for whatever language you are using. It will take an incoming JSON object and translate it to an array in your language of choice. you can then act on it with (say php) do some stuff, and take your new array (generated

Re: [jQuery] Is this a bug in XPath support?

2006-09-13 Thread limodou
On 9/13/06, Nigel [EMAIL PROTECTED] wrote: This doesn't work: $([EMAIL PROTECTED]'bea-portal-layout-placeholder'][3]) I had to do it like this: $([EMAIL PROTECTED]'bea-portal-layout-placeholder']:eq(3)) yeah. I think [3] should be used as: $([EMAIL

Re: [jQuery] Is this a bug in XPath support?

2006-09-13 Thread limodou
On 9/14/06, John Resig [EMAIL PROTECTED] wrote: yeah. I think [3] should be used as: $([EMAIL PROTECTED]'bea-portal-layout-placeholder'])[3] That doesn't give you what you want. That returns a DOM element, not a jQuery object - a thus breaks the chain. you are right. I don't know what'

Re: [jQuery] Sending JSON from client to server

2006-09-13 Thread Chris Domigan
Thanks Will, I followed your lead and eventually discovered John's JSON script with stuff like: Object.toJSON(obj), which was just what I was looking for :)Cheers,Chris ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] code ideas: if mouseover for 5 seconds then do this else do nothi ng

2006-09-13 Thread Paul Bakaus
Hi there,well you have the function hover() and you can use it like this:$(#link).hover(function() {//Will be executed when you mouse over//Set a timer that will wait for 2 secswindow.setTimeout (function() {$(#navigation).show(); //Show navi), 2000);},function() {//Will be executed when you move

Re: [jQuery] Autocompleter Safari bug

2006-09-13 Thread Dylan Verheul
Geoff and others, I have Mac and thus no Safari to debug in, but I could add a return false for you if youre not sure where to add it yourself. Geoff, sand me an email at [EMAIL PROTECTED] if you need assistance. Or, maybe someone with a Mac will test if a return false works? Dylan On 9/14/06,

Re: [jQuery] code ideas: if mouseover for 5 seconds then do this else do nothi ng

2006-09-13 Thread Klaus Hartl
Paul Bakaus schrieb: Hi there, well you have the function hover() and you can use it like this: $(#link).hover(function() { //Will be executed when you mouse over //Set a timer that will wait for 2 secs window.setTimeout (function() { $(#navigation).show(); //Show navi ), 2000); },

Re: [jQuery] code ideas: if mouseover for 5 seconds then do this else do nothi ng

2006-09-13 Thread Yehuda Katz
The code John posted regarding Form.observer is a good step in the right direction. I made some tweaks: $.fn.observe = function( time, callback ){ return this.each(function(){ var form = this, change = false; $(form.elements).keyup(function(){ change = true; }); setInterval(function(){ if (

Re: [jQuery] Adding tabs dynamically with plugin

2006-09-13 Thread Klaus Hartl
bmckenzie schrieb: I'm new to jquery -- quite impressed. I'm trying to convert a page (built with prototype and scriptaculous) where clicking on a link adds a navigation tab with content fetched via Ajax. I can add a tab ok with (using dom creator plugin) . But the tabs plugin (by

Re: [jQuery] code ideas: if mouseover for 5 seconds then do this else do nothi ng

2006-09-13 Thread Christof Donat
Hi, I guess he needs something like this: $(#link).hover(function() { $(#navigation).each(function(){this.donthide = true;}) this.timeout = window.setTimeout(function() {$(#navigation).show();},2000); }, function() { // if we move out of the link before the timout has