[jQuery] Re: Superfish - modified Richard Willis

2008-05-07 Thread Joel Birch
If the 'if' is removed from the out function, the menu almost works perfectly. The only downside is that the current second tier menu is 'refreshed' when you mouseout rather than simply staying revealed. It disappears then animates back in as if it is being restored as it would if you moused out f

[jQuery] Re: Superfish - modified Richard Willis

2008-05-07 Thread Joel Birch
Just as I hit "send" I realised that you are indeed wanting to use the pathClass for the second tier of menu. The pathClass feature was only ever tested to work with two tiers unfortunately, so it makes sense that this bug exists. I'll have to have a think about what would be required to make this

[jQuery] Re: Superfish - modified Richard Willis

2008-05-07 Thread Joel Birch
Hi Drew, If you remove the pathClass option, everything works fine. You don't seem to be using that feature so it should not be in the options object. Remove this line: pathClass : 'active', It looks like you could remove the bgIframe plugin also as you have not included the intialisation code f

[jQuery] beginner question on show/hide and reusing functions

2008-05-07 Thread illtron
I'm new to (writing anything myself with) jQuery, so bear with me if this is a boneheaded question. I'm trying to build a box that starts with six options, then if you click one of them, that content fades out, and is replaced with the content for that option. (You're given a different search box

[jQuery] Checkbox confusion

2008-05-07 Thread mr4d
Hi all, Can't quite get the the following functionality to work: 1. when I click on an un-checked checkbox, I want the box to be checked AND to raise an alert showing the text of the item which has just been checked. 2. Similarly if the user unchecks the box I want to raise an "unchecked" aler

[jQuery] Re: jquery docs - example not working

2008-05-07 Thread Richard D. Worth
Both val(val) demos working for me - FF2 on XP. - Richard On Wed, May 7, 2008 at 4:20 PM, JP <[EMAIL PROTECTED]> wrote: > > why does this jquery example for val(val) of radio buttons not work ? > > http://docs.jquery.com/Attributes/val >

[jQuery] Re: Need help with hover and fadein and fade out

2008-05-07 Thread Glen Lipka
Something like this? http://www.commadot.com/jquery/hoverTableFade.php Glen On Wed, May 7, 2008 at 11:25 AM, Aaron <[EMAIL PROTECTED]> wrote: > > no that's not what I plan to do. What I am trying to do is this: I > have an image of the user already on the page when the user puts it's > mouse

[jQuery] Re: Modal Dialog in blockUI

2008-05-07 Thread Nathaniel Whiteinge
On May 6, 9:34 am, Adam <[EMAIL PROTECTED]> wrote: > Is it possible to show an external webpage inside of a blockUI modal > dialog? I'd like to call another page via ajax and populate the > dialog instead of using a reference to a hidden div, etc. You bet:: $('someLink').click(function(){

[jQuery] Re: Best way to do Lightbox-like modal windows?

2008-05-07 Thread Wizzud
There's Shadowbox too (http://mjijackson.com/shadowbox/). On May 8, 12:06 am, Adwin Wijaya <[EMAIL PROTECTED]> wrote: > I use JQuery UI Dialog ...easy and elegant :) > enough for simple to complex dialog box. > > for displaying error/warning/info I use jqalert() as replacement of > alert box by

[jQuery] Re: Best way to do Lightbox-like modal windows?

2008-05-07 Thread Adwin Wijaya
I use JQuery UI Dialog ...easy and elegant :) enough for simple to complex dialog box. for displaying error/warning/info I use jqalert() as replacement of alert box by browser. On May 8, 4:36 am, Kyrre Nygård <[EMAIL PROTECTED]> wrote: > Hello! > > What's the best way to do a Lightbox-like moda

[jQuery] Re: SELECTOR MADNESS! How To Grab Lowest Child Node's Text?!

2008-05-07 Thread Ariel Flesler
Hey, made a 10 min class to do this. It doesn't use jQuery at all, so it will work as fast as possible. You only need to specify the translating function. Made a blog post to detail its use. http://flesler.blogspot.com/2008/05/textnode-translator-for-javascript.html I never used Google translat

