[jQuery] jcarousel and ajax

2008-11-28 Thread matt
I have a site that uses jcarousel. This works fine, but I also have links on the side, that when clicked, loads in new content via ajax (new page content and new carousel). The problem is that jcarousel stopped working, using this message: jCarousel: No width/height set for items. This will

[jQuery] Re: Jeditable, async value

2008-11-28 Thread Mika Tuupola
On Nov 27, 2008, at 6:37 PM, Viktor wrote: If the server responses I wanna set the title to the new value else I'd like to use the old value $(.title).editable(function(value, settings) { setTitle(function() { // return value }, function() {

[jQuery] [Cluetip] don't work

2008-11-28 Thread Zic Puce
Hello all, I work with the framework phpmvc and code with the MVC architecture. I want to insert a popup should recover in xml file some info. So I try basically the example given Demo Cluetip by downloading the file. All examples walk locally. Now I take the example code 1 basic tip from

[jQuery] Re: Draggable() doesn't work with table rows?

2008-11-28 Thread ajpiano
http://www.isocra.com/2008/02/table-drag-and-drop-jquery-plugin/ is a plugin that makes this possible --adam On Nov 28, 5:01 am, seasoup [EMAIL PROTECTED] wrote: That's different.  The tr/tr doesn't need to leave the table, if you could make a tr draggable, you'd have to drop it in another

[jQuery] Re: Flow control in functions.....

2008-11-28 Thread Paul Mills
Put all the code you want executed after the post is complete into the callback function. or Change chkmail function to call a new function (with the password and email checks) instead of returning emailerror. Paul On Nov 27, 4:12 pm, QuadCom [EMAIL PROTECTED] wrote: I may have titled this

[jQuery] Re: [validate] remote checking and apache rewrite problem

2008-11-28 Thread jurkoferko
No, there is no redirect involved, and i managed to identify the problem: The second script, which used Apache rewrite was displaying also some html content, not only 'true' or 'false' ... I didn't notice it first, because the only thing my php script was displaying was 'true' or 'false', but

[jQuery] Re: Lightbox/ThickBox/ui.dialog etc

2008-11-28 Thread Lee McMullen
Thanks Jack, i'll take a look. Lee. On Thu, Nov 27, 2008 at 8:49 PM, Jack Killpatrick [EMAIL PROTECTED] wrote: check this one out, I think it will do all that you need: http://dev.iceburg.net/jquery/jqModal/ - Jack Lee Mc wrote: Hi there, Does anyone have an opinion on what they

[jQuery] Re: how to call a function at outside object in jQuery's click function?

