[jQuery] selector :contains different behaviour in firefox and msie 7

2009-03-08 Thread mcologne
hi, i have a strange behaviour when parsing the xml below: $.get('/test/Internetschuhe.XML', function(data) { $(data).find('item').each(function() { var $entry = $(this); var $sizenotnull = $entry.find(stock:contains('0')); alert($sizenotnull.length); in firefox

[jQuery] Re: how Jquery to get this json data ?

2009-03-08 Thread yuan yuan
http://ekrantz.com/index.php/2007/06/06/json-and-associative-arrays.html 2009/3/7 YuanYuan yuan2y...@gmail.com I want get a json data, but alaways err. anyone know, how to get softwareList.for001.idhttp://softwarelist.for001.id/? or get softwareList for001~for002 text ? r({

[jQuery] Jquery UI Dialog - default button (focus on the default button)

2009-03-08 Thread Alexey
Hello I am using Jquery plugin Dialog and i can not figure out how to make the Ok button the first one from the left and selected. By default the selected button is one on the left, but I want Ok to be on the left. Anybody knows? Thanks

[jQuery] Re: Jquery UI Dialog - default button (focus on the default button)

2009-03-08 Thread mcologne
there is an own group for ui: http://groups.google.com/group/jquery-en you can change the focus by adding: open: function() { $(this).parents('.ui-dialog-buttonpane button:eq(0)').focus(); }, On 8 Mrz., 13:23, Alexey alexey.polio...@gmail.com wrote: Hello I am using Jquery

[jQuery] Re: Jquery UI Dialog - default button (focus on the default button)

2009-03-08 Thread mcologne
http://groups.google.com/group/jquery-ui On 8 Mrz., 14:20, mcologne blueameri...@web.de wrote: there is an own group for ui:http://groups.google.com/group/jquery-en you can change the focus by adding: open: function() {         $(this).parents('.ui-dialog-buttonpane button:eq(0)').focus();

[jQuery] Re: Cycle Plugin Adds Inline Styling to Slides / How To Center Slides in Container

2009-03-08 Thread Mike Alsup
After at least 4 hours in Firebug and CSS code, I switched something that started working.  I'm amazed at how difficult it was to do, when it should have been so simple, but all's well that ends well.  Thanks again. Glad to hear it's working for you now, but it sounds like you got lucky

[jQuery] jMap trouble

2009-03-08 Thread new_gmap
At this page you can see my map: http://www.nothingisclear.net/ndovado/_gmap.php In the page's source code, you can see how I set up the map. Please do not care about the input box at the bottom of the div. The map must provide a way to select location on itself. For reach this, I need to

[jQuery] Show/hide multiple TDs with one function?

2009-03-08 Thread deadbeatjam
Hi. I have a table with multiple TDs (with different classes) that I want to toggle (show/hide) with one function, from checking different checkboxes that relate to the different TDs. I'm thinking I should pass a variable to the function (from each checkbox) which then show/hides the different

[jQuery] Re-distribute jQuery

2009-03-08 Thread howa
Hello, I want to include jQuery as part of my jQuery plugin so user can include only one file and can use immediately. I want to release under MIT liecnese, so is it just include the original liecnse senstence is okay? Thanks.

[jQuery] Re: Show/hide multiple TDs with one function?

2009-03-08 Thread Mike Alsup
I have a table with multiple TDs (with different classes) that I want to toggle (show/hide) with one function, from checking different checkboxes that relate to the different TDs. I'm thinking I should pass a variable to the function (from each checkbox) which then show/hides the different

[jQuery] Re: Need Help with changing css on an object

2009-03-08 Thread junk.mail...@gmail.com
Hi Chris My suggestion to your problem will involve a few changes to your structure, but I don't think they should be too bad for you to pull off. Since the texts in your nav don't change on rollover, I would make them a separate image all together. Then you could make just 2 different

[jQuery] help with type rendering via FaceLift (FLIR)?

2009-03-08 Thread feragnoli
hello, I have a question about using jquery with facelift. I am pulling text from an input box in a form to be rendered by facelift. the code is this: -- !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0

[jQuery] clone of an element to be dropped draggable

2009-03-08 Thread mark
hi i want to a clone of an element to be dropped and dragged. i am using the standard jquery 1.3 and jquery ui 1.7. i tried the helper clone option. it creates a clone when dragged, but when it is dropped it just reverts back to the original position. but i want a clone also to be dropped. for

[jQuery] Re: Need Help with changing css on an object

2009-03-08 Thread Charlie Tomlinson
good case of trying to add a bunch of script when simple css works. Spriting the menu images into one (with or without the text included on each part of image), adding a :hover in css avoids an unnecessary server request for another image and works if scripting disabled

[jQuery] Malsup's Cycle plugin exhibiting strange behavior

2009-03-08 Thread Shane Riley
I've got an instance of Mike Alsup's Cycle slideshow working on the homepage of a project I'm finishing up, and I'm having different issues with it depending on the browser being used. All of the issues seem to be happening in Mac only browsers. Here's the site I'm having trouble with:

[jQuery] Re: Need Help with changing css on an object

2009-03-08 Thread junk.mail...@gmail.com
Chris Charlie is absolutely right. You can simplify it by using the css :hover to do your rollover states. You still however need to do something on top of that to handle the current problem you're having with it keeping the state change when a user clicks on one of the nav elements. That's

[jQuery] IE image load fix

2009-03-08 Thread Blazedd
http://blog.blazed-designs.com/2009/03/01/jcarousel-loading-fix-for-ie/ That link tells you all you need to know about what i did to fix and could be done to fix the issue. Thanks

[jQuery] Posting XML to an asp.net page (MVC) with jquery?

2009-03-08 Thread xlar54
Hey folks, I have code such as: $.post('/Controller/Process', { messageXml: escape(xml) }, function(txt) { //debugger; ...dosomething }); The xml gets sent, but its encoded.

[jQuery] mousedown event doesn't happen until mouseup on iPhone

2009-03-08 Thread timothytoe
Is anyone else trying to use jQuery on the iPhone? I'm doing a game using PhoneGap for iPhone and iPod Touch (with the hope of moving on to other phones). Everything was going swimmingly until I tried a mousedown event. Works correctly in PC and Mac versions of Safari, but no event occurs until

[jQuery] Re: Malsup's Cycle plugin exhibiting strange behavior

2009-03-08 Thread Mike Alsup
The first issue is in FF 3.0.7 on Mac. Occasionally, the first image appears no problem, however the remaining images show up extremely small. I tried setting a fixed width and height to the images, but that didn't have an effect on it. The other issue is in Safari 3 on Mac. The first image

[jQuery] Re: Malsup's Cycle plugin exhibiting strange behavior

2009-03-08 Thread Shane Riley
That looks to have done it. Thanks! On Mar 8, 1:12 pm, Mike Alsup mal...@gmail.com wrote: The first issue is in FF 3.0.7 on Mac. Occasionally, the first image appears no problem, however the remaining images show up extremely small. I tried setting a fixed width and height to the images,

[jQuery] Re: Drop down menu disappears when you hover over Cycle slideshow area

2009-03-08 Thread Shane Riley
Nevermind, I've changed it to toggle onclick instead. On Mar 7, 9:12 am, Shane Riley shanerileydoti...@gmail.com wrote: I've tried getting this to work properly in IE with a variety of different methods, and none are working. The page in question is

[jQuery] Re: How does Facebook do to edit profile picture thumbnails?

2009-03-08 Thread juan-i
i don't want the thumbnail to be saved, i was just wondering where i could get the javascript to just be able to move the image inside the div... thx anyways:) On Mar 7, 3:44 pm, Brian notta...@gmail.com wrote: Is there a specific part that's inconceivable? I can imagine one way to do

[jQuery] Re: How does Facebook do to edit profile picture thumbnails?

2009-03-08 Thread MorningZ
check out jCrop http://deepliquid.com/content/Jcrop.html On Mar 8, 1:57 pm, juan-i holamellamoju...@gmail.com wrote: i don't want the thumbnail to be saved, i was just wondering where i could get the javascript to just be able to move the image inside the div... thx anyways:) On Mar 7,

[jQuery] Re: How does Facebook do to edit profile picture thumbnails?

2009-03-08 Thread donb
Look at the jCrop plugin. It does all that. On Mar 6, 11:03 pm, juan-i holamellamoju...@gmail.com wrote: I just can't figure that out! On FB, you get to change the thumnail for your profile picture. You have a containing div with dimensions of about 50x50 and you can move the image (which

[jQuery] Re: Show/hide multiple TDs with one function?

2009-03-08 Thread deadbeatjam
Hi Mike, and thanks for the answer. The thing is that I want to show/hide the TDs and not the entire table itself. I have multiple rows, and want to toggle one TD for each row - not all the TDs in each row. On 8 Mar, 14:54, Mike Alsup mal...@gmail.com wrote: I have a table with multiple TDs

[jQuery] Re: thickbox 3.1 and new jquery 1.3.1 - please help

2009-03-08 Thread newbie
jQuery Lover, Thank you so much. It worked fine now. You can see it here http://www.laseralliance.com On Feb 7, 2:24 am, jQuery Lover ilovejqu...@gmail.com wrote: Try to delete @ on line 79. 79: TB_TempArray = $(a...@rel=+imageGroup+]).get(); 79: TB_TempArray =

[jQuery] Re: Show/hide multiple TDs with one function?

2009-03-08 Thread Mike Alsup
The thing is that I want to show/hide the TDs and not the entire table itself. I have multiple rows, and want to toggle one TD for each row - not all the TDs in each row. I know. That's exactly what I was showing how to do. You add/remove a class on the table but put a style rule on the

[jQuery] Re: Combining results of two getJSON calls

2009-03-08 Thread Dr. Drang
Thank you, Michael. Of course, the display loop has to be nested inside the inner getJSON. $.getJSON(friendsURL, function(friends){ $.getJSON(repliesURL, function(replies){ friends = $.merge(friends, replies); $.each(friends, function(item){ // Display the item. }); // each

[jQuery] A part of .ajax I don't understand

2009-03-08 Thread Ethan
Hi out there. I'm having a little trouble with my .ajax. Here's the function: var name = $('#username').val(); var pass = $('#pass').val(); $.ajax({ url: 'signin.php', type: 'GET', data: 'username=' + name + 'pass=' + pass,

[jQuery] Re: A part of .ajax I don't understand

2009-03-08 Thread James
In your PHP script, you're suppose to print (echo) your response. Make sure to put an 'exit' afterwards so you don't continue processing the rest of your script and return (print) unexpected content. On Mar 8, 11:17 am, Ethan edgewood7...@gmail.com wrote: Hi out there.  I'm having a little

[jQuery] Superfish menu, IE7 bug - menu expands in a flash when changing page

2009-03-08 Thread jonasnorlin
Hey all ! I have created a superfish menu for my modx website, based on the exsisting menu: wayfinder.jmultilevel. Note: the problem i'm having is related to internet explorer 7, the menu works flawless in firefox. When you click on an menu item and get directed to the new page, the menu

[jQuery] jQuery breaks LastPass extension

2009-03-08 Thread Kenchu
I'm currently developing a firefox extension, and I use jQuery. I've noticed that LastPass, anohter extension, doesnt seem to work properly if I include jQuery in my XUL file. I've tried using jQuery instead of $ and calling noConflict without any change. Any ideas?

[jQuery] Re: Malsup's Cycle plugin exhibiting strange behavior

2009-03-08 Thread Shane Riley
Actually, now the client has said that the issue still appears in FF 3 on Windows. I'm installing a new copy on a virtual machine to test it now, but is it possible there's still unresolved issues with the sizing?

[jQuery] Re: Superfish menu, IE7 bug - menu expands in a flash when changing page

2009-03-08 Thread Charlie Tomlinson
multilevel.css has an unclosed comment mark might be causing a problem /*.nav li:hover ul,ul.nav li.sfHover ul {left:0px;top:2em;} jonasnorlin wrote: Hey all ! I have created a superfish menu for my modx website, based on the exsisting menu: wayfinder.jmultilevel. Note: the

[jQuery] Re: Superfish menu, IE7 bug - menu expands in a flash when changing page

2009-03-08 Thread jonasnorlin
That is wierd. When i delete the comment mark the problem remains, but this time when i press F5 and update a page the problem now suddenly appears too! When i delete the entire line same result as mentioned, but when i add the start comment mark the bug only appears when shifting pages!! So

[jQuery] [autocomplete] function instead of list

2009-03-08 Thread barbender
Hi folks, Is there a way to call function instead of taking data from the list when doing local field completion ? In the example I am trying to form a list of artists locally in JS function : // make artist input auto completing $('#artist').autocomplete(function() { return artists; }),

[jQuery] Re: A part of .ajax I don't understand

2009-03-08 Thread donb
And I'd recommend json_encode() in PHP and specifying 'json' as the datatype on the ajax call. Otherwise you may find the datae is not quite what you expect (likehaving a trailing space or \n, and so on. On Mar 8, 5:45 pm, James james.gp@gmail.com wrote: In your PHP script, you're suppose

[jQuery] Stripping last html tag within an area.

2009-03-08 Thread carbon
is it possible to use jQuery to strip a tag from a 'div' ? example: article phello world/p plast paragraph/p /article I would like strip the p tags from 'last paragraph'.

[jQuery] years in jQuery Datepicker

2009-03-08 Thread Javier Guerrero
Hi, I'm using *jQuery Datepicker * http://keith-wood.name/datepick.html but, I can't show more years before 1999. please, somebody can help me? Saludos

[jQuery] Re: Stripping last html tag within an area.

2009-03-08 Thread comslash.com
Try this. $('articlep:last').replaceWith($(this).html()); On Mar 8, 7:22 pm, carbon carbon.ca...@gmail.com wrote: is it possible to use jQuery to strip a tag from a 'div' ? example: article phello world/p plast paragraph/p /article I would like strip the p tags from 'last paragraph'.

[jQuery] Re: Stripping last html tag within an area.

2009-03-08 Thread carbon
Thanks, but that didn't work. what does the .replaceWith($(this).htlm() do? shouldn't we use something like 'remove' instead? On Mar 9, 10:37 am, comslash.com comsl...@gmail.com wrote: Try this. $('articlep:last').replaceWith($(this).html()); On Mar 8, 7:22 pm, carbon

[jQuery] jQuery IE7 Memory leak

2009-03-08 Thread mif86
Hi! I'm having problems with all ajax updates, $(#element).load() etc., gradually eating up IE 7's memory. Simple test case to reproduce: http://mif86.com/memtest.htm It periodically loads another page's html content (http://mif86.com/ memtest2.htm) into a Div using jQuery's $(#element).load

[jQuery] Re: Stripping last html tag within an area.

2009-03-08 Thread Karl Swedberg
Do you just want to remove the p and /p tags? Or do you want to remove the paragraph along with along with all of its contents? If the latter, then, yes, use ('article p:last').remove(); --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 8, 2009, at

[jQuery] Re: Stripping last html tag within an area.

2009-03-08 Thread carbon
just the tags p, leaving the content 'last paragraph'. On Mar 9, 10:50 am, Karl Swedberg k...@englishrules.com wrote: Do you just want to remove the p and /p tags? Or do you want to   remove the paragraph along with along with all of its contents? If the   latter, then, yes, use ('article

[jQuery] Re: jQuery IE7 Memory leak

2009-03-08 Thread comslash.com
I would have to guess that because you are using the .load() in such a rapid way that the load commands are stacking up, you will want to either increase your interval time or set something up that only one load command is going out at a time. On Mar 8, 7:42 pm, mif86 finsta...@gmail.com wrote:

[jQuery] Re: jQuery IE7 Memory leak

2009-03-08 Thread mif86
Ah, maybe a race condition occours or something, then. But it's strange that I can only see it happening in IE. I've modified the code to run another load() in the callback from the first load(), instead of periodically. It seems though, that it still keeps growing. I'll leave it on over night

[jQuery] Re: Stripping last html tag within an area.

2009-03-08 Thread comslash.com
Try this ... I did some testing and it seems that the $(this) was not selecting correctly as before and the :last was selecting only the last p tag on the page not every the last p tag in each article $('articlep:last-child').each(function(){ $(this).replaceWith($(this).html()); });

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

2009-03-08 Thread Tin
Hey All, I've been working on a grid/spreadsheet control prototype during the last couple of weeks. Seeing how there doesn't seem to be a lot of other choices for this sort of thing, I had to write my own. I've put the project up on Google Code and am looking for experienced developers who can

[jQuery] Re: getJSON url variable broken

2009-03-08 Thread David Muir
My guess is that you could still do it if you globally set async to false. Wouldn't recommend it though. David James wrote: Yes, David is right. My example would not work. Sorry about that. For other jQuery AJAX functions, there's an option to set 'async' to false if you do want to let your

[jQuery] cancelling default click handler for label/

2009-03-08 Thread Bill
I have markup that looks like this: div id=phrase:witness%2Bwhereof class=as-s-comp label class=checkbox title=witness whereof input type=checkbox value=witness whereof/ witness whereof /label a class=cl href=#(4104)/a /div When I click anywhere within the label, the

[jQuery] Re: Stripping last html tag within an area.

2009-03-08 Thread carbon
thats perfect! thanks comslash! On Mar 9, 11:29 am, comslash.com comsl...@gmail.com wrote: Try this ... I did some testing and it seems that the $(this) was not selecting correctly as before and the :last was selecting only the last p tag on the page not every the last p tag in each article

[jQuery] Re: A part of .ajax I don't understand

2009-03-08 Thread Ethan
Got it! thank you guys so much On Mar 8, 7:05 pm, donb falconwatc...@comcast.net wrote: And I'd recommend json_encode() in PHP and specifying 'json' as the datatype on theajaxcall.  Otherwise you may find the datae is not quite what you expect (likehaving  a trailing space or \n, and so on.

[jQuery] Re: cancelling default click handler for label/

2009-03-08 Thread MorningZ
is there any reason why you couldn't use a span instead of a label ? On Mar 8, 8:57 pm, Bill bllfr...@gmail.com wrote: I have markup that looks like this: div id=phrase:witness%2Bwhereof class=as-s-comp     label class=checkbox title=witness whereof         input type=checkbox

[jQuery] Re: Need Help with changing css on an object

2009-03-08 Thread zeckdude
phpbutcher wrote: Charlie is absolutely right. You can simplify it by using the css :hover to do your rollover states. You still however need to do something on top of that to handle the current problem you're having with it keeping the state change when a user clicks on one of the nav

[jQuery] Re: Need Help with changing css on an object

2009-03-08 Thread zeckdude
I will definitely add sprites though, I forgot to mention that. Thanks for that suggestion. -- View this message in context: http://www.nabble.com/Need-Help-with-changing-css-on-an-object-tp22394562s27240p22405565.html Sent from the jQuery General Discussion mailing list archive at Nabble.com.

[jQuery] Re: cancelling default click handler for label/

2009-03-08 Thread Bill
Actually, no. Thanks for the simplification! On Mar 8, 6:12 pm, MorningZ morni...@gmail.com wrote: is there any reason why you couldn't use a span instead of a label ? On Mar 8, 8:57 pm, Bill bllfr...@gmail.com wrote: I have markup that looks like this: div id=phrase:witness%2Bwhereof

[jQuery] Re: cancelling default click handler for label/

2009-03-08 Thread David Muir
And why is the input within the label? I was under the impression that the correct format is: labelMy Label/labelinput type=checkbox / To have the label select the checkbox: label for=my-checkboxMy Label/labelinput id=my-checkbox type=checkbox / David MorningZ wrote: is there any reason

[jQuery] Re: years in jQuery Datepicker

2009-03-08 Thread MorningZ
Looking at the Configuration tab, you can set the value date:minDate and that should do the trick On Mar 8, 7:14 pm, Javier Guerrero demix...@gmail.com wrote: Hi, I'm using *jQuery Datepicker *http://keith-wood.name/datepick.html but, I can't  show more years before 1999. please,

[jQuery] Re: cancelling default click handler for label/

2009-03-08 Thread Karl Swedberg
having the input inside the label is perfectly valid. http://www.w3.org/TR/html401/interact/forms.html#h-17.9.1 To associate a label with another control implicitly, the control element must be within the contents of the LABEL element. In this case, the LABEL may only contain one control

[jQuery] unintrusive jQuery on Rails

2009-03-08 Thread macsig
Hello folks, I'm trying to integrate jQuery within a Rails application (instead scriptaculous+prototype) and I would like to make it unintrusive and I have already an issue with that. I'm using fancyzoom: a href=#small_box id=smallSmall Box!/a div id=small_box pHere is the contents that will

[jQuery] Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-08 Thread riteshn
Hi So my first time using jQuery. http://paste.pocoo.org/show/107037/ I have a simple django based xml-rpc server which works perfect when I test it with my python based XML-rpc client. I am always getting error when sending data using jQuery. When I set processData: true - the server is

[jQuery] Re: Jquery ajax doesn't work in firefox on my site, once it used to be.

2009-03-08 Thread Makara Kao
Thank James for your reply. It's so strange that it has error in my browser (Firefox 3.0.7). And I can see the error message through firebug as following: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; HTMLHEADMETA HTTP-EQUIV=Content-Type

[jQuery] Re: Using .ajax to do XMLRPC - I must be doing something very stupid

2009-03-08 Thread Karl Rudd
jQuery doesn't include XML serialisation in it's core. A quick search of the plugins repository came up with two projects that might help (there may be more): RPC http://plugins.jquery.com/project/rpc The is rpc(remote procedure call) client implementation based on JQuery. It creates an rpc

[jQuery] Help with selectors and :not()

2009-03-08 Thread Yansky
Hi, I'm trying to get all table rows on a page that have an id that starts with the letter r, but not any table rows that have id's which contain the word review. I've tried to use the :not() method, but I don't think I'm using it correctly as it doesn't seem to be filtering out table rows that

[jQuery] Re: Ajax get is not working in IE

2009-03-08 Thread Kranthi
Hi All, Please help!! Thanks | Kranthi On Mar 5, 4:00 pm, Kranthi kranthi@gmail.com wrote: Hi All, I am new to JQuery. I tried this example from http://www.webmonkey.com/tutorial/Easy_XML_Consumption_using_jQuery This works fine in Firefox but in IE I am not able to see the data.

[jQuery] Re: search nodes in XML

2009-03-08 Thread Kranthi
Hi All, Please help!! Thanks | Kranthi On Mar 5, 4:09 pm, Kranthi kranthi@gmail.com wrote: Hi All, I have a employees.xml, which contains employee nodes. No in my HTML I should have a text box and a seach button. Input value is sth like G% or Go%. I need to display all the matching