[jQuery] Re: Best way to do Lightbox-like modal windows?

2008-05-07 Thread mmiller
blockUI - http://www.malsup.com/jquery/block/ You wanted simple. On May 7, 3:36 pm, Kyrre Nygård <[EMAIL PROTECTED]> wrote: > Hello! > > What's the best way to do a Lightbox-like modal windows? jqModal? > Facebox? Thickbox? There are so many options out there, so many of > them look so bloated a

[jQuery] Simple AJAX Call to Google Maps

2008-05-07 Thread quigebo
I'm having trouble taking various fields from a form, concatenating them and then sending it off to do a local business search on Google maps. I'll send the results to a lightbox for users to click, which will return the location information to another text field. Sorry, i'm new to the jQuery/JS s

[jQuery] Best way to do Lightbox-like modal windows?

2008-05-07 Thread Kyrre Nygård
Hello! What's the best way to do a Lightbox-like modal windows? jqModal? Facebox? Thickbox? There are so many options out there, so many of them look so bloated and really getting confused. Maybe you guys with experience and all could show me the right way? I'm looking for the simplest, most eleg

[jQuery] Re: textarea remplacement

2008-05-07 Thread Jeffrey Kretz
Do you mean: a) A way to replace a textarea on a page with something else? b) A user-input element similar to a textarea? JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of LPA Sent: Wednesday, May 07, 2008 3:12 PM To: jQuery (English) Subject:

[jQuery] textarea remplacement

2008-05-07 Thread LPA
Hi, I'm searching for a textarea remplacement. Thanx for your help

[jQuery] Re: validating dynamically generated data

2008-05-07 Thread Jörn Zaefferer
You need to run that validation on submit, too. If you don't need remote validation, you can still use the validation plugin and implement the logic you have as a custom method: http://docs.jquery.com/Plugins/Validation/Validator/addMethod#namemethodmessage Jörn On Wed, May 7, 2008 at 8:07 PM, j

[jQuery] Re: [autocomplete] Hyperlinks in returned list

2008-05-07 Thread Jörn Zaefferer
Hi Jose, just replace the "location.href = item.url" code with window.open(item.url). Jörn On Wed, May 7, 2008 at 5:50 PM, Jose <[EMAIL PROTECTED]> wrote: > Hi, > > Is Chris approach documented anywhere ? It would be useful to be able to > open a new window too. > > I did have this requirement

[jQuery] Re: Expression/Selector question...

