[jQuery] Re: trigger "$(document).ready" manually

2007-05-29 Thread MathiasBank
Ok, it's quite easy to recall ready: Don't register your ready functions like this: $(document).ready(...); Register it like this: $(document).bind("ready",...); Now, trigger the ready event: $(document).trigger("ready"); This works. I think, it's a bit confusing, because $(document).ready

[jQuery] Re: trigger "$(document).ready" manually

2007-05-29 Thread MathiasBank
Well, I have an ajax call to the server. The sever decides what to do. Normally, there is just one small part of the page, which will be changed per json. But there is one possibility, which needs to refresh nearly the complete page. No I have to recall ready. There are three possibilites: 1. I c

[jQuery] Re: tableFilter Beta 2 is now live

2007-05-29 Thread Daemach
I posted a zip this evening that contains the source code and support files for tableFilter. You can find it here: http://ideamill.synaptrixgroup.com/?p=17 On May 29, 11:30 am, Daemach <[EMAIL PROTECTED]> wrote: > The short answer is absolutely. If you're not in a serious rush I > would appr

[jQuery] jQuery featured POTM

2007-05-29 Thread Larry Garfield
Please forgive the self-advertisement, but I just wanted to share that I've added jQuery to the list of featured projects I've been coordinating this year: http://www.garfieldtech.com/blog/potm-jquery For the rest of the featured projects, see here: http://www.garfieldtech.com/potm http://www

[jQuery] Re: Finding first text element

2007-05-29 Thread RobG
On May 30, 5:48 am, DaveG <[EMAIL PROTECTED]> wrote: > How do I find the first text-node of a given DOM object? > > Input: here is some text > Output: " some text" > > Input: Header 1 > Output: "Header 1" I'm not sure what you are really after. If you are after the text content of an element,

[jQuery] Dragging from a Drupal block to tinyMCE

2007-05-29 Thread Phil Glatz
I'm using Drupal 5.1 and jquery to build a site where members can create content. I wrote a module to display a list of available images and videos in a list in a block. I'd like to be able to select an item from the list and drag it into the article body textarea, and wondering if this can be don

[jQuery] Re: getting DOM values

2007-05-29 Thread Brandon Aaron
Here are the docs for .get( Number ) http://jquery.bassistance.de/api-browser/#getNumber -- Brandon Aaron On 5/29/07, pd <[EMAIL PROTECTED]> wrote: Thanks guys, super-fast reply :) Is this documented anywhere? I've scanned through the API and didn't see anything for what seems to be a pretty

[jQuery] Re: getting DOM values

2007-05-29 Thread pd
Thanks guys, super-fast reply :) Is this documented anywhere? I've scanned through the API and didn't see anything for what seems to be a pretty fundamental requirement from a JS library, don't you think? I understand if people haven't had the time to include this in the doco though.

[jQuery] Re: getting DOM values

2007-05-29 Thread Brandon Aaron
You can access the regular dom properties/methods by extracting the element from the jQuery collection. $('#foo').get(0).clientWidth You can also just use bracket notation. $('#foo')[0].clientWidth You could also use the Dimensions plugin which helps abstract some cross browser issues with wi

[jQuery] Re: getting DOM values

2007-05-29 Thread Ⓙⓐⓚⓔ
$('#foo')[0].clientWidth On 5/29/07, pd <[EMAIL PROTECTED]> wrote: Hi BjQ (before jQuery) I can do this: document.getElementById('foo').clientWidth to get a DOM value that Firebug tells me is set to something other than 'undefined'. I can't figure out how to the do same in AjQ (after jQue

[jQuery] getting DOM values

2007-05-29 Thread pd
Hi BjQ (before jQuery) I can do this: document.getElementById('foo').clientWidth to get a DOM value that Firebug tells me is set to something other than 'undefined'. I can't figure out how to the do same in AjQ (after jQuery). I've tried the following: $('#foo').attr('clientWidth') but keep

[jQuery] Re: jQuery on Rails-related

2007-05-29 Thread DaveG
Is there a post which has more details somewhere? Yehuda Katz wrote: Hey guys, Great news! Hpricot has accepted my patches to make hpricot compatible with jQuery, which means you'll only need to checkout the latest hpricot from svn to use jQuery on Rails. -- Yehuda Katz Web Developer | Wyc

[jQuery] Re: Finding first text element

