[jQuery] Re: Parsing XML using jQuery

2008-01-28 Thread Alexandre Plennevaux
the first try will not work with latest jquery, as xpath is now into a seperate plugin. So stick to your second try. Also, make sure you search your xml when the xml is actually loaded, so in the ajax function callback $.ajax({//your params here}, function(xml,status){ if(status=='success'){ $('bu

[jQuery] Re: Parsing XML using jQuery

2008-01-28 Thread David Serduke
Actually if it doesn't have to be part of the DOM assuming you are passing in a context as the second parameter of $() which the original author is. I don't use the xpath plugin so I'm not sure about that but the second attempt you said failed worked for me. I got 3 alert boxes with '1', '2', '3

[jQuery] Re: New and better demos

2008-01-28 Thread Jack Killpatrick
Thanks for the additional demos, they opened my eyes to a few usages that I hadn't thought of when looking at the axis-based demos. Very nice. I'm wondering: could this be adapted to do "velocity based" (for lack of a better word) scrolling, like the iphone and ipod touch do? I'm thinking so

[jQuery] need menu plugin recommendation

2008-01-28 Thread Jack Killpatrick
Hi All, Can anyone recommend a jquery menu plugin to create a menu like the one in the header of this page? http://www.hologic.com/ah/index.cfm Things to notice: 1. images instead of text are used for top and bottom level menu items 2. both levels have a mouseover image 3. the submenu item

[jQuery] Re: JQuery Event Fires Before Expected

2008-01-28 Thread cnxmax
Found the problem. Had to take out the .change(); On Jan 28, 11:39 am, cnxmax <[EMAIL PROTECTED]> wrote: > I'm trying something pretty basic inJQuery(I think). > > I want to run a function that will make it so that every Input on the > page will run a function (in this case, alert) whenever the

[jQuery] AJAX Load Image Puzzle

2008-01-28 Thread jerryji
Hi JQuery Gurus, I'm sure someone will find this question simple -- I am serving images dynamically in my HTML as that every time /images/next is accessed, it returns a new image as Content-Type: image/jpeg byte stream. This is fine until I wrap it in a block like and hoping to update it via A

[jQuery] [validate] Validation Plugin - Associate array naming with a single error label

2008-01-28 Thread Dave Stewart
Hey folks, I often pass variables to the backend using associative arrays. However, I can't seem to associate the error label with the group as a whole, as in HTML Form terms, it's actually 2 separate elements, rather than array (which PHP sees it as). Associative Array Test At least one

[jQuery] Re: Parsing XML using jQuery

2008-01-28 Thread Dave Stewart
Not sure if this is the best reply, but in order to access the structure, it has to be part of the DOM, so best to inject in into a placeholder first: $('#placeholder).html(xml) // probably need to kill the xml declaration first Then you can use jQuery to traverse the tree. :D

[jQuery] AJAX Load Image Puzzle

2008-01-28 Thread jerryji
Hi JQuery Gurus, I'm serving images dynamically as where when /images/next is accessed my server side controller returns a new image as Content-Type: image/jpeg byte stream. This is all fine until I wrap it with and wish to use AJAX to update it. It seems that since the portion never changes,

[jQuery] Re: css generated by ajax response not bindable?

2008-01-28 Thread Karl Swedberg
you'll need to either re-bind events so that the inserted DOM elements can take advantage of them or use Brandon Aaron's excellent LiveQuery plugin. See here for details: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F --Karl __

[jQuery] Re: New and better demos

2008-01-28 Thread Richard D. Worth
Sweet stuff! Really nice demos. Thanks. - Richard On Jan 28, 2008 2:49 PM, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > Hi everyone > > Right before going on vacations, I improved the demos of both ScrollTo > and LocalScroll. I Applied a common style to all of them. And > simplified the code of

[jQuery] css generated by ajax response not bindable?

2008-01-28 Thread tvainisi
i write a in an ajax response, its seems to me that i cannot bind to the elements the ajax output provides. an example is on this page: http://www.authenticeducation.org/ajax_template/ , you must choose stage 2, performance tasks (and then the ajax content slides down and a new list appears), th

[jQuery] Load details content in new table row from within a table (Master/Detail)

2008-01-28 Thread JT
Hello, I'm new to jQuery (and javascripting) and was wondering how I go about showing the details of a record which is displayed in a table on a new row. Just a basic expand/collapse toggler that pulls data from another page and inserts it into a below. Here's the code I have. Before

[jQuery] jQuery CDN Host?

2008-01-28 Thread dgouldin
Is there a jQuery CDN host that anybody knows of?

[jQuery] Re: New and better demos

2008-01-28 Thread Karl Swedberg
Brilliant! Love the demos. Really slick. I hadn't realized how versatile you made these plugins. Terrific job! --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Jan 28, 2008, at 2:49 PM, Ariel Flesler wrote: Hi everyone Right before going on vacatio

[jQuery] Google map plugin?

2008-01-28 Thread Chris J. Lee
I've seen a couple google maps plugins. Tried out jmaps have had problems implementing jmaps. Is there one that is simpler? I just need a google map marker created on the map. And possibly a form to enter driving directions to it. Thanks in advance.

[jQuery] Re: Validate remote method response problem

2008-01-28 Thread Rus Miller
Hi Jörn, Thanks, give me a couple hours to get back home and I'll put something up. On Jan 28, 4:12 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Rus Miller schrieb:> [...] > > > It'd be great if someone could give it a look. > > Your code looks fine. Could you post a testpage? > > Jörn

[jQuery] Re: Is it possible to auto increment an appended value?

2008-01-28 Thread Gorkfu
Well the error had nothing to do with the javascript, I checked it in the lint. The php was causing the problem... It seems to be an issue with using OOP style php for what I wanted to do. I'll either have to recode that portion in procedural style or figure something else out. Thanks again, Charl

[jQuery] Re: Help me with my corners?

2008-01-28 Thread Matt
On Jan 28, 11:49 am, Matt <[EMAIL PROTECTED]> wrote: > I am trying to get corners working on some elements on this page: > > http://www.gondwana.wb.gs/index.html?Action=Commerce2.Product&ID=1 > > Can anyone have a look and maybe try to figure out what I'm doing > wrong? It looks odd in both Fire

[jQuery] ie6 fails to parse ajaxed scripts - rough fix provided

2008-01-28 Thread Brian
$.ajax evaluates scripts within the response when dataType is "HTML"... but not in ie6. To get around this, I have made this: function eval_html(html) { tags = /\(.*?)\<\/script\>/gi; if(html = html.match(tags)){ eval(html .join("")

[jQuery] Parsing XML using jQuery

2008-01-28 Thread step kapusta
I have a problem, couldn't solve it for a long time. I have the following XML file, returned from ajax: 1 Varvarka, 1 1 2 Nikolskaya, 1 2 3 Varvarka, 3 3 And I wanna get the value of 'city_id' element of the each element 'building'.

[jQuery] Generating a Mousedown event programmatically - similar to click() generation..

2008-01-28 Thread edwardbaafi
Hi.. Does anyone know how one could generate a mousedown event programmatically in order to cause a draggable to start dragging? I have a number of overlapping, absolutely positioned divs where certain sections of the background images are transparent.. What I need to do is to allow the user to

[jQuery] [ClueTip]

2008-01-28 Thread Sashidhar Kokku
How do you set tooltips for an input type of button ? -SK

[jQuery] Load details content in new table row from within a table (Master/Detail)

2008-01-28 Thread [EMAIL PROTECTED]
Hello, I'm new to jQuery (and javascripting) and was wondering how I go about showing the details of a record which is displayed in a table on a new row. Just a basic expand/collapse toggler that pulls data from another page and inserts it into a below. Here's the code I have. Before

[jQuery] Re: Email validation broken in plugin v1.2?!

2008-01-28 Thread Rus Miller
I noticed this issue too. On Jan 28, 2:15 pm, Yuval <[EMAIL PROTECTED]> wrote: > This email > [EMAIL PROTECTED] > validates perfectly on v1.2. No .com nothing... > Is it broken or is it done on purpose? > I tried it on my site AND on the remember-the-milk demo...

[jQuery] Re: jqURL?

2008-01-28 Thread Chris J. Lee
Thanks. On Jan 17, 8:37 am, "Josh Nathanson" <[EMAIL PROTECTED]> wrote: > It should be ok, it contains very little actual jQuery (mostly vanilla > javascript) but I haven't looked at it in a while. > > -- Josh (jqURL author) > > - Original Message - > From: "Chris J. Lee" <[EMAIL PROTECTE

[jQuery] Re: How to add item directly to $ ?

2008-01-28 Thread Kynn Jones
On Jan 28, 2008 1:23 PM, Klaus Hartl <[EMAIL PROTECTED]> wrote: > Try this: > > var opts = $( 'option', select ); > opts = opts.add( $('New option').appendTo(select)[0] ); Ah! I see what I was doing wrong. I thought mistakenly that the add method modified opts in situ, so I was not assigning i

[jQuery] Re: how to get name attribute from $(this)

2008-01-28 Thread Bhaarat Sharma
I have the following now function initMenu() { if ($.cookie('the_cookie')=='2') //comes here after refresh!! { alert('came here'); $("a").filter(".b").slideDown('normal'); //but this seems to be not working!! alert('did the sliding: ' + $("a").filter(".b").attr('nam

[jQuery] Re: how to get name attribute from $(this)

2008-01-28 Thread Bhaarat Sharma
thanks that woked! i am getting very confused as i have no prior experience with javascript either. Can you please see If im going in right direction with this? I am just trying to take this plugin http://www.i-marco.nl/weblog/jquery-accordion-menu/ and integrate cookies to it so once user hits

[jQuery] Re: New and better demos

2008-01-28 Thread Alexandre Plennevaux
love it! On Jan 28, 2008 8:49 PM, Ariel Flesler <[EMAIL PROTECTED]> wrote: > > Hi everyone > > Right before going on vacations, I improved the demos of both ScrollTo > and LocalScroll. I Applied a common style to all of them. And > simplified the code of LocalScroll's to make it work entirely wit

[jQuery] Re: how to get name attribute from $(this)

2008-01-28 Thread Matt Quackenbush
$(this).attr('name'); I think that's what you're looking for?

[jQuery] how to get name attribute from $(this)

2008-01-28 Thread Bhaarat Sharma
Hi I am trying to create a slideing menu. I have this code $('#menu li a').click( function() { $(this).next().slideToggle('normal'); } ); This is working fine but now i am trying to add the cookie plugin by kalus into this so that it remembers which menu item was open and

[jQuery] Re: Validate remote method response problem

2008-01-28 Thread Jörn Zaefferer
Rus Miller schrieb: [...] It'd be great if someone could give it a look. Your code looks fine. Could you post a testpage? Jörn

[jQuery] Re: [validate] Email validation broken in plugin v1.2?!

2008-01-28 Thread Jörn Zaefferer
Yuval schrieb: This email [EMAIL PROTECTED] validates perfectly on v1.2. No .com nothing... Is it broken or is it done on purpose? I tried it on my site AND on the remember-the-milk demo... Nope. Its perfectly valid, just as something like [EMAIL PROTECTED] is valid. Jörn

[jQuery] Validate remote method response problem

2008-01-28 Thread Rus Miller
I've been working with jQuery just a couple days and I'm having an issue with the Validate plugin. Please see these URLs for the source code: jQuery.Validate: http://darthead.pastebin.com/f7e7f8715 PHP remote script: http://darthead.pastebin.com/f2417d853 I'm trying to use the remote method

[jQuery] (Superfish) IE6 Lists Menu Vertically

2008-01-28 Thread AMichel
I'm am currently trying to fix a few bugs with a school website I am helping to develop. There seems to be a issue with IE6 and the top level of menu items that causes them to appear vertically instead of horizontally. After trying a few different things I concluded that the issue was that IE6

[jQuery] Re: styleswitcher problem 2 (aka "$ is not a function")

2008-01-28 Thread Bruce MacKay
Hello Karl, Thanks for the grasp. The link: http://temporarius.massey.ac.nz/dumpthis.htm I'm sure the cause of the fault is obvious, but I cannot find it. The fault goes when I call an earlier version of jquery into the file - I then triple-checked that the more recent version was actually

[jQuery] Re: Using ScrollTo to Scroll to DIV and center it in thw window

2008-01-28 Thread Ariel Flesler
Do you need to scroll the whole window ? Can't you have a fixed menu and you only scroll the content ? Ariel Flesler On 25 ene, 18:20, Keith <[EMAIL PROTECTED]> wrote: > I would like to have a navigation in my DIV's that allows me to jump > around to other DIV's placed around the screen. Right n

[jQuery] New and better demos

2008-01-28 Thread Ariel Flesler
Hi everyone Right before going on vacations, I improved the demos of both ScrollTo and LocalScroll. I Applied a common style to all of them. And simplified the code of LocalScroll's to make it work entirely with the plugin (no "raw" call to ScrollTo). I also added an AJAX version of the LocalScro

[jQuery] RE: Is it possible to auto increment an appended value?

2008-01-28 Thread Charles K. Clarkson
Gorkfu wrote: : Thanks, Charles this code helps a lot. I understand how it works. You're welcome. : However its giving me one parse error with the line with a single : double quote as showen below. Is it possible to combine the 2 lines : below or escape the double quote? : : --- Code ---

[jQuery] [validate] Email validation broken in plugin v1.2?!

2008-01-28 Thread Yuval
This email [EMAIL PROTECTED] validates perfectly on v1.2. No .com nothing... Is it broken or is it done on purpose? I tried it on my site AND on the remember-the-milk demo...

[jQuery] Re: Problem in [] filter

2008-01-28 Thread Sean Catchpole
You could try $('tr:has(td):even') [hasElement] support was removed in ~v1.2(perhaps earlier) in favor of :has(element) ~Sean

[jQuery] Re: IE PNG flicker and doubled content

2008-01-28 Thread polyrhythmic
Without digging deeply, this sounds like the applying-opacity-to-a-png- filtered-image bug + the ie-alpha-filter-over-text bug. Basically, IE 6 & 7 suck at processing opacity. http://www.hedgerwow.com/360/bugs/fix-ie-opacity-text.html http://www.quirksmode.org/bugreports/archives/2007/02/Cant_ha

[jQuery] Re: [validate] possible/how-to validate all forms on page with given class and/or name?

2008-01-28 Thread Jörn Zaefferer
Randall J. Parr schrieb: [...] All of the above selectors seem to work when tested in firebug; that is, the proper line items (forms) are found. 1) Is it possible to validate one or more forms in a given page based on something other than id? 2) If yes, what (probably simple thing) am I mi

[jQuery] Re: blockUI onClick stops processing in IE7

2008-01-28 Thread tekomp
Version 1.33. It's the latest from http://www.malsup.com/jquery/block/#download On Jan 26, 6:26 am, "Mike Alsup" <[EMAIL PROTECTED]> wrote: > > I'm using the blockUI plugin and it's tied to a form submit. When I click > > the submit button in IE7, blockUI goes into effect, but the form doesn't

[jQuery] Re: Problem in [] filter

2008-01-28 Thread Bohdan Ganicky
Hi, try this: $('tr:not(:has(th)):even') ... ...or consider using and elements in your markup to separate table-header from the data rows :) -- Bohdan matifibrahim wrote: > > > > // > $(document).ready(function() { > $('th').parent().addClass('table-heading'); > $('tr:not([th]):even').a

[jQuery] Re: Is it possible to auto increment an appended value?

2008-01-28 Thread Gorkfu
Thanks Charles, that code helps a lot. From reading it over I understand how it works, However, it's giving me one parse error on the line with a single double quote. Is it possible to combine the 2 lines below or escape the quote somehow... I'm not familiar with escaping javascript like in php.

[jQuery] Effect after content loaded via AJAX?

2008-01-28 Thread [EMAIL PROTECTED]
Hi there, I've been playing with jQPanels, loading remote content to some divs. Everything works fine using the load method - the callback function animates the div when the AJAX request is complete. However, not all the content in the div is loaded - images are still loading when the effects occ

[jQuery] JQuery Event Fires Before Expected

2008-01-28 Thread cnxmax
I'm trying something pretty basic in JQuery (I think). I want to run a function that will make it so that every Input on the page will run a function (in this case, alert) whenever the "change" event happens for that element. It does work, but for some reason the "test" alert also fires right wh

[jQuery] [validate] possible/how-to validate all forms on page with given class and/or name?

2008-01-28 Thread Randall J. Parr
I am new to jQuery and to the validate plugin. In fact, my initial use of jQuery is to try to use the validate plugin. So, please, bear with my possibly stupid questions. I have worked with all the demos and have them working fine in my environment. I have lifted and stripped down the demo.

[jQuery] Re: jQuery/JavaScript Jobs

2008-01-28 Thread polyrhythmic
Wow thanks. Never hurts! the jQuery community is so friendly. Damn, jQuery's everywhere now. You've created a whole job market! jQuery ftw. Charles On Jan 26, 1:26 pm, "John Resig" <[EMAIL PROTECTED]> wrote: > Hey Everyone - > > I just posted a whole bunch of JavaScript/jQuery jobs to my bl

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-28 Thread Jörn Zaefferer
Priest, James (NIH/NIEHS) [C] schrieb: -Original Message- From: Benjamin Sterling [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 9:56 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: http://jquery.com/api/ page broken The http://jquery.com/api/ is outdated; the docs

[jQuery] Re: How to add item directly to $ ?

2008-01-28 Thread Klaus Hartl
On Jan 28, 6:57 pm, "Kynn Jones" <[EMAIL PROTECTED]> wrote: > Hi. > I'm just getting started with jQuery and I'm still trying to figure out how > to do some common tasks.  Here's one of them. > > Suppose I have something like: >   var opts = $( 'option', select ); > > ...where select is some DOM

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-28 Thread Andy Matthews
That's much better Jörn, thank you! For me, the alphabetical listing is always going to be better. I know what the function is called, but I don't know whether it's under core, traversing, selectors, effects, etc. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECT

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-28 Thread Priest, James (NIH/NIEHS) [C]
> -Original Message- > From: Benjamin Sterling [mailto:[EMAIL PROTECTED] > Sent: Monday, January 28, 2008 9:56 AM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: http://jquery.com/api/ page broken > > The http://jquery.com/api/ is outdated; the docs for the > current jQuery ve

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-28 Thread Jörn Zaefferer
Andy Matthews schrieb: It's less an improvement on the content than it is the presentation. For the time being, give this a try: http://dev.jquery.com/view/trunk/tools/api-browser/ Also available for UI: http://dev.jquery.com/view/trunk/tools/api-browser/ui.html Jörn

[jQuery] How to add item directly to $ ?

2008-01-28 Thread Kynn Jones
Hi. I'm just getting started with jQuery and I'm still trying to figure out how to do some common tasks. Here's one of them. Suppose I have something like: var opts = $( 'option', select ); ...where select is some DOM element, and later I create a new option var o = document.createElement(

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-28 Thread Benjamin Sterling
I see, yeah that is something they have been discussing on the documentation mailing list. On 1/28/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > It's less an improvement on the content than it is the presentation. > > -- > *From:* jquery-en@googlegroups.com [mailto

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-28 Thread Andy Matthews
It's less an improvement on the content than it is the presentation. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: Monday, January 28, 2008 8:56 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: http://jquery.com/api/ page broken

[jQuery] Re: Error - getComputedStyle?

2008-01-28 Thread Josh Nathanson
This generally indicates that a bad variable type was passed to jQuery - for example passing an object as an argument to a method when it's expecting a string. -- Josh - Original Message - From: "cloudsteph" <[EMAIL PROTECTED]> To: "jQuery (English)" Sent: Monday, January 28, 200

[jQuery] Sortables -- Sortable within a sortable

2008-01-28 Thread Aaron Scott
See http://documents.ccme.ca/sandbox/ for example I have a sortable list, and the list items are themselves sortable lists. Everything works fine in Firefox, but in IE (both 6 and 7), you can only move an item once. After that, it's "frozen", and you can't move it, though the other items still wo

[jQuery] Problem in [] filter

2008-01-28 Thread matifibrahim
// $(document).ready(function() { $('th').parent().addClass('table-heading'); $('tr:not([th]):even').addClass('even'); $('tr:not([th]):odd').addClass('odd'); $('td:contains("Henry")').addClass('highlight'); }); // It is supposed to add 'even' and 'odd' classes to odd and even number of rows of a

[jQuery] Error - getComputedStyle?

2008-01-28 Thread cloudsteph
A JS novice having trouble with JQuery validating in all browsers I'm testing in [FF2, IE7, IE7, Safari 3] and I don't know how to get around it. Error causes a debug popup to appear in IE6, otherwise I could live without having the JS validate. Error is as follows: uncaught exception: [Excepti

[jQuery] Re: Too many autocompleter plugins

2008-01-28 Thread [EMAIL PROTECTED]
I use Jörn's plugin as well. From what I have read on the docs he's included the updates from most of the other variations on the autocomplete theme. I found it pretty simple to use and it had all the features I required. The only thing I'd like to do that I'm having a hard time with is a 'pres

[jQuery] Re: Ajax scoping problem

2008-01-28 Thread [EMAIL PROTECTED]
On Jan 22, 2:57 pm, yves coor <[EMAIL PROTECTED]> wrote: > I don't think I am but maybe I'm judging this wrongly. > I call two functions: > > readXml(...); > displayPlayer(...); > > The second one uses the global var myarray but it's always undefined. I think that that's where the asynchronous

[jQuery] Re: binding click event to area (image map)

2008-01-28 Thread Alexandre Plennevaux
hi again benjamin, make sure you check if you have the latest version, because there was some issues when some of dimension functionalities were integrated in jquery, and i think it was around the passage from jquery 1.1.to 1.2. It's all been fixed now in both the latest version of jquery and

[jQuery] Re: Looking for a Thumbnail Scroller with a Difference

2008-01-28 Thread Ariel Flesler
Hi studiobl Can't you bind a function to the click of the thumbnails, and there, make anything you need ? Ariel Flesler On Jan 22, 4:42 pm, studiobl <[EMAIL PROTECTED]> wrote: > I'm looking for a plugin that functions like > scrollShowhttp://www.freewebs.com/flesler/jQuery.ScrollShow/with the f

[jQuery] Re: binding click event to area (image map)

2008-01-28 Thread Benjamin Sterling
Alexandre, Thanks, the dimesions plugn was the issue. But sadly I need the dimensions plugin. Not sure why this is an issue. Thanks. On 1/28/08, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote: > > > hi benjamin, > > should'nt it better to use: > > $('area.optSelectMe').bind("click",function(){

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-28 Thread Benjamin Sterling
The http://jquery.com/api/ is outdated; the docs for the current jQuery version is at http://docs.jquery.com/. Andy, feel free to volunteer your time to help improved the documentation. On 1/28/08, Andy Matthews <[EMAIL PROTECTED]> wrote: > > > Same for me. Tried it in IE6, and FF2 and neither w

[jQuery] Re: binding click event to area (image map)

2008-01-28 Thread Alexandre Plennevaux
hi benjamin, should'nt it better to use: $('area.optSelectMe').bind("click",function(){ // do this and that }); that error message you get comes from dimensions.js, which typically return that message when the element sent to dimension cannot be found in the DOM. -- Original Mes

[jQuery] binding click event to area (image map)

2008-01-28 Thread Benjamin Sterling
Hey Guys, Not entirely sure what this is not working but have the following code: js: $('.optSelectMe').click(function(){ $('.noShowing').addClass('noNakedEye').removeClass('noShowing'); $('#'+$(this).attr('meta')).addClass('noShowing').removeClass('noNakedEye').highlightFade(

[jQuery] Re: http://jquery.com/api/ page broken

2008-01-28 Thread Andy Matthews
Same for me. Tried it in IE6, and FF2 and neither worked. jQuery has REALLY got to get the documentation improved. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Yansky Sent: Saturday, January 26, 2008 5:50 PM To: jQuery (English) Subject: [jQ

[jQuery] Re: Is it possible to do this with Jquery?

2008-01-28 Thread Matt Quackenbush
http://plugins.jquery.com/project/cycle On Jan 27, 2008 11:07 PM, cameron wrote: > I'm wondering if this is possible to do with jquery. > > An example of what I'm looking for can be found at the top of this > page; > http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=687 > > The images are scrollin

[jQuery] iFrame in draggable div

2008-01-28 Thread Arun Kumar
I'm using interface plugin's Sortable feature. When I placed an iFrame in side a draggable div, and when I drag it, that iFrame is getting refreshed. After dragging is cpompleted, it is getting refreshed once. How can I prevent refresh of an iFrame while dragging?

[jQuery] Re: Shadowbox Media Viewer

2008-01-28 Thread Rick Faircloth
Hi, Michael... Just wanted to let you know that the added "drag" feature is working great! Thanks and congratulations on a great piece of work! Rick > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of > Michael J. > I. Jackson > Sent: Sunday,

[jQuery] Re: styleswitcher problem 2 (aka "$ is not a function")

2008-01-28 Thread Karl Swedberg
Hi Bruce, A link to a page that we can look at would be very helpful. I wonder if your $('a.link1').bind('click',function is inside a $ (document).ready() ? If not, it might be getting called before the jquery.js file loads. Just grasping at straws here. --Karl _ Karl

[jQuery] Re: ui.tabs ajaxOptions success callback

2008-01-28 Thread Klaus Hartl
On Jan 28, 6:20 am, "Terrence Wood" <[EMAIL PROTECTED]> wrote: > To answer my own question I attached the function to the show callback: > > $('.pane ul').tabs({show:function(){alert('hello world')}}); > > On 28/01/2008, Terrence Wood <[EMAIL PROTECTED]> wrote: > > > Anyone know how I can add a ca

[jQuery] Re: How to get applet width and height in Firefox

2008-01-28 Thread spinnach
try this: var appletWidth = $('#MyApplet').attr('width'); dennis. Bastor wrote: Hi, I was trying to get an applet width and height using jquery and have found this problem: var appletWidth = $('MyApplet').width(); and in firefox got nothing but in IE works fine I have googled but fou

[jQuery] Re: Superfish problem with IE7

2008-01-28 Thread Joel Birch
Hi Charles, Great post - thanks very much for doing all of that debugging and writing such an informative response. I didn't have chance to set up test pages for this at the moment and now I may not need to. :) I should have thought of this as it has come up a few times... the cause of the probl

[jQuery] How to get applet width and height in Firefox

2008-01-28 Thread Bastor
Hi, I was trying to get an applet width and height using jquery and have found this problem: var appletWidth = $('MyApplet').width(); and in firefox got nothing but in IE works fine I have googled but found nothing about that. Sombody now why it does'nt work in FF ? And how can i get app

[jQuery] Drag and drop problem.

2008-01-28 Thread Arun Kumar
I'm using interface plugin's Sortable feature. I'm able to drag the draggable divs and there is no problem with sortable also. But when I drag any draggable div for the first time after loading or refresh, it is working. But then after, I'm not able to drag and drop or even sorting also not workin

[jQuery] Re: jQuery 1.2.2 compressed to 14.3KB

2008-01-28 Thread Chalkers
Minified and Gzip it is then! On Jan 25, 10:49 am, Eric Martin <[EMAIL PROTECTED]> wrote: > On Jan 25, 6:01 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> > wrote: > > > arf my bad,  good catch karl :) ,  indeed i meant the packed version ! And > > then i guess whatever's gzipped still needs to b

[jQuery] facing problem with ajax async type

2008-01-28 Thread ShaymoL
Hi i am facing problem with ajax async parameter. if i do call ajax synchronously and i use beforeSend to show a loading div before ajax starts. it doesnt appear . but if i made it asnyc as true it works fine . any solutions ?? thanks in advance

[jQuery] ui.datepicker upgrade issues

2008-01-28 Thread Shawn
Just a heads up to anyone who needs to do it, upgrading to version 3.3 will break your code. It does not keep the same interfaces, and if you have done anything non-trival with the plugin then you'll be spending more time fixing things than you are planning on. In my case it is the change fro

[jQuery] Re: ui.tabs ajaxOptions success callback

2008-01-28 Thread Terrence Wood
To answer my own question I attached the function to the show callback: $('.pane ul').tabs({show:function(){alert('hello world')}}); On 28/01/2008, Terrence Wood <[EMAIL PROTECTED]> wrote: > Anyone know how I can add a callback to ui.tabs after loading content > with ajax? -- kind regards, Te

[jQuery] Re: Superfish problem with IE7

2008-01-28 Thread Charles K. Clarkson
eugene33 wrote: : I have a little problem with superfish and IE7 (probably IE6 too : couldn't test it) It fails under IE6 as well. The problem seems to be the relative positioning of the #content. The default is static positioning works fine. The relative position is causing the problem

[jQuery] Is it possible to do this with Jquery?

2008-01-28 Thread cameron
I'm wondering if this is possible to do with jquery. An example of what I'm looking for can be found at the top of this page; http://www.scriptsearch.com/cgi-bin/jump.cgi?ID=687 The images are scrolling horizontally in a loop. On mouseover the scroll pauses, on mouseout, it starts again. Each

[jQuery] ui.tabs ajaxOptions success callback

2008-01-28 Thread Terrence Wood
I'm using ui.tabs to create tabs which load content via ajax. I need to run a script on the results and have tried adding a function via ajaxOptions when setting the tabs up. It doesn't work for me. Here's my code: $(".pane ul").tabs({ajaxOptions: {success: function() {alert('hello world'}}});

[jQuery] Re: jquery xml help

2008-01-28 Thread Tony
Sorry for the bad post - in this case you should use $.ajax with asyn:false. The $.get(...) does not have such option. On Jan 28, 2:46 pm, Tony <[EMAIL PROTECTED]> wrote: > Not sure, but you can try(if possible with async:false), something > like > jQuery(function($){ > > $.get("projects/data

[jQuery] Re: jquery xml help

2008-01-28 Thread Tony
Not sure, but you can try(if possible with async:false), something like jQuery(function($){ $.get("projects/datascapes.xml", {async:false}, function(xmlData, strStatus){ var datascapeAnchorsXml = $(xmlData); }); Regards Tony On Jan 25, 5:25 pm, "Alexandre Plennevaux" <[EMAI

[jQuery] Re: question about $(document).ready

2008-01-28 Thread Alexandre Plennevaux
-- Original Message -- To: Jquery-en (jquery-en@googlegroups.com) From: Mika Tuupola ([EMAIL PROTECTED]) Subject: [jQuery] Re: question about $(document).ready Date: 28/1/2008 13:40:49 On Jan 28, 2008, at 2:21 PM, Alexandre Plennevaux wrote: > Am i correct to assume it means tha

[jQuery] Re: question about $(document).ready

2008-01-28 Thread Mika Tuupola
On Jan 28, 2008, at 2:21 PM, Alexandre Plennevaux wrote: Am i correct to assume it means that document.ready means the html page is loaded, but not other files, such as its css, img and js dependencies? Yes. If you are doing preloading it is better to bind to window.load. Otherwise prel

[jQuery] question about $(document).ready

2008-01-28 Thread Alexandre Plennevaux
Hello, i apologize in advance if this is a dumb question. I would like to reorganize my code so that i clearly have 3 steps: 1/ preloading of xml, css, img files 2/ do some preprocessing 3/ runtime, interaction can happen Now i 'm looking at which events are best suited and i wonder if i get t

[jQuery] Re: loading xml and search through it

2008-01-28 Thread Alexandre Plennevaux
Please allow me to rephrase my question into something much simple: how can i preload an xml file into a jquery object, which means: an object i can then use in my jquery script like $(xml).find('element').attr('title') ? thank you for any help Alex -- Original Message -- To

[jQuery] Re: jquery xml help

2008-01-28 Thread Alexandre Plennevaux
hi yanski, thanks for your suggestion. if i do it like that, will the user download the xml file each time the function is called? On Jan 26, 2008 10:40 AM, Yansky <[EMAIL PROTECTED]> wrote: > > I'm not 100% sure what you're try to do, but here's what I might do: > > UI.dsAnchor = function(UI.it

[jQuery] Re: Superfish problem with IE7

2008-01-28 Thread Joel Birch
Hi there, What have you tried debugging-wise? The CSS looks right so I'm thinking there could be a few things to check next. Does the menu work when you remove the IE7-js code? If so then there must be a conflict of some sort that we can look into. The next thing is that I notice your HTML does

[jQuery] styleswitcher problem 2 (aka "$ is not a function")

2008-01-28 Thread Bruce MacKay
Hi folks, What I neglected to point out in my first post is that I know jquery is being loaded as other function calls (e.g. Shadowbox.init();) appearing earlier in the document.ready block are being fired. I can also see the file loaded when I view - through Firebug - the javascript files l

[jQuery] loading xml and search through it

2008-01-28 Thread Alexandre Plennevaux
Hello, This should be so easy yet i can't make it work. Here is what i'm trying to do: i have a data structure stored as an xml file. I need to load this structure once at the start of the application. I need a function to search through this data structure and return the corresponding value

[jQuery] styleswitcher problem

2008-01-28 Thread Bruce MacKay
Hello folks, I've just belatedly upgraded to the latest version of jQuery and am finding old plugins now misbehaving. I'm having trouble with Kevin Luck's styleswitch. FIrebug is reporting "$ is not a function" on the first line of this code. I can't understand it - jquery is already loaded