2008-11-28 Thread Yam.
thank you! it works well! On Nov 28, 1:47 am, ricardobeat [EMAIL PROTECTED] wrote: Try this: var Example = function(){}; Example.prototype = {  abobora: function(){     alert('Hi!');   },   execute: function(){     var t = this;     $('#any_button').click(function(){      

[jQuery] After refresh $(document).ready shows different value for select from change

2008-11-28 Thread xiaohouzi79
The following two are giving different results: $(#service_select).change(function() { alert($(#service_select).val()); } $(document).ready(function() { if ($(#service_select option:selected)) { alert($(#service_select).val()); } } Onchange I get the option value. On document

[jQuery] [Tooltip]

2008-11-28 Thread Robert Heine
I'm using the tooltip-plugin from Jörn Zaefferer and it's really cool. Until today it had everything i needed, but now i need some functionality where the tooltip itself is hoverable, so i'm able to click the links in it for example like on this page:http:// www.cssplay.co.uk/menu/balloons.html

[jQuery] Repeated ajax calls (jheartbeat) but not always (depending on a CURL response)

2008-11-28 Thread Spike1
Sorry for the obscure subject, but english is not my language. Well, situation: server side language: php In a page, i need to call an url (on another server) that start a process (creates a jar file assembling many other files). This call will be done via curl (it has been already written).

[jQuery] [autocomplete] Changing query parameter

2008-11-28 Thread Osymandias
Hi all, Wondering how to change the actual query parameter sent by jquery at run time: e.g. instead of services?q=foo I might want to do services?term=foo, and this will change depending on where I'm using the plugin.

[jQuery] How does clone() work?

2008-11-28 Thread Vaskerville
I'm having the worst time working with clone(). It returns an object...still can't access it. What I'm doing is looping through a list of divs (same class) and trying to clone each one. I want to clone them so that I can reorder them. var html; // in the loop html += $('#myDiv-' +

[jQuery] can not append a to body in IE

2008-11-28 Thread Serge
Hi guys, you can see jQuery code below, it works in Firefox and Opera for me, but does not work in IE6. $(function() { var a = $('a').attr('href', 'javascript://').append('test'); $('body').append(a); });

[jQuery] Re: Lightbox/ThickBox/ui.dialog etc

2008-11-28 Thread webRat
http://planetozh.com/projects/lightbox-clones/ On Nov 27, 9:36 am, Lee Mc [EMAIL PROTECTED] wrote: Hi there, Does anyone have an opinion on what they think is the best lightbox implementation to use? It's not going to be used to display images, it's mainly form interaction. My only

[jQuery] Re: Lightbox/ThickBox/ui.dialog etc

2008-11-28 Thread Richard D. Worth
On Thu, Nov 27, 2008 at 9:36 AM, Lee Mc [EMAIL PROTECTED] wrote: - Must be draggable - Must (unfortunately) work in IE6 - Must be modal I've been playing with ui.dialog and really like it. However I seem to be having some issues in IE6 - using the same theme as displayed on this page:

[jQuery] Re: Lightbox/ThickBox/ui.dialog etc

2008-11-28 Thread Lee McMullen
@Richard - Thanks for that, I'll take a look at the fix you recommended. I'd much prefer to use ui.dialog so hopefully your recommendation will work on IE6. @webRat - thanks for that site - useful resource. I have other projects bubbling away on prototype so this will come in handy. Cheers, Lee

[jQuery] Form Editor like WUFOO.com with JQUERY??

2008-11-28 Thread eutelsat
Please can you help me to decide which tecnology is more appropiate? YUI, JQUERY or just another Library Hi I'm planning to develop something like a Form Editor in WUFOO with JQUERY. Needing Drag Drop and object graphical selector moreover some custom code. Thanks in advance Jordi

[jQuery] Re: Draggable() doesn't work with table rows?

2008-11-28 Thread seasoup
That's different. The tr/tr doesn't need to leave the table, if you could make a tr draggable, you'd have to drop it in another table at the least On Nov 27, 9:43 pm, René [EMAIL PROTECTED] wrote: Actually, sortable() lets you drag rows between tables, so I don't think it's impossible.

[jQuery] Re: Using fade on .toggleClass

2008-11-28 Thread Paul Collins
Hi Ricardo, I'm not sure why I said this was working last week, but it doesn't seem to be! I must have been drunk at the time :) Sorry to keep bothering you, but when I click on the link, nothing happens now. I've tried placing alerts and so forth and I've tracked it down to this line as the

[jQuery] Re: Form Editor like WUFOO.com with JQUERY??

2008-11-28 Thread temega
jQuery has great Drag and Drop features On Nov 28, 10:27 am, eutelsat [EMAIL PROTECTED] wrote: Please can you help me to decide which tecnology is more appropiate? YUI, JQUERY or just another Library Hi I'm planning to develop something like a Form Editor in WUFOO with JQUERY. Needing Drag

[jQuery] jQuery.uploader released: Flash based jQuery uploader

2008-11-28 Thread Gilles (Webunity)
Hi guys, Short memo; http://jQuery.webunity.nl/ Check it out, 2 demo's online! -- Gilles

[jQuery] Re: Form Editor like WUFOO.com with JQUERY??

2008-11-28 Thread Olivier Percebois-Garve
jQuery itself has no drag and drop feature. That kind of interaction is within jQuery-ui which is built on top of jQuery. On Fri, Nov 28, 2008 at 3:17 PM, temega [EMAIL PROTECTED] wrote: jQuery has great Drag and Drop features On Nov 28, 10:27 am, eutelsat [EMAIL PROTECTED] wrote:

[jQuery] Re: How does clone() work?

2008-11-28 Thread MorningZ
but I just get objects Are you expecting something else? the .clone() method, like most of the whole jQuery API returns a jQuery wrapped object to get the HTML of a cloned item, you'll need to use the .html() method. and you also need to be very aware, that .clone() will bring the id of

[jQuery] Re: jQuery timing out on page load

2008-11-28 Thread ricardobeat
Well, that's a mistery. Two unlikely possibilities: 1. the packed jquery has an error, use the minified version 2. some function on your page is doing something with the '$' variable Do you have a page online we can look at? On Nov 28, 5:06 am, harryhobbes [EMAIL PROTECTED] wrote: The path is

[jQuery] Re: How does clone() work?

2008-11-28 Thread Vaskerville
Yes, it didn't make sense...I found out the hard way after getting though things that clone() was the wrong way to go. But, at least I learned how it worked...another nice Jquery tool. I ended up simply using the div id's and prependTo() to work things out. Thanks Vaskerville wrote: I'm

[jQuery] how can i find() including self?

2008-11-28 Thread Mark Gibson
With the follow style of markup: div id=my-combo role=combobox aria-owns=my-list another-thing /div div id=my-list role=list /div I need to find the first element of type [role=list], in either the descendants of #my-combo, or the elements (and descendants) identified in aria- owns. I was

[jQuery] Re: After refresh $(document).ready shows different value for select from change

2008-11-28 Thread ricardobeat
Can you put your problem code up at jsbin.com or somewhere? I couldn't reproduce that. - ricardo On Nov 27, 11:05 pm, xiaohouzi79 [EMAIL PROTECTED] wrote: The following two are giving different results: $(#service_select).change(function() {    alert($(#service_select).val()); }

[jQuery] Making the accordian menu sticky

2008-11-28 Thread Low Kian Seong
Has anyone found a way to make the accordian menu sticky? As in it doesn't close up and refresh itself everytime I visit a link? Thanks.

[jQuery] Re: can not append a to body in IE

2008-11-28 Thread ricardobeat
Ignoring the fact that a javascript:// protocol doesn't exist, you have to close/self-close the element tag you want to create: $('a/').attr(); or $('atest/a').attr() - ricardo On Nov 28, 9:01 am, Serge [EMAIL PROTECTED] wrote: Hi guys, you can see jQuery code below, it works in Firefox and

[jQuery] Re: how can i find() including self?

2008-11-28 Thread ricardobeat
I tried for 5 minutes but couldn't wrap my head around that :D Why do you need to 'pretend the elements are children of this'? What are you trying to achieve? - ricardo On Nov 28, 2:04 pm, Mark Gibson [EMAIL PROTECTED] wrote: With the follow style of markup: div id=my-combo role=combobox

[jQuery] code does not work if put after other codes

2008-11-28 Thread Betty
Hi, I'm new. I've written two pieces of code with jQuery. Each of them works well individually. However, if I put them one after the other, the first one still works, but the latter one will not work. If I change their order, it's always the first that can work and the latter one that can't work.

[jQuery] Re: warning: jquery in firefox 3

2008-11-28 Thread Henry
On Nov 27, 5:58 am, codz wrote: hello everyone, i just want to ask anybody about this warning that always show whenever my page load with the jquery.js file. Warning: test for equality (==) mistyped as assignment (=)? Source File:http://localhost:2008/jquery.js Line: 1161, Column: 32

[jQuery] Re: jcarousel and ajax

2008-11-28 Thread Denes PAL
Hi, when the page is loaded in the background (iframe, ajax) while using a loader animation, the ready event triggered before the items has been shown. So the jCarousel can not get the correct dimensions. The solution is to init jcarousel after the content has been shown, by explicitly call the

[jQuery] code dosen't work if put after some other code

2008-11-28 Thread Betty
Hi, I'm new. I've written two pieces of code with jQuery. Each of them works well individually. However, if I put them one after the other, the first one still works, but the latter one will not work. If I change their order, it's always the first that can work and the latter one that can't work.

[jQuery] [superfish] submenu position: left or right

2008-11-28 Thread marco
hi! i got a menu with many nested sub-menus. some sub-menus get out of the page width because they are all open on the right of the parent. can superfish open menus on the left if there is not enough space on the right? thanks marco

[jQuery] Re: code dosen't work if put after some other code

2008-11-28 Thread brian
I think you'll need to post the exact code you're having problems with. On Fri, Nov 28, 2008 at 8:32 AM, Betty [EMAIL PROTECTED] wrote: Hi, I'm new. I've written two pieces of code with jQuery. Each of them works well individually. However, if I put them one after the other, the first one

[jQuery] Re: [Cluetip] don't work

2008-11-28 Thread Karl Swedberg
are you getting any JavaScript errors? --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 28, 2008, at 4:41 AM, Zic Puce wrote: Hello all, I work with the framework phpmvc and code with the MVC architecture. I want to insert a popup should recover in xml

[jQuery] Executing multiple actions on the same selection

2008-11-28 Thread flycast
In some other languages I have had experience with one can use the following pattern... object [ .doThis() .andThis() .andAlsoThis() ] Is there a way to do this with jQuery? $(a){ .hide(); .addClass(); } ***Instead of *** $(a).hide(); $(a).addClass();

[jQuery] Re: Executing multiple actions on the same selection

2008-11-28 Thread Charlie Griefer
yes. jQuery supports method chaining. $(a).hide().addClass(); see Chainability at http://docs.jquery.com/How_jQuery_Works On Fri, Nov 28, 2008 at 12:26 PM, flycast [EMAIL PROTECTED] wrote: In some other languages I have had experience with one can use the following pattern... object [

[jQuery] quote standards

2008-11-28 Thread seasoup
I've started using a single quote inside of all $() when quotes are needed because it makes creating DOM elements much simpler. $('a href=/path/a') or $('div id=anId/div and for consistency doing $('#anId'). Anyone else doing the same thing? Josh Powell

[jQuery] Re: quote standards

2008-11-28 Thread Andy Matthews
Yes. I am. Plus single quoting is slightly faster due to it's lower case nature. No need to hold down the shift key. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of seasoup Sent: Friday, November 28, 2008 2:47 PM To: jQuery (English) Subject:

[jQuery] Re: quote standards

2008-11-28 Thread Bill
I've wondered about this myself. I seem to go back and forth between the two without any rhyme or reason. Looking forward to more responses on this thread. On Nov 28, 1:51 pm, Andy Matthews [EMAIL PROTECTED] wrote: Yes. I am. Plus single quoting is slightly faster due to it's lower case

[jQuery] Re: quote standards

2008-11-28 Thread Charlie Griefer
i generally use single quotes unless i'm explicitly setting a string. so.. var foo = the quick brown fox...; but when inside of parentheses, i always wrap strings in single quotes. On Fri, Nov 28, 2008 at 1:28 PM, Bill [EMAIL PROTECTED] wrote: I've wondered about this myself. I seem to go

[jQuery] Dynamic Event Handler

2008-11-28 Thread Ryan
I have some 'NAV' elements, that when clicked should slideToggle their respective 'DATA' elements. I am trying to do this by traversing an Object with a for loop, and each elements IDs are stored in this data structure. However, once execute, each click of any of the NAV elements only

[jQuery] button is null

2008-11-28 Thread sergiomedinag
Hi! I've just made a jQuery plugin that validates a form and shows a tooltip to see the strings accepted for the field. Everything works fine, except when I switch tabs in firefox+firebug I get an error saying that button is null. It only shows that error when I use the tooltip (When I comment

[jQuery] Re: quote standards

2008-11-28 Thread Michael Geary
I've posted messages here quite a few times recommending single quotes for the very reason that Josh mentioned. If you use double quotes you have to either escape the double quotes in HTML attributes, or use single quotes for the HTML attributes (which is invalid although it does work), or switch

[jQuery] Re: Form Editor like WUFOO.com with JQUERY??

2008-11-28 Thread eutelsat
Yes I know thanks but I think I need somenthing more, like for example sorting and graphical selector and of course saving all this data and interacting. I it is not supported then I need It to be easy to expand to add the features. On 28 nov, 16:00, Olivier Percebois-Garve [EMAIL PROTECTED]

[jQuery] Re: quote standards

2008-11-28 Thread Jeffrey Kretz
Same here. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Michael Geary Sent: Friday, November 28, 2008 2:20 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: quote standards I've posted messages here quite a few times recommending

[jQuery] Re: button is null

2008-11-28 Thread seasoup
show us the code that generates the error. On Nov 28, 1:53 pm, sergiomedinag [EMAIL PROTECTED] wrote: Hi! I've just made a jQuery plugin that validates a form and shows a tooltip to see the strings accepted for the field. Everything works fine, except when I switch tabs in firefox+firebug I

[jQuery] Re: how can i find() including self?

2008-11-28 Thread Dave Methvin
How about this? $.fn.owns = function(selector) { var owns = []; this.filter('[aria-owns]').each(function(){ owns.push('#'+this.getAttribute('aria-owns').replace(/\s+/g,',#')); }); return this.find('*').add(owns.join()).filter(selector); }; Real

[jQuery] Re: code dosen't work if put after some other code

2008-11-28 Thread Betty
Thank you, brian. Here is the script: script type='text/javascript' src='http://ajax.googleapis.com/ajax/ libs/jquery/1.2.6/jquery.min.js?ver=1.2.6'/script script type='text/javascript' $(document).ready(function() { $(.xtabber .tabcontentdiv).not(#tab1).hide(); $(.xtabber .tab

[jQuery] Re: Changing query parameter

2008-11-28 Thread pedalpete
I'm not sure what you bean about changing depending on 'where I'm using the plugin'. you could use an if statement to set the parameter to change. for instance [code] if(q=='foo'){ var term=q; } if(term==null){ term=q; } [/code] something like that I think, but you haven't really spelled out

[jQuery] Re: code dosen't work if put after some other code

2008-11-28 Thread ricardobeat
hover() is meant to be passed two functions, one for mouseover and one for mouseout: http://docs.jquery.com/Events/hover However that doesn't explain why just the second one doesn't work... see if using mouseover() or bind('mouseenter',fn) helps. On Nov 29, 12:16 am, Betty [EMAIL PROTECTED]

[jQuery] Adding IMG attributes

2008-11-28 Thread enchance
I'm trying to add several attributes to all my img tags but I'm not sure if they're both working. Could you verify if these are correct? $(document).ready(function(){ //add the width and height for each image $('img').each(function(){ $(this).attr('width', $(this).width());

[jQuery] Error while printing the JSON content after evaluating!!!!

2008-11-28 Thread aarti
Hi, I am getting error while trying to print the content of json string. My servlet is getting evaluated as it is alerting the next statement immediately after eval line in the code. 0] alert(req.responseText); 1] doc_json = eval('('+ req.responseText+')'); 2] alert(eval successful); 3]

[jQuery] Re: Adding IMG attributes

2008-11-28 Thread Jeffrey Kretz
Not exactly. The $(document).ready function fires when the DOM has been fully built, so not all the images will be loaded at that time. You could bind to the images load method as well. function fixDimensions() { var img = $(this); img.attr('width',img.width());

[jQuery] Re: Appending text works; appending element doesn't

2008-11-28 Thread Rodent of Unusual Size
On Nov 25, 11:24 am, ricardobeat [EMAIL PROTECTED] wrote: Your code, exactly as it is, works perfectly for me. I didn't include the tablesorter plugin in my test. Removing the tablesorter artifact (left over when I trimmed to a minimum test case) had no effect. Changing the document's IMT

[jQuery] Remove ellipsis from shortened title.

2008-11-28 Thread DemersDesigns
Hello, I am using Simplepie and truncating fields that are longer than a certain length. This process adds an ellipsis to the end, which I want in most situations. However, for titles, I do not want the ellipsis to show. I am trying to use jquery to remove the ellipsis character code (hellip;)

[jQuery] Re: Error while printing the JSON content after evaluating!!!!

2008-11-28 Thread seasoup
Heya, happy to help. I have a few questions though. 1) Can/do you use firebug and console.log, it provides more information. 2) How come you are putting parenthesis around req.responseText? 3) Can you show us the req.responseText? Thanks, Josh Powell On Nov 28, 5:31 pm, aarti [EMAIL

[jQuery] jeditable tooltip for empty table cell becomes content

2008-11-28 Thread Rodent of Unusual Size
New demonstration case for another problem I've noticed with jeditable: http://apache.pastebin.ca/1270021 I'm making cells in a table editable, and passing jeditable a string for the hover tooltip. However, if the cell in question has no content (e.g., td/td) jeditable stuffs the tooltip into

[jQuery] Re: Remove ellipsis from shortened title.

2008-11-28 Thread Leapfrog!
dt will be an object. you could use _javascript_s replace() method maybe.. $('dt').text().replace("hellip;", ""); .. i think DemersDesigns wrote: Hello, I am using Simplepie and truncating fields that are longer than a certain length. This process adds an ellipsis to the end, which I

[jQuery] Re: Remove ellipsis from shortened title.

2008-11-28 Thread brian
H3 tag, or DT? Anyway, I'm pretty sure that remove is not what you want. I think you'd need to do something like: $('h3').each(function(){ var t = $(this).text(); $(this).text(t.replace(/hellip;/''/)); }); Obviously, replace h3 with whatever makes the most sense for your page. On Fri,

[jQuery] Re: Remove ellipsis from shortened title.

2008-11-28 Thread Michael Geary
Your code is using hellip; as part of a selector, which won't do what you want. It will probably end up selecting nothing. And jQuery's remove() method removes entire DOM nodes. You don't want that; you just want to remove part of the text. Also, you mentioned H3 elements, but the selector has a

[jQuery] Re: Appending text works; appending element doesn't

2008-11-28 Thread brian
I can tell you that my experience also with an XHTML+XML MIME and JQuery was full of pain. Luckily, I had the option to change the Content-Type, as it was only there for a legacy app. So, I never bothered to investigate further whether or not it could work with JQuery. On Fri, Nov 28, 2008 at

[jQuery] Re: code dosen't work if put after some other code

2008-11-28 Thread brian
As Ricardo said, hover() expects a second function. I just tested your code and it works just fine like this: $(document).ready(function() { $(.xtabber .tabcontentdiv).not(#tab1).hide(); $(.xtabber .tab a).hover(function () { var xone = $(this).attr(href);

[jQuery] jQuery Countdown

2008-11-28 Thread ripcurlksm
I am trying to get the countdown to work from this example (http://keith-wood.name/countdown.html), and I cant get it working.. What am I doing wrong? html head script type=text/javascript src=http://code.jquery.com/jquery-latest.pack.js;/script link rel=stylesheet type=text/css