2007-05-29 Thread Ⓙⓐⓚⓔ
tested. http://www.w3.org/1999/xhtml"; xml:lang="en"> plainText() $(function(){ $("div,h1").each(function(){ alert ($(this).plainText().join("")) }) });

[jQuery] Re: .load issue with IE7

2007-05-29 Thread Wizzud
Have you tried putting the second load into the callback of the first load? eg. $(document).ready(function(){ $("div#payments").load('account_rec_load.html',function(){ $("div#paytotal").load("payment_total_load.html"); }); John W wrote: > > > Ok so I have payment page. When the

[jQuery] Re: Metadata plugin

2007-05-29 Thread Will Arp
Hi all, any idea? thank you! -will On 29-mag-07, at 06:51:07, Will Arp wrote: having an issue with svn metadata plugin if compressed with packer 3.0 beta 8 or beta 9. code below will return undefined, works fine with uncompressed version. This is a p $.meta.setType("attr", "data"); alert( $

[jQuery] Re: .parents(expr)

2007-05-29 Thread Wizzud
parents(expr) is equivalent to parents().filter(expr) SamCKayak wrote: > > > I could do a test, but discussion seemed like it might turn up > something else... > > .parents(expr) supports an expression to filter parent elements, > e.g., > > .parents('.getme') // returns all parents with cla

[jQuery] Re: jQuery on Rails-related

2007-05-29 Thread Alex Brem
Hey Yehuda, that's really great news! :) Many thanks! Alex Yehuda Katz wrote: > Hey guys, > > Great news! Hpricot has accepted my patches to make hpricot compatible with > jQuery, which means you'll only need to checkout the latest hpricot from > svn > to use jQuery on Rails. >

[jQuery] menuing recommendation?

2007-05-29 Thread Jack Killpatrick
Hi All, I'm looking for a jquery based menuing plugin ala: http://jdsharp.us/jQuery/plugins/jdMenu/ It has to be able to do the following: 1. allow on/off images for top level menu items: either background images or both foreground and background images (for typeset foregrounds) 2. have a

[jQuery] Re: Forcing a select box to "select" a specified option

2007-05-29 Thread Dan G. Switzer, II
Andy, >$('#RedMakeSelect:first-child [EMAIL PROTECTED]') I believe IE always has the value attribute defined--even if it's not defined in your markup (ie. it essentially adds a value="" to your tag.) If you know the 2nd element should have a value attribute if it's present, then I'd just do: $(

[jQuery] Re: Finding first text element

2007-05-29 Thread Ⓙⓐⓚⓔ
Dave, I was shocked when you got the first answer. I don't think there is any way to get just the text using jQuery core functions. If you get .html() you can use regexps to remove the complete nodes, it seems messy. if you write a plugin (there may already be one) it can go thru the dom nodes a

[jQuery] Re: Forcing a select box to "select" a specified option

2007-05-29 Thread Jeffrey Kretz
I've done it this way: $('#selectid')[0].options[1].selected = true; JK _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Tuesday, May 29, 2007 2:46 PM To: jquery-en@googlegroups.com Subject: [jQuery] Forcing a select box to "select"

[jQuery] Forcing a select box to "select" a specified option

2007-05-29 Thread Andy Matthews
I'm doing a related select dropdown here (bottom middle of the page): http://w3.normreeveshonda.com/pages/page.cfm?pageid=80976 &pagetype=26&featureid=-1 In FF, under New vehicles, the Make dropdown defaults to

[jQuery] Help with form plugin and tabs in a same page

2007-05-29 Thread Web Specialist
Hi all I have a very basic form with Jorn Form Validation and Tabs plugins inside. Looks very simple like: Personal data

[jQuery] Re: trigger "$(document).ready" manually

2007-05-29 Thread Ⓙⓐⓚⓔ
don't use an anonymous function with ready. use a named one, and then just call it again (and again). On 5/29/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: ready() is just a special method that handles the DOM Ready event. I can't think of a use-case where one would need to force the call to re

[jQuery] Re: trigger "$(document).ready" manually

2007-05-29 Thread Sean Catchpole
Mathias, The solution is simplier than it seems. function foo(){...} $(document).ready(foo); //someplace where you want to call the document.ready again foo(); By wrapping the code that you want to call from document.ready inside a function it is easy to call again at any time. Of course if

[jQuery] Re: Finding first text element

2007-05-29 Thread Sean Catchpole
I'm writing this off the top of my head, but it should be at least close to functional. jQ: $("#id1").children().filter(function(){return $(this).text()!="";}).filter(":eq(0)").text() Or if you intend to use this a lot, you could write a small plugin: (function($){ $.fn.textNode(index){ index

[jQuery] Re: Finding first text element

2007-05-29 Thread Ⓙⓐⓚⓔ
something like this (untested) returns an array of all the plain text nodes in a jQuery object. jQuery.fn.plainText = function() { var text=[]; this.each(function(){ var children =this.childNodes; for (var i = 0; i < children.length; i++){ var child = children[i];

[jQuery] Re: trigger "$(document).ready" manually

2007-05-29 Thread Brandon Aaron
ready() is just a special method that handles the DOM Ready event. I can't think of a use-case where one would need to force the call to ready but you can do so by calling jQuery.ready(). Once the function runs, it won't run again. I'm not sure what, if any, the consequences of doing this are. P

[jQuery] Re: object detection in jQuery

2007-05-29 Thread besh
> One of the great things about jQuery, however, is the basic concept. > If it doesn't find the element it doesn't do anything so there is no > need for conditional logic ;) That's really great, thanks for making it clear for me...jQuery is goodness, the more I know it, the more I love it :) Boh

[jQuery] trigger "$(document).ready" manually

2007-05-29 Thread MathiasBank
Good evening, It is possible to call 1. $('#field').trigger("click"); 2. $(document).trigger("myOwnEvent"); But it seems, that this is not possible to call $(ducument).trigger("ready"); Is "ready" not an event? (Yes, I mean ready from $ (document).ready(function() {...})). I need to recall th

[jQuery] Re: Finding first text element

2007-05-29 Thread DaveG
I didn't find a way to do this yet, but I did discover a way to crash my browser: Warning: locks up FF2 Input: here is some text jQ: $("#id1<").text() I also discovered a way to get the text of the first element: Input: here is some text jQ: $("#id1>").text() Output: "here is"

[jQuery] Re: Finding first text element

2007-05-29 Thread DaveG
Actually, I withdraw that. .text() returns the text of all nodes combined (in example 1: "here is some text"). ~ ~ Dave On Tue, 29 May 2007 15:57:55 -0400, DaveG <[EMAIL PROTECTED]> wrote: > > > Indeed it is, thanks. I worked that out after posting -- I figured it had > to be something incr

[jQuery] Re: Dev and plugins lists

2007-05-29 Thread Brandon Aaron
No I believe they are in the process of being transitioned to Google Groups. Feel free the post anything to this list for now. -- Brandon Aaron On 5/29/07, Mika Tuupola <[EMAIL PROTECTED]> wrote: Are the dev and plugins lists up at the moment? -- Mika Tuupola http://www.

[jQuery] Re: Finding first text element

2007-05-29 Thread DaveG
Indeed it is, thanks. I worked that out after posting -- I figured it had to be something incredibly complicated ;) ~ ~ Dave On Tue, 29 May 2007 14:56:58 -0500, "Jonathan Sharp" <[EMAIL PROTECTED]> wrote: > I believe it's something like $('div').text(); > > -js > > > On 5/29/07, DaveG <[E

[jQuery] Re: Finding first text element

2007-05-29 Thread Jonathan Sharp
I believe it's something like $('div').text(); -js On 5/29/07, DaveG <[EMAIL PROTECTED]> wrote: How do I find the first text-node of a given DOM object? Input: here is some text Output: " some text" Input: Header 1 Output: "Header 1" ~ ~ Dave

[jQuery] Finding first text element

2007-05-29 Thread DaveG
How do I find the first text-node of a given DOM object? Input: here is some text Output: " some text" Input: Header 1 Output: "Header 1" ~ ~ Dave

[jQuery] Re: jQuery on Rails-related

2007-05-29 Thread Matt Stith
Its a mod of Ruby On Rails that replaces the default Prototype/Scriptaculus with jQuery. On 5/29/07, Daemach <[EMAIL PROTECTED]> wrote: What is jQuery on Rails? ;) On May 29, 9:52 am, "Yehuda Katz" <[EMAIL PROTECTED]> wrote: > Hey guys, > > Great news! Hpricot has accepted my patches to make

[jQuery] Re: .parents(expr)

2007-05-29 Thread Sean Catchpole
It would appear that you idea does not work. Just as a note about testing. Open any jQuery page and Firebug, and viola, you have little playground to try quick jQuery lines. ~Sean P.S. I wrote a plugin to find jQuery pages: http://www.sunsean.com/jquerydetect/

[jQuery] Dev and plugins lists

2007-05-29 Thread Mika Tuupola
Are the dev and plugins lists up at the moment? -- Mika Tuupola http://www.appelsiini.net/~tuupola/

[jQuery] Re: object detection in jQuery

2007-05-29 Thread Sean Catchpole
Hi Bohdan, Is there some jQuery way of doing this, or should I use the old DOM one? You bet, try this (or something similar): if( $('#myElem').length > 0 )doSomething(); else return false; ~Sean

[jQuery] Re: object detection in jQuery

2007-05-29 Thread Daemach
You can use a selector such as $('#myElem') to get an element by ID. $ ('#myElem').size() gives you the size of the matched set - you can use that in an if statement if you want. One of the great things about jQuery, however, is the basic concept. If it doesn't find the element it doesn't do any

[jQuery] Re: jQuery on Rails-related

2007-05-29 Thread Daemach
What is jQuery on Rails? ;) On May 29, 9:52 am, "Yehuda Katz" <[EMAIL PROTECTED]> wrote: > Hey guys, > > Great news! Hpricot has accepted my patches to make hpricot compatible with > jQuery, which means you'll only need to checkout the latest hpricot from svn > to use jQuery on Rails. > > -- > Y

[jQuery] object detection in jQuery

2007-05-29 Thread besh
Hi all, before jQuery, I was used to check for existence of certain elements like this: if (!document.getElementById('myElem')) { return false; } else { doSomething(); } Is there some jQuery way of doing this, or should I use the old DOM one? Thanks! Bohdan

[jQuery] Re: jQuery'zed Ext.Template

2007-05-29 Thread Rodrigo Moraes
Hi, Sorry to reply to myself. :) I've updated the Template plugin to use $.extend() in a new $.extendClass() function. This is probably Javascript 101, but I couldn't go ahead from this point. If somebody can point me an example of a extended class/constructor/prototype in jQuery, maybe I can tak

[jQuery] Re: Help Test jQuery 1.1.3

2007-05-29 Thread Brian Cherne
Hi John, I quickly tested jQuery 1.1.3a with my jVariations plug-in and it crashed Safari (immediately). I'm going to take a look into it this week and will hopefully be able to provide more information. The page I was testing it on was quite complex and Safari was already struggling (taking a few

[jQuery] Re: tableFilter Beta 2 is now live

2007-05-29 Thread Daemach
The short answer is absolutely. If you're not in a serious rush I would appreciate you giving me a day to let me get the code cleaned up - I decided to rebuild my domain over the weekend, so I'm still coming up to speed. There is a lot of cruft there now from trial-and- erroring IE performance i

[jQuery] Re: Select box change event infinite loop in ASP.NET

2007-05-29 Thread Mike Chabot
The error was caused by using a $ instead of a # in the selector string. -Mike On 5/24/07, Roger Roelofs <[EMAIL PROTECTED]> wrote: Mike, On May 22, 2007, at 1:17 PM, Mike Chabot wrote: > I have a simple function to capture the OnChange event of a drop-down > select box. In MSIE, it works a

[jQuery] Re: index of an element

2007-05-29 Thread Sean Catchpole
I'm trying to get this working: jQuery('#accordion [EMAIL PROTECTED]').click(function(){ var rank = jQuery('#accordion p').index(function(){jQuery(this).parent('p').eq(0)}); }); I'm not sure why you would want to do this, but the following should get the effect your desire. jQuery('#accord

[jQuery] Re: Block UI when user submits a slow page

2007-05-29 Thread Jonathan Sharp
You can't block across requests. You may achieve your desired effect if your page is within an iframe and the blockui is in the parent document. In short you can block when the user clicks submit but at an arbitrary point in time the browser will clear the screen as it receives the response. So t

[jQuery] Re: How do i remove an event?

2007-05-29 Thread Erik Beeson
Alternatively, instead of unbinding the event, you could have your event handler check for some condition: $('div#topLineHover').bind('mouseover', function() { if($('#topLine').is(':hidden')) { $('#topLine').slideDown('slow'); } }); Also, when selecting by ID, no need to specify a

[jQuery] jQuery on Rails-related

2007-05-29 Thread Yehuda Katz
Hey guys, Great news! Hpricot has accepted my patches to make hpricot compatible with jQuery, which means you'll only need to checkout the latest hpricot from svn to use jQuery on Rails. -- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325

[jQuery] Re: A demo and an optimization question

2007-05-29 Thread Jörn Zaefferer
Dan G. Switzer, II wrote: $(document).bind("click", function (e){ // get the target element (srcElement for IE, originalTarget for W3C) var el = e.srcElement || e.originalTarget; if( el.tagName == "A" && el.className == "icon" ){ alert("Hey, I'm an a.icon

[jQuery] Re: Improved timePicker, time/datePicker demo

2007-05-29 Thread Jörn Zaefferer
Anders wrote: It does have more features than mine (although I have added scrolling to the entered time). It also uses another plugin (below) I did for positioning, so there is no requirement to have the dimensions plugin. I didn't know you had continued to develop the list version (which I'

[jQuery] Re: .load issue with IE7

2007-05-29 Thread JimD
Well no luck with .get either. Guess Ill have to output the div as the page is generated. So much for IE. On May 29, 9:09 am, JimD <[EMAIL PROTECTED]> wrote: > Hi Olive thanks for the suggestion. > > Usually I dont have a problem with .load in IE7, but I assume this is > because Im doing a .load

[jQuery] Re: .load issue with IE7

2007-05-29 Thread JimD
Hi Olive thanks for the suggestion. Usually I dont have a problem with .load in IE7, but I assume this is because Im doing a .load within another file that was requested via ajax. On May 29, 5:00 am, Olive <[EMAIL PROTECTED]> wrote: > Jim, > > there is a problem using load in IE when you have to

[jQuery] Re: Automatic scrolling?

2007-05-29 Thread Dan G. Switzer, II
>I have a web page with a user-selectable number of quiz questions. >Each question is in a list element. Sometimes users select 250 quiz >questions which is a lot... > >I wanted to solicit thoughts about automatically scrolling to the next >question when a choice is made (when a radio button is s

[jQuery] Re: Automatic scrolling?

2007-05-29 Thread Karl Swedberg
I think the ScrollTo or ScrollToAnchors functions in the Interface FX module would work well for what you're trying to achieve: You can check out the documentation for them here: http://interface.eyecon.ro/docs/fx --Karl _ Karl Swedberg www.englishrules.com www.learningjquery

[jQuery] Re: Automatic scrolling?

2007-05-29 Thread Jonathan Sharp
What is the HTML structure of your document? Yes, it is possible though. Cheers, -js On 5/29/07, SamCKayak <[EMAIL PROTECTED]> wrote: I have a web page with a user-selectable number of quiz questions. Each question is in a list element. Sometimes users select 250 quiz questions which is a

[jQuery] .parents(expr)

2007-05-29 Thread SamCKayak
I could do a test, but discussion seemed like it might turn up something else... .parents(expr) supports an expression to filter parent elements, e.g., .parents('.getme') // returns all parents with class getme the $(expr) in general allows any css (or xml) selector. Does expr extend this way

[jQuery] Re: massive jquery memory leak in firefox 2.x: load() or empty()?

2007-05-29 Thread Jonathan Sharp
Can you provide an online example? The issue may be in your callback method. Cheers, -Jonathan On 5/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: I assume this is a memory leak: $(#id).empty(); $(#id).load(url, params, callback) increases more and more the memory usage of firefox eve

[jQuery] Automatic scrolling?

2007-05-29 Thread SamCKayak
I have a web page with a user-selectable number of quiz questions. Each question is in a list element. Sometimes users select 250 quiz questions which is a lot... I wanted to solicit thoughts about automatically scrolling to the next question when a choice is made (when a radio button is selecte

[jQuery] Re: click on IE won't work in multiple frame application along with other inconsistancies

2007-05-29 Thread [EMAIL PROTECTED]
Can someone answer this question about frame and jQuery? Thanks On May 24, 11:37 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I have an html page with two frames named: A and B. All javascript > functions are in top object. > > document A has an element "sample test", I'm > trying to atta

[jQuery] Re: jQuery'zed Ext.Template

2007-05-29 Thread Rodrigo Moraes
On 5/29/07, John Resig wrote: You mean like jQuery.extend()? You just pass in two objects and the first one is extended with the second. http://docs.jquery.com/JavaScript#.24.extend.28_target.2C_prop1.2C_propN_.29 Thanks, John. I tried it first, but it doesn't seem appropriate in this case. I

[jQuery] Block UI when user submits a slow page

2007-05-29 Thread Web Specialist
Hi all do you know any example using BlockUI with "normal" form(otherwise Ajax)? I have a very slow form(processing text files). I'll want to block UI when user submits that form and, after execute that page, unblock again. Cheers

[jQuery] Re: How to pass variable from link

2007-05-29 Thread MikeR
http://docs.jquery.com/Ajax would be a good start =). You'll want to make an Ajax call ($.ajax, $.get, $.post... whichever) and use "data" to pass back data to PHP. qt wrote: > Hello list > > Let's say I have a list of items (retrieved from a mysql-db with PHP). > > To edit the records, one has

[jQuery] Re: jQuery'zed Ext.Template

2007-05-29 Thread John Resig
I still have three global functions while I'm looking for alternatives in the jQuery world. I'm looking for something that helps extending classes / overriding class members in jQuery or any jQuery plugin/utility. Something like the extend() function in YUI or Ext. Is there any? You mean like

[jQuery] Re: < id=__ie_init defer=true src=//:>

2007-05-29 Thread Diego A.
Hi John/Michael, FOUND THE PROBLEM. And John, I'm sure you'll be glad to know it's not a bug in jQuery. I compress (remove white space and pointless concatinations) and re- pack my scripts into one file with jQuery and all the plugins I use. This error happened when I compressed and re-packed t

[jQuery] Re: A demo and an optimization question

2007-05-29 Thread Dan G. Switzer, II
>$(document).bind("click", function (e){ > // get the target element (srcElement for IE, originalTarget for >W3C) > var el = e.srcElement || e.originalTarget; > if( el.tagName == "A" && el.className == "icon" ){ > alert("Hey, I'm an a.icon element!!!"); >

[jQuery] Re: jQuery'zed Ext.Template

2007-05-29 Thread Rodrigo Moraes
On 5/29/07, Diego A. wrote: It's not only great for saving code, but it will come in handy for customizing the html output of plugins... much easier than having a bunch of individual options. I thought that too! :) I'm using it in a plugin I'm writing to make the output customizable. Also I th

[jQuery] Re: A demo and an optimization question

2007-05-29 Thread Dan G. Switzer, II
David, >I've been using jquery to build an icon picker for FAMFAMFAM's Silk >icon set. I've got a working version (at http://dsingleton.co.uk/code/icon- >selector/), >but with 1000 images on the page everything is a little slow, i'm >wondering what I can do to optomize the JS make it a little sna

[jQuery] Re: jQuery'zed Ext.Template

2007-05-29 Thread Diego A.
I love it. I think it's brilliant. It's not only great for saving code, but it will come in handy for customizing the html output of plugins... much easier than having a bunch of individual options. On May 29, 1:42 pm, "Rodrigo Moraes" <[EMAIL PROTECTED]> wrote: > Hi, > I made a simple port of Ex

[jQuery] How to pass variable from link

2007-05-29 Thread qt
Hello list Let's say I have a list of items (retrieved from a mysql-db with PHP). To edit the records, one has to click a link (item 1) which opens a form (achieved with the show/hide jquery). How can I pass the id of an item back to php. I guess I have to use the $.get or $.post function, but

[jQuery] Getting ThickBox to work with other libraries

2007-05-29 Thread [EMAIL PROTECTED]
Hi guys. I have developed a web app and am making various AJAX popups using Thickbox. However some of these popups use other JS libraries (eg: scriptaculous). I have tried to implement the suggestions in this link: http://docs.jquery.com/Using_jQuery_with_Other_Libraries but didn't help, I tried

[jQuery] Re: massive jquery memory leak in firefox 2.x: load() or empty()?

2007-05-29 Thread [EMAIL PROTECTED]
If I reload, close the Tab or navigate somewhere else, it is not given back. If I close the Browser and Re-open it, yes. I checked out some tweaks from a firefox memory leak discussion ( http://www.freerepublic.com/focus/f-bloggers/1327586/posts ) but nothing works so far. I'm using Process Explo

[jQuery] jQuery'zed Ext.Template

2007-05-29 Thread Rodrigo Moraes
Hi, I made a simple port of Ext.Template [1] / Ext.MasterTemplate [2] to be used with jQuery, removing Ext dependencies and so. The result is tiny - 2,4KB packed, and given that it can make other codes smaller, I think it is worth. Here's the code (feedback appreciated, I'm not a javascript maste

[jQuery] Re: massive jquery memory leak in firefox 2.x: load() or empty()?

2007-05-29 Thread Brandon Aaron
Is the memory given back after a refresh? -- Brandon Aaron On 5/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > I assume this is a memory leak: > > $(#id).empty(); > $(#id).load(url, params, callback) > > increases more and more the memory usage of firefox even if the > content is replac

[jQuery] massive jquery memory leak in firefox 2.x: load() or empty()?

2007-05-29 Thread [EMAIL PROTECTED]
I assume this is a memory leak: $(#id).empty(); $(#id).load(url, params, callback) increases more and more the memory usage of firefox even if the content is replaced (in my case about 0.5mb per request). since the dev mailinglist did not work for me I post it in here. any sugestions? is this p

[jQuery] Re: .load issue with IE7

2007-05-29 Thread Olive
Jim, there is a problem using load in IE when you have to load inside a HTML table. You should use $.get instead. HTH, Olive.

[jQuery] Re: jQuery innerfade on safari Problem

2007-05-29 Thread tlob
no one can help me a little bit? sigh On 25 Mai, 10:15, tlob <[EMAIL PROTECTED]> wrote: > Hi there > > I work on a photographers site. She wants a slide show of her > photographs.http://www.siggibucher.com/preview/test.php > I used the innerfade plugin fromhttp://medienfreunde.com/lab/innerfa

[jQuery] Re: Improved timePicker, time/datePicker demo

2007-05-29 Thread Anders
It does have more features than mine (although I have added scrolling to the entered time). It also uses another plugin (below) I did for positioning, so there is no requirement to have the dimensions plugin. I didn't know you had continued to develop the list version (which I've been calling

[jQuery] .load issue with IE7

2007-05-29 Thread JimD
Ok so I have payment page. When the page loads I fill in a list of payments within a div using .load, and within the page being loaded in the div, I have another .load that feeds in a total box. This all works great in FF2, but for some reason in IE7 the paybox doesnt not display. So in the main

[jQuery] Re: Improved timePicker, time/datePicker demo

2007-05-29 Thread Sam Collett
On May 28, 10:33 pm, Anders <[EMAIL PROTECTED]> wrote: > > Nice plugin, very useful. What exactly are the differences to Sam's > > orginal (without looking at the original...)? > > Thanks! Not 100% sure on these (Sam, correct me if I'm wrong), but > should be mostly correct: > > * Scrolls to the e

[jQuery] Re: How do i remove an event?

2007-05-29 Thread Gordon
Yeah, you have to repeat the code. You could put the code in a function though. function doSlide () { $('#myLine').slideDown ('slow'); } $('div#topLineHover').bind('mouseover', doSlide); On May 29, 11:03 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Does that mean i have to repeat t

[jQuery] Re: How do i remove an event?

2007-05-29 Thread [EMAIL PROTECTED]
Does that mean i have to repeat the code or is there a way to do it without? Gordon wrote: The same way you bound it in the first place. On May 29, 8:12 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: Thanks Erik, But how do i rebind something which has been unbound? Erik Beeson wrote:

[jQuery] Re: IE selector bug/error?

2007-05-29 Thread Luc Pestille
Anyone have any idea on this? Non-existant selctors are breaking IE, which is fairly bad news for me! Thanks, Luc Pestille Web Designer From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Luc Pestille Sent: 23 May 2007 15:19 To: jquery-en@googl

[jQuery] index of an element

2007-05-29 Thread Olivier Percebois-Garve
Hi I'm trying to get this working: jQuery('#accordion [EMAIL PROTECTED]').click(function(){ var rank = jQuery('#accordion p').index(function(){jQuery(this).parent('p').eq(0)}); }); my markup: bla blah Yes No

[jQuery] Re: How do i remove an event?

2007-05-29 Thread Gordon
The same way you bound it in the first place. On May 29, 8:12 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks Erik, > > But how do i rebind something which has been unbound? > > Erik Beeson wrote: > > > How about: > > > $('div#topLineHover').one('mouseover', function() { > >