2008-05-07 Thread Karl Swedberg
Hey Dan, Yeah, it's also strange that while this doesn't work: $("body > ul > li").filter($li[0]); this does: $("body > ul > li").not($li[0]); I'm a little lost by your parents example, though. Not sure exactly what you're trying to get (esp. since you don't show where you'v

[jQuery] Re: preset selection of radio buttons

2008-05-07 Thread JP
I can never tell what's working here because there is the "lag time " of what is posted. if stuff is immediately mailed out then that is unfortunate, since the group allows for removal. The two concepts seem to be incompatible. On May 7, 1:17 pm, Christoph Haas <[EMAIL PROTECTED]> wrote: > On

[jQuery] Re: jQuery Conference

2008-05-07 Thread Jonathan Sharp
Just throwing this out there, but I'm guessing it may be similar to the one day jQuery Camp '07 that was in Boston, MA following The Ajax Experience East conference (http://theajaxexperience.com). TAE is scheduled for Sept/Oct of this year. Cheers, -Jonathan On Wed, May 7, 2008 at 2:20 PM, Joe <

[jQuery] jquery docs - example not working

2008-05-07 Thread JP
why does this jquery example for val(val) of radio buttons not work ? http://docs.jquery.com/Attributes/val

[jQuery] Re: Superfish pathClass problem

2008-05-07 Thread I-CRE8
On May 7, 11:38 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Yes, that's correct. It's a job best suited to a server-side language > so that the "current" information is still present when JS is not > available. > > Joel Birch. Thanks Joel -- Dave Buchholz I-CRE8 http://www.i-cre8.co.uk Skype I

[jQuery] Re: preset selection of radio buttons

2008-05-07 Thread Christoph Haas
On Mittwoch, 7. Mai 2008, JP wrote: > I hate this google group -- can't edit posts You said that three times already. You do know that this "group" is mainly a mailing list? And that's is technically impossible to cancel emails that are sent our to thousand of recipients already? Christoph s

[jQuery] preset selection of radio buttons

2008-05-07 Thread JP
(I hate this google group -- can't edit posts) I need to know how to preset multiple radio buttons Revised sample code: $(document).ready(function(){ $("#radioname:checked").val(["0", "1"]); });

[jQuery] Re: preset selection of radio buttons

2008-05-07 Thread JP
I hate this google group -- can't edit posts Revised sample code: $(document).ready(function(){ $("#radioname:checked").val(["0", "1"]); }); On May 7, 11:12 am, JP <[EMAIL PROTECTED]> wrote: > what is correct way to preset selection o

[jQuery] Re: preset selection of radio buttons

2008-05-07 Thread JP
I hatwe this google forum -- can't edit posts Revised sample code: $(document).ready(function(){ $("#radioname:checked").val(["0", "1"]); });

[jQuery] Re: Syntax confusion

2008-05-07 Thread Josh Nathanson
It is valid -- you can declare multiple variables in javascript by comma-separating the declarations as it is done there. -- Josh - Original Message - From: <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Wednesday, May 07, 2008 12:03 PM Subject: [jQuery] Syntax confusion X-no

[jQuery] Re: SELECTOR MADNESS! How To Grab Lowest Child Node's Text?!

2008-05-07 Thread Joe
Balazs, Thanks, but I tried your plugin and it did not work. There is no demo for say clicking a button and converting the page; the bookmarklet is cool, but doesn't really help when I can't get the plugin to work. I emailed you so hopefully I'll hear back... I did actually re-create your plug

[jQuery] jQuery Conference

2008-05-07 Thread Joe
Just watched John's video on What's Next for jQuery and Javascript ( http://vimeo.com/984675 ) and he mentioned a conference. I will definitely be attending, but need to know where I'm going and when! Anyone have any details on this?

[jQuery] Syntax confusion

2008-05-07 Thread [EMAIL PROTECTED]
X-no-archive:yes Is the comma after line 1854 valid syntax or is it an error? // Init the element's event structure 1854 var events = jQuery.data(elem, "events") || jQuery.data(elem, "events", {}), 1855 handle = jQuery.data(elem, "handle") || jQuery.data(elem, "handle", function(){ 1856 // retur

[jQuery] New to JQ

2008-05-07 Thread Clayton McIlrath
Hi All, I'm a newbie to jQ and would like to use it/implement for a site. The goal i'm trying to achieve is similar to site http://www.mariusroosendaal.com/ in appearance but in functionality i would like it to load content via Request and then slide the box down with the containing content w

[jQuery] Re: append div trouble [SOLVED]

2008-05-07 Thread flipthekid
That was it Richard. thanks. I ended up using livequery to rebind the click handler $('#navigation [EMAIL PROTECTED]"#"]').livequery('click', function(event) { $('#navigation').empty().append(hex); . . that way the append content acts like it used to. you can see it in action here --> htt

[jQuery] Re: Need help with hover and fadein and fade out

2008-05-07 Thread Aaron
no that's not what I plan to do. What I am trying to do is this: I have an image of the user already on the page when the user puts it's mouse over the image I want a table or somthing that would fade it on top of the image . so that table will contain all photos the user uploaded when the use

[jQuery] Re: Need help with hover and fadein and fade out

2008-05-07 Thread Aaron
Ok here is the code I made so far. $(document).ready(function() { $('#table1').hide(); $("#image").hover( function () { $(this).fadeIn('#table1'); }, function () { $(this).fadeOut('#table1');}) On May 7, 1:34 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > Does this help?

[jQuery] Re: SELECTOR MADNESS! How To Grab Lowest Child Node's Text?!

2008-05-07 Thread Balazs Endresz
Hi! I replied in the previous thread but it hasn't appeared in Google groups, just here: http://www.nabble.com/Selector-Madness!--How-to-Select-all-the-Text-on-a-Page--td17018965s27240.html So there is a translate plugin that works this way: http://code.google.com/p/jquery-translate/ On May 5

[jQuery] Re: validating dynamically generated data

2008-05-07 Thread jpl80
I figured it out... mostly: $(document).ready(function() { $("div.instock input.order-qty").keyup(function(){ var x = parseInt($(this).val()); var y = parseInt($(this).siblings("span.qty").attr("title"));

[jQuery] function not showing scrollbars in IE6

2008-05-07 Thread Lonnie Ezell
I've got a page that has 3 forms on it and using a dropdown to select which form to show. It's letting the admin create 3 other types of users. It works fine in Safari, Firefox and IE7, but in IE6 when a form is shown that expands past the bottom of the page, it displays everything, but the window

[jQuery] Has anyone ever done a newsletter signup?

2008-05-07 Thread Kyrre Nygård
Hello. I'm trying to patch together something like the newsletter signup on http://www.gimme.no except with jQuery and perhaps Facebox. I haven't gotten around to finding the PHP code I'll be needing either. When I do, it'll probably be something so bloated that I'll have to spend hours trying to

[jQuery] preset selection of radio buttons

2008-05-07 Thread JP
what is correct way to preset selection of radio buttons? $("#radioname:checked").val(["0", "1"]); });

[jQuery] droppable() question

2008-05-07 Thread chris
I have a list of pictures that I would like to allow the user to drag and drop to a trash can. All works fine except an unwanted get request is made on the picture, after it is trashed. Here is the code: $(document).ready(function(){ $(".photos img").draggable(); $("#trash").dro

[jQuery] Re: Need help with hover and fadein and fade out

2008-05-07 Thread Glen Lipka
Does this help? http://commadot.com/jquery/hoverFade.php Maybe if you post something in the ballpark, we could help troubleshoot it? Glen On Tue, May 6, 2008 at 5:48 PM, Aaron <[EMAIL PROTECTED]> wrote: > > Can you give me an example code of what I need to do to get a table to > fade in above t

[jQuery] Re: need some help with selecting text nodes

2008-05-07 Thread Glen Lipka
What about doing is client-side? So cycle through each line with each() and then use .wrap(""). This will put into the DOM what you need to use later. Also, you might be interested in this plugin. http://www.jquery.info/The-plugin-SearchHighlight It finds text based on search criteria in a large

[jQuery] Sending datastring using $.ajax with 'invalid characters'

2008-05-07 Thread Richard W
Hi There I have been struggling to correctly format a datastring to be sent via POST that may contain 'invalid characters'. I am trying to send text & html via ajax post, and this has been achieved mainly due to Javascript's escape() function. For example, to send the ampersand (&), escape() is u

[jQuery] Re: requesting and sending JSON in a ruby on rails app

2008-05-07 Thread Michael Geary
Ah, very good, Max, you're a step ahead of me on the debugging. Since you've narrowed it down to a Rails issue, would it make more sense to ask on a Rails list? Don't get me wrong, there are a number of Rails experts here who would probably be happy to help, it's just that you might get more focu

[jQuery] Re: requesting and sending JSON in a ruby on rails app

2008-05-07 Thread Max Williams (Brighton)
Hi Mike, thanks for your advice. In answer: 1) The JSON is valid (it was generated using rails .to_json method and that site you recommended says it's valid) 2) I'm pretty sure a JSON download will work with JS/jQuery, because the async treeview example uses a php script to return some json - s

[jQuery] livequery in navigation

2008-05-07 Thread kws452
I am using jquery and superfish in my horizontal navigation menu. The navigation is loaded via an external file. The drop down menus set up nicely, and I have js set up so that when a user select a menu item, different content is loaded into a in the middle of the page depending on what they

[jQuery] Re: Giving more parameters to the async load function ?

2008-05-07 Thread jayg
I haven't gotten to quite that level of abstraction yet, but I came up with a solution for my problem that could be helpful to some. I will think about this more and see if I can make it more generic to be reused by others, but here is what I did for now (these changes are all in jquery.treeview.

[jQuery] Re: event data ?

2008-05-07 Thread Michael Geary
Using the name "btn" for the event function parameter will surely make things confusing - because you'll be looking for it to be a DOM element for the button, which it isn't. The parameter to the event function is an *event* object. Inside the function, "this" refers to the button element, and so

[jQuery] Re: requesting and sending JSON in a ruby on rails app

2008-05-07 Thread Michael Geary
It sounds like you're trying to debug three things at once: * Can I generate valid JSON from my Rails app? * Can I get a JSON download to work with JavaScript and jQuery? * Can I get async JSON to work with treeview? I would simplfy the debugging problem by separating those three questions and

[jQuery] Re: requesting and sending JSON in a ruby on rails app

2008-05-07 Thread the_woodsman
Well, I don't use RoR or treeview, so my advice is more general... jQuery("#prop-tree").treeview({ url: "tree/self_and_children" }); a) No idea what this actually achieves, but I think the goal is to set the content type header. Using Firefox (with Firebug/Developer Exte

[jQuery] Re: [autocomplete] Hyperlinks in returned list

2008-05-07 Thread Jose
Hi, Is Chris approach documented anywhere ? It would be useful to be able to open a new window too. I did have this requirement when I first found the autocomplete library last year. I ended up writing my own autocomplete solution to meet the requirements. Let me know if you plan to develop a bet

[jQuery] Firing a jQuery function from loaded content via the load method

2008-05-07 Thread aldomatic
Firing a jQuery function from loaded content via load method. It seems to work fine in FF and IE but Safari wont make it happen :( Thanks for the help.

[jQuery] Re: Background image change fade transition

2008-05-07 Thread sdm
I figured it out just in case someone ends up looking here for the answer! $(document).ready(function(){ $(".small").hover(function(){ var hoverObj = this; $("#big").fadeOut("fast", function(){ $(this).css("backgroundImage", "url("

[jQuery] Superfish - modified Richard Willis

2008-05-07 Thread Drew
Hi, I've seen one other post regarding this, but no one ever answered so I'm trying again. I'm using the Richard Willis example (http://users.tpg.com.au/j_birch/ plugins/superfish/richard-willis-example/), and have also taken the functionality from the All Horizontal example (http://users.tpg.co

[jQuery] Re: [ANNOUNCE] markItUp! 1.1 is released!

2008-05-07 Thread Karl Swedberg
Excellent, Jay! Very excited to hear about those changes. This gives me even more motivation to include it for comment textareas on learningjquery.com Cheers! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On May 7, 2008, at 7:17 AM, Jay Salvat wrote

[jQuery] Re: Photo Crop proposal

2008-05-07 Thread tlob
Hi Don't sell the functionality (crop,rotate,...) Sell the service: Online Image manager. Store, manage, Edit, Share, Comment, . my 2 Cents ;-) cheers tlz On May 5, 5:21 pm, LTG <[EMAIL PROTECTED]> wrote: > Hi, (pls excuse dbl post) > > I would like to get feedback on: >1) Would a p

[jQuery] Re: Photo Crop proposal

2008-05-07 Thread LTG
Does anyone know who did the existing "real world" crop example? I see no credits for it. Michel, I have looked at your site. You have done nice work. If you are interested in adding the features for my spec to earn a bounty please contact me (email is in my profile). Regards, LTG On M

[jQuery] jqModal Trigger

2008-05-07 Thread Adam
I have a question regarding the jqModal trigger. I'm writing in a portal environment, which makes things a little more complicated. I am opening a modal dialog using a link in a portlet, but I'd like to update the portlet via ajax after a form in the dialog is submitted. In order for me to updat

[jQuery] Re: how do it?

2008-05-07 Thread Luciano Mazzetto
I try do your example, but no make upper-case, so i try: $(this).val($(this).val().toUpperCase()); and got success without problems, onkeyup all upunts make this value for upper-case... thank`s On Tue, May 6, 2008 at 5:47 PM, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Luciano, > If you're

[jQuery] requesting and sending JSON in a ruby on rails app

2008-05-07 Thread Max Williams (Brighton)
Hi - first of all this is a plugin-specific question (about treeview) - i sent it to the plugin discussion page but it seems pretty dead (no posts for over a year), so i'm sending it here as well. If anyone could help me out that would be fantastic. I've been using treeview and have no problems

[jQuery] Re: Expression/Selector question...

2008-05-07 Thread Dan G. Switzer, II
Just wonder if there were any comments to this? On May 5, 4:24 pm, "Dan G. Switzer, II" <[EMAIL PROTECTED]> wrote: > One thing that I've noticed is that the "expr" attribute is pretty > inconsistent across methods (such as filter, find, parents, parent, etc.) > The documentation is very vague abo

[jQuery] Re: validating dynamically generated data

2008-05-07 Thread jpl80
pedalpete wrote: > > > Have you checked out the validate plugin? > http://plugins.jquery.com/project/validate > > Their is a method they have where you can actually run an ajax call to > your server to check for a valid input, or you could use it with your > statically set value as you have

[jQuery] IE7, window.open hangs

2008-05-07 Thread winood
I am trying to add JQuery functionality to a window created with window.open, document.write, etc. and as a result IE7 is hanging (99% cpu). Here is the html creating the window: Junk1 $(document).ready(function() { alert('Test'); }); function popUp() { OpenWindow=window.open("", "newwin",

[jQuery] Re: slideToggle Problem

2008-05-07 Thread Bo
never mind, found the answer about 1 minute after posting this here On May 7, 9:39 pm, Bo <[EMAIL PROTECTED]> wrote: > Hello, > > I am using this code to slide a div up/down: > > $("#slide").click(function(){ > $("#slider").slideToggle("slow"); > $(this).toggleClass("active"); > >

[jQuery] Loading a js file with the ajax content

2008-05-07 Thread vimal
i already have a base javascript file containing $ (document).ready().. but i am loading a content using ajax into a div container for those items i just need to load a js file with a $ (document).ready() can any one help me regards vimal das

[jQuery] Re: How to start a slide show (Cycle Plugin)

2008-05-07 Thread Mike Alsup
> and I don't know how to start my slideshow after it stops (due to > options: autostop and autostopCount). I know there are two opposite > arguments - 'pause' and 'resume' that allow us to control our > slideshow (for example: $('#s4').cycle('pause');). I've seen in > documentation that ther

[jQuery] How to start a slide show (Cycle Plugin)

2008-05-07 Thread mzurek
Hi, I have a following problem: I used a Cycle Plugin configured as follows: $('#s4').cycle({ fx: 'custom3', easeOut: 'backin', easeIn: 'bounceout', after: onAfter4, speed: 800, timeout: 3, autostop: 1, autostopCount: 2, cssBefore: { top: 0,

[jQuery] Re: strange behaviour: multiple selectors responding

2008-05-07 Thread bobh
karl, thanks for your help. you make it seem so easy... On May 6, 10:33 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi Bob, > > I'd probably just do this without the ajaxStart and ajaxStop methods. > Try this: > > $("#contests ul li span a").toggle( > function(){ > //store ref to

[jQuery] Re: getJSON, $(this) and scope

2008-05-07 Thread [EMAIL PROTECTED]
Thanx a lot for that :)

[jQuery] slideToggle Problem

2008-05-07 Thread Bo
Hello, I am using this code to slide a div up/down: $("#slide").click(function(){ $("#slider").slideToggle("slow"); $(this).toggleClass("active"); }); It works alright, just like it's supposed to, but how can I have the #slide div be in the up position by default? Right now it's

[jQuery] Re: getJSON, $(this) and scope

2008-05-07 Thread Mike Alsup
On Wed, May 7, 2008 at 2:30 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi everybody - new to both this group and jQuery, so please be > gentle ;) > > I have some code which roughly looks something like this: > > $(".container ul > li > a").click( > // only do the JSON if the

[jQuery] [ANNOUNCE] markItUp! 1.1 is released!

2008-05-07 Thread Jay Salvat
Hi all, markItUp! 1.1 is released! This release brings thousands bug fixes, better cross-browser compatibility (Mac users will be happy!), removal function, Html preview in templates, and due to popular demand, no more absurd textarea ID moving. Some advanced examples and add-ons have been added

[jQuery] Re: Refresh a Div in a page (via a button)

2008-05-07 Thread Christoph Haas
On Mittwoch, 7. Mai 2008, chrbar wrote: > I'm looking for a code/script which allows the user to refresh (via a > button) a specific Div inside a Web page, without refresh the full > page. Use an (on)click event on a button that points to Javascript issuing a $.load from your backend to the DIV a

[jQuery] Re: Help With XML Parsing + Array Manipulation

2008-05-07 Thread Tony
Try this $(function() { $.ajax({ type: "GET", url: "devices.xml", dataType: "xml", success: function(xml) { $ (xml.responseXML).find('device').each(function(index){

[jQuery] Re: Unified approach to get the value of input fields

2008-05-07 Thread Richard D. Worth
$(":input").val() - Richard On Wed, May 7, 2008 at 5:35 AM, August Lilleaas <[EMAIL PROTECTED]> wrote: > > Hello there, > > A textarea's value is inside the actual textarea tags, while input > fields values is stored in the value attribute on the tag. Is there a > unified way to get the value of

[jQuery] Re: Superfish pathClass problem

2008-05-07 Thread Joel Birch
Yes, that's correct. It's a job best suited to a server-side language so that the "current" information is still present when JS is not available. Joel Birch.

[jQuery] Re: Superfish Menu Fade-out

2008-05-07 Thread Reuben
Thanks Joel Hadn't heard of Accordion but I'll give it a go. I agree, the delay stuff isn't needed quite so much with my nav. I'll see what I can do with it :o) Cheers On 7 May, 15:41, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Reuben, > > No further progress to report on the closing animat

[jQuery] jqModal add trigger with javascript

2008-05-07 Thread rauchi
Hi! When I add a trigger with javascript and after that I click on the trigger, the jqModal doesn't show. First i Click on "show jqModal" and everything works perfectly, after that i click on "show 2nd trigger" and the 2nd trigger is shown. Now i Click on the 2nd trigger "show jqModal2" but not

[jQuery] Re: Flash file redraw cutting through JS pop up window

2008-05-07 Thread Lewis
Hi guys Apologies for the late reply to this. thanks so much for your help, all useful information I didnt know - hope it will also be useful for others too. I now have a slightly strange thing going on though... The wmode (in my case using ) works to stop the flash redraw on the main pop up wi

[jQuery] how to access this function (flexigrid)

2008-05-07 Thread Adwin Wijaya
Hi .. I download the Flexigrid from http://www.webplicity.net/flexigrid/ and I just doing a test, everything work fine but I found that my quick search doesn't work .. and I don't know why. I have read the code and found doSearch() function to perform search ... but I don't know how to call it m

[jQuery] Re: Photo Crop proposal

2008-05-07 Thread netvibe
I've experienced with the jquery crop plugin.. I am busy with an imagemanager, where u can do lots of things with images. (rotate / crop / drag - drop / etc.) take a look @ http://www.netvibe.nl/imagemanager/ On May 6, 8:22 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > On Mon, May 5,

[jQuery] Re: TableSorter + Filtering + Ajax

2008-05-07 Thread Adwin Wijaya
Uhmm ... flexigrid looks more difficult to master that tablesorter :) btw, can tablesorter sort using ajax and pagination. I have 1000 data and I dont want to throw all the data to user. so i use pagination, separated into 10 records per page ... but I dont have any idea how to override the sort

[jQuery] getJSON, $(this) and scope

2008-05-07 Thread [EMAIL PROTECTED]
Hi everybody - new to both this group and jQuery, so please be gentle ;) I have some code which roughly looks something like this: $(".container ul > li > a").click( // only do the JSON if the a isn't followed by a DL if(!($(this).next("dl").length)){ $.getJSON("j

[jQuery] Re: Problem using livequery jquery.form and simplemodal together

2008-05-07 Thread paulp75
still getting used to google groups here. thought i posted a reply yesterday but it didnt show up here. options is set with var options = { target:'#fastcart' // target element(s) to be updated with server response }; thanks for your reply.

[jQuery] Unified approach to get the value of input fields

2008-05-07 Thread August Lilleaas
Hello there, A textarea's value is inside the actual textarea tags, while input fields values is stored in the value attribute on the tag. Is there a unified way to get the value of both text areas and input fields? $ (":input").attr("value") works for input fields, $(":input").text() works for t

[jQuery] Re: Superfish pathClass problem

2008-05-07 Thread I-CRE8
Joel, am I right in thinking that I have to add the css class to the relevant li items manually ? -- Dave Buchholz I-CRE8 http://www.i-cre8.co.uk Skype ID: I-CRE8 On May 7, 7:10 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Hi Dave, > > Sorry, but I don't understand your issue from what you pos

[jQuery] Re: TableSorter + Filtering + Ajax

2008-05-07 Thread Kevin Kietel
Hi Patrick, with Flexigrid, filtering is already possible! Using the following options, you can filter the initial data that is displayed. $("#flex1").flexigrid ( { url: 'post2.php', dataType: 'json',

[jQuery] Re: using.attr('type') returns undefined

2008-05-07 Thread Adwin Wijaya
works fine in my web as well ... may be you make a typo mistakes :) On May 7, 5:12 am, JP <[EMAIL PROTECTED]> wrote: > if i have > > if I do: > > $('#fname').attr('type') - it returns "undefined" > > how can I get the "type" ?

[jQuery] superfish in ie5.5

2008-05-07 Thread Ray Mckoy
A days ago i asked a question about compatibility of superfish in ie5.5. Now i see this: http://www.i-cre8.co.uk/sf-menu/ A superfish menu that works in ie5.5 at least in part (works, submenus but no sub-submenus) What is the difference?? How to implement this?

[jQuery] Re: Reinitialization of css values

2008-05-07 Thread Gildas
Greaaat! Thank you! My div are draggables and resizables. Now I would like to restore them in the previous state they were before I first click on it. Is that possible, please? Thanks! -Gildas On May 6, 6:54 pm, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > $(this).attr('style', ""); > > -o

[jQuery] Refresh a Div in a page (via a button)

2008-05-07 Thread chrbar
Hello, I'm looking for a code/script which allows the user to refresh (via a button) a specific Div inside a Web page, without refresh the full page. Do you have any idea how to do that? Thanks a lot for your help :) Chris

[jQuery] Help With XML Parsing + Array Manipulation

2008-05-07 Thread catharsis
Here is what I'm trying to do: (1) Parse an external XML, (2) enter the list of devices in the XML into an array, (3) sort the array alphabetically (and group items in the arrays by name if possible), (4) print the devices individually in table cells. Ideally, I'd like if the devices taken from

[jQuery] Re: [autocomplete] Hyperlinks in returned list

2008-05-07 Thread Jörn Zaefferer
I've documented my approach here: http://docs.jquery.com/Plugins/Autocomplete#Search_Page_Replacement Jörn On Sat, May 3, 2008 at 10:23 AM, theintoy <[EMAIL PROTECTED]> wrote: > > Jörn > > Hi. > > I would appreciate your solution too. Having checked the solution > provided by Chris across al

[jQuery] Re: Need help on jQuery.browser.version

2008-05-07 Thread RobG
On May 5, 1:11 pm, chrbar <[EMAIL PROTECTED]> wrote: > Thanks a lot Mike, I've tried, it works perfectly! > > I would like to add FF 1 and IE 5 which are not supported too. > Could you tell me if my code is correct... I think I did an error: Now you see the futility of browser detection as a st