[jQuery] Re: Repositioning a Google Gadget

2008-11-24 Thread DaveG
element then the original problem occurs. So *moving* a script tag around the DOM seems to be the cause -- regardless of when the move occurs (even post-load). I've added this scenario to the demo. Has anyone seen this before? ~ ~ Dave On Nov 23, 5:26 pm, DaveG <[EMAIL PROTECTED]>

[jQuery] Repositioning a Google Gadget

2008-11-23 Thread DaveG
Hi, I don't believe this is strictly a jq issue, but I'm hoping someone can help. I'm using the Fish Gadget (http://abowman.com/google-modules/fish/) within a wiki based CMS, and need to reposition the gadget from one HTML element to another. If I directly reposition the gadget using what appea

[jQuery] Re: Show/Hide divs beginning with a specified string

2008-06-24 Thread DaveG
Since you're already using css to show/hide, then why not apply a class to the shown/hidden rows, and select on that instead? Thus, for hidden rows apply the class "hide_row", which will include the css required to hide the row, and apply "show_row" on those rows you want displayed. ~ ~ D

[jQuery] Re: Problem with jQuery performance

2008-06-09 Thread DaveG
I just read another post about the cycle plugin. Maybe that will help? http://www.malsup.com/jquery/cycle/ daveJay wrote: Thanks for the suggestions, that's very handy! =) While I think it has helped some, it hasn't made an appreciable difference on the overall performance. I don't think it's

[jQuery] Re: Problem with jQuery performance

2008-06-09 Thread DaveG
FF3 should be coming out soon and hopefully the adoption rate will be quick. Well, we may be seeing different problems, but I'm running FF3 on Windows, and the fade transition between large images is not particularly smooth, so not sure that's going to be the savior. ~ ~ Dave daveJay wrote

[jQuery] Re: Problem with jQuery performance

2008-06-06 Thread DaveG
Just found this jQ fade technique: http://jqueryfordesigners.com/image-cross-fade-transition/ DaveG wrote: I made some minor code and css changes to your template, but still didn't manage to get a smooth fade effect, so I'm not sure the issue lies there alone. You might wan

[jQuery] Re: Problem with jQuery performance

2008-06-06 Thread DaveG
I made some minor code and css changes to your template, but still didn't manage to get a smooth fade effect, so I'm not sure the issue lies there alone. You might want to check http://brainerror.net/scripts/javascript/blendtrans/ -- there is a pretty smooth image fade effect that seems to

[jQuery] Re: Cornerz 0.4

2008-06-04 Thread DaveG
Andy Matthews wrote: it kept showing the squared-off corners in addition to the rounded corners. I finally figured out that the corner has to be set to the same color as the background. Ah, thanks for that. I had the same squared off problem (only in FF though). However in my case I'm using

[jQuery] Re: hover and className

2007-12-06 Thread DaveG
Glen Lipka wrote: Well it sounds like you are in a better place than last week. :) Absolutely -- thanks for your help.

[jQuery] Re: cluetip plugin prevents click event

2007-12-06 Thread DaveG
driven wrote: I am using cluetip to put tooltips on the links in a search results page. I have the 'activation' setting as 'hover' but unfortunately cluetip cancels the normal click event and I can't actually follow the links. I don't see any examples or settings that will let me actually clic

[jQuery] Re: hover and className

2007-12-05 Thread DaveG
Glen Lipka wrote: Let's start at the beginning. Let's assume (work with me here) that autogeneration of sprites and css is the path to ruin. Actually, I don't agree with this statement. Auto-generation get you the sprite and positioning css, which is nice, and is useful. One of the primary

[jQuery] Re: hover and className

2007-12-05 Thread DaveG
David Serduke wrote: Sorry to butt in but I was wondering if this was a weird jQuery bug so looked in to it. What I found was it appears the way you are changing the className is the problem. I came to the same conclusion; it looks like replacing the class name causes the hover to re-fire.

[jQuery] Re: hover and className

2007-12-04 Thread DaveG
ry. Does this sound correct? Add to this list, but keep it straightforward. Can you post some of the other sized button images? I think I could help whip this up pretty quickly. Glen On Dec 4, 2007 6:43 PM, DaveG <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

[jQuery] Re: hover and className

2007-12-04 Thread DaveG
A slightly better working version: jQuery(document).ready(function() { jQuery("[EMAIL PROTECTED]'sprite-hover-']").hover( function(){ jQuery(this).addClass( this.className.replace(/sprite-hover-(\w+)-off/gi, 'sprite-hover-$1-on') ); // jQuery(this).attr('class', this.c

[jQuery] Re: hover and className

2007-12-04 Thread DaveG
Do you have a page that has the example? If you mean an example of the flickering problem, then I'll put one up. Test: http://solidgone.com/jquery/hover-test.html

[jQuery] Re: hover and className

2007-12-04 Thread DaveG
Glen Lipka wrote: Do you have a page that has the example? If you mean an example of the flickering problem, then I'll put one up. Also, I use jQuery with sprites in multiple methods here. Some use a very powerful matrix approach, which has really clean CSS. We considered the matrix idea,

[jQuery] Re: hover and className

2007-12-04 Thread DaveG
Glen Lipka wrote: One way is with a sprite. (Background or foreground) http://learningtheworld.eu/2007/foreground-sprites/ Actually I'm using sprites, that's why I'm switching from css :hover to this :) We've gone beyond the 'normal' approach of combining over/out images into a single sprit

[jQuery] hover and className

2007-12-04 Thread DaveG
I'm trying to change an elements class on mouse-over/out. The code below seems to fire repeatedly when the mouse moves over the target, even when the mouse is stationary, causing a slow (10/sec) flicker effect. What's causing the flicker? I was expecting the over/out functions to fire once on

[jQuery] Re: Getting background-position

2007-11-27 Thread DaveG
ou can't get it without setting first. Hmmm. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Nov 27, 2007, at 2:13 PM, DaveG wrote: How do I get the background-position? $('.XXX').css("background_position"); $('.XXX').css("background-position"); $('.XXX').css("backgroundPosition"); ...do not work. Other variants like "background-color" work fine. ~ ~ David

[jQuery] Re: Getting background-position

2007-11-27 Thread DaveG
DaveG wrote: How do I get the background-position? $('.XXX').css("background_position"); $('.XXX').css("background-position"); $('.XXX').css("backgroundPosition"); ...do not work. Other variants like "background-col

[jQuery] Getting background-position

2007-11-27 Thread DaveG
How do I get the background-position? $('.XXX').css("background_position"); $('.XXX').css("background-position"); $('.XXX').css("backgroundPosition"); ...do not work. Other variants like "background-color" work fine. ~ ~ David

[jQuery] Re: Scripts at the bottom of the page

2007-11-08 Thread DaveG
I experienced this problem, and ended up wrapping these events inside jQuery's ready function. That solved 99% of the problem. Of course it still occurs, but maybe I missed some events :) Bil Corry wrote: mike503 wrote on 11/8/2007 4:22 PM: What is confusing is why I can bind the event to

[jQuery] Re: Scripts at the bottom of the page

2007-11-06 Thread DaveG
If you click on one of the links, while it's loading that page if your mouse moves over the other one it will raise the Javascript warning... I've seen this exact behavior with other tip libraries jQuery based, and others. I didn't fully track down the issue, but managed to minimize it by wr

[jQuery] In Use: RoundCube

2007-10-30 Thread DaveG
Not new news, but apparently the RoundCube mail server will be increasingly using jQuery. Plus it's a great mail server! http://trac.roundcube.net/wiki/Plugin_API_Draft ~ ~ Dave

[jQuery] Re: clueTip feedback and suggestions

2007-10-29 Thread DaveG
[EMAIL PROTECTED] wrote: Many thanks to Karl for an awesome plugin. I've just started using it and am going to most likely standardize to clueTip for popover use across all our websites. Dave, I have to say I'm impressed with your dedication to debugging clueTip ;) Thank Karl, he's the one w

[jQuery] Re: clueTip feedback and suggestions

2007-10-27 Thread DaveG
DaveG wrote: Okay, I have a little more, and now it's more important :) Due to the positioning issues I was having I switched to use bottomTop. This works fine, *except* when the target element is close to the right side. In this case the hint gets pushed horizontally out to the cent

[jQuery] Re: clueTip feedback and suggestions

2007-10-27 Thread DaveG
There *seems* to be a pattern where the elements are floated, it causes the problem -- I'm not 100% sure of this though. The problem is odd in that there seems to be a relationship between where the hint last appeared, and where it is displayed for a subsequent element. There are some el

[jQuery] Re: clueTip feedback and suggestions

2007-10-27 Thread DaveG
firing. Here's my workaround: if (typeof tipAttribute == "undefined" && typeof $this.attr('href') == "undefined") { return true; } else if (tipAttribute == $this.attr('href')) { return false; } Not sure what else that might scr

[jQuery] Re: clueTip feedback and suggestions

2007-10-26 Thread DaveG
ing I need to do to ensure links inside hint'ed elements remain active? ~ ~ Dave DaveG wrote: Responses below. Karl Swedberg wrote: 5] Consider adding a top/bottom arrow pointer for use with positionBy:'bottomTop'. Added! :-) Already had this working, but forgot to upload the

[jQuery] Re: PHP Contest Scoreboard, utilising the jQuery library

2007-10-26 Thread DaveG
I'd guess it's this: http://www.doheth.co.uk/codelair/php-mysql/scoreboard ~ ~ Dave Rey Bango wrote: Hi Scott. Can you provide a link? Rey RichUncleSkeleton wrote: Just thought I'd post this here, I've just finished a new version of my contest script. You can set up questions, let users

[jQuery] Re: clueTip feedback and suggestions

2007-10-26 Thread DaveG
And another buglet. In my implementation, for some reason, the bl.gif is not positioned correctly (ie, the bl corner is not visible/round, and it's squared off) -- this is across all browsers. I'm basically using the standard clueTip, with the rounded theme. However, removing the line: $c

[jQuery] Re: clueTip feedback and suggestions

2007-10-26 Thread DaveG
Karl Swedberg wrote: thanks, Dave. You're right about that. Problem is, I'm not sure how to deal with it. I'm afraid I was too stingy with the DIVs when I decided on the HTML structure. The rounded-corner theme was an afterthought that I kind of shoe-horned into what was there. Guess that ex

[jQuery] Re: clueTip feedback and suggestions

2007-10-25 Thread DaveG
Under the possible bugs category: When using the parameters below, the title element gets hidden, which hides the tr.gif element, cutting off the tr corner. titleAttribute:'title', splitTitle:'|', showTitle: false, dropShadow: false, cluetipClass: 'rounded' ~ ~ Dave

[jQuery] Re: clueTip feedback and suggestions

2007-10-20 Thread DaveG
Responses below. Karl Swedberg wrote: 5] Consider adding a top/bottom arrow pointer for use with positionBy:'bottomTop'. Added! :-) Already had this working, but forgot to upload the new images and the updated css file to the server. I see it working on the demo site -- now you just need to

[jQuery] clueTip feedback and suggestions

2007-10-20 Thread DaveG
After looking into a few of the tooltip libraries, I've ended up implementing clueTip (http://jquery.com/plugins/project/cluetip/) on an existing project. In general it fit in very well, with pretty nearly all the features we need. The only real issue was [7], which I didn't manage to work ar

[jQuery] Re: What´s the name of this sintax

2007-10-11 Thread DaveG
That is an outstanding explanation, thanks! Michael Geary wrote: From: Leandro Vieira Pinho (function(){ ... })(); I would like to know, what´s the name of that sintax. From: Josh Nathanson Is that a closure? Not exactly. One common use of the "anonymous function called in place" is to cr

[jQuery] OT: Page layout issues

2007-10-06 Thread DaveG
Although I'm using jQ on this project, this particular issue is CSS related, not jQ related. I'm having a fairly minor layout problem, but I've been trying to resolve it forever, and getting no-where. Hopefully some can shed some light on the problem. Here's the URL: http://skidoo.solidgon

[jQuery] Re: Plugin to get URL Parameters

2007-09-22 Thread DaveG
I also came across this: http://www.oakcitygraphics.com/jquery/jqURL/jqURLdemo.html?var1=1&var2=2&var3=3 Glen Lipka wrote: Answered my own question http://www.mathias-bank.de/2007/04/21/jquery-plugin-geturlparam-version-2 Sorry, Glen On 9/20/07, *Glen Lipka* <[EMAIL PROTECTED]

[jQuery] Re: OT: Hosting Service

2007-09-14 Thread DaveG
I've been using asmallorange.com for a few years now, and have had nothing but good experience. Very cheap, as many add-ons/parked domains as you like. Pretty much the only restriction is bandwidth and disk space. ~ ~ Dave Glen Lipka wrote: I used to use Powweb, but the site was unbearably

[jQuery] Re: document ready shortcut and scoping

2007-08-29 Thread DaveG
Michael Geary wrote: Ah, now I'm following you! I'm slow today. Heh -- just remember, slow is relative :) This will work: var test; jQuery ( function() { test = function() {alert('here')} } ); // and sometime later in your code, after document.ready fires test(); // test is d

[jQuery] Re: document ready shortcut and scoping

2007-08-28 Thread DaveG
Erik Beeson wrote: You should be fine defining your functions outside of document.ready. I agree with your thought, but at this point in time we really want to avoid having to retest the original DOM not ready problem that we fixed with our code blitz -- it was very elusive, and very sporadi

[jQuery] Re: document ready shortcut and scoping

2007-08-28 Thread DaveG
Michael Geary wrote: You're making it too complicated there, Dave. :-) Now there's a first... not :) This does not work: jQuery ( function() { function test() {alert('here')} } ); test; // assume that test is defined at this point... That's what didn't make sense. You want to def

[jQuery] Re: document ready shortcut and scoping

2007-08-28 Thread DaveG
Erik Beeson wrote: Why would you want to delay the definition of a function? --Erik On 8/28/07, DaveG <[EMAIL PROTECTED]> wrote: If I use the jQuery document.ready shortcut to delay the definition of a javascript function test(), what is the correct way to reference test()? This does n

[jQuery] document ready shortcut and scoping

2007-08-28 Thread DaveG
If I use the jQuery document.ready shortcut to delay the definition of a javascript function test(), what is the correct way to reference test()? This does not work: jQuery ( function() { function test() {alert('here')} } ); test; // assume that test is defined at this point... I thoug

[jQuery] Re: Nice jQuery writeup

2007-08-18 Thread DaveG
IMO this should be prominently on the Jq site. This article explains the jQ way so well, it's invaluable. ~ ~ Dave Priest, James (NIH/NIEHS) [C] wrote: I didn't write this but saw it on Reddit while browsing at lunch: http://simonwillison.net/2007/Aug/15/jquery/ Jim

[jQuery] Re: Before automatically closes tags...?

2007-08-12 Thread DaveG
Sam Collett wrote: Any chance that this will be added to the plugins page and SVN? It's a useful plugin that many may miss otherwise. "patcol" pointed me to this in another thread: "jQuery 1.2 looks to have a prevUntil() function planned. http://docs.jquery.com/JQuery_1.2_Roadmap#.nextUntil

[jQuery] Re: Getting prev siblings

2007-08-12 Thread DaveG
7;s a sample for nextUntil there... copy it and change it for your needs? Pat On Aug 6, 11:44 am, DaveG <[EMAIL PROTECTED]> wrote: On Mon, 6 Aug 2007 08:14:28 -0700, "Glen Lipka" <[EMAIL PROTECTED]> wrote: It would help if you put up a skeleton page somewhere to demonstrate th

[jQuery] Re: Getting prev siblings

2007-08-06 Thread DaveG
This should work... but it is a little wasteful as it performs the same search on h2s over and over again. Another way (that I'm not sure will work) is: var h2cache = $('h2'); var prevIndex = h2cache.index( $('#h2b')[0] ) - 1; h2cache.filter(':eq('+prevIndex+')'); This is *exactly* what I

[jQuery] Re: Getting prev siblings

2007-08-06 Thread DaveG
On Mon, 6 Aug 2007 08:14:28 -0700, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > It would help if you put up a skeleton page somewhere to demonstrate the > challenge. > :) Good point. Unfortunately, I can't do that right now, but here's a skeleton of the issue: Heading 2a Heading 3a Heading

[jQuery] Getting prev siblings

2007-08-06 Thread DaveG
Is there a way to get the previous sibling of a specific class in the DOM (a) at the same level as the start point, and (b) at lower levels? .prev appears to obtain the sibling *only* if it's the immediate sibling in the DOM. It doesn't return the first previous matching sibling as one might

[jQuery] Re: Before automatically closes tags...?

2007-08-02 Thread DaveG
On Thu, 2 Aug 2007 13:56:25 -0400, "John Resig" <[EMAIL PROTECTED]> wrote: > > I just made a quick tweak to .nextUntil() so that it can take a > comma-separated list of items. I updated the demo to reflect this as > well, for example: > > $("h2").each(function(){ > $(this).nextUntil("h1,

[jQuery] Re: Before automatically closes tags...?

2007-08-02 Thread DaveG
each(function(){ > $(this).nextUntil("h1, h2").wrapAll(""); > }); > > --John > > On 8/2/07, DaveG <[EMAIL PROTECTED]> wrote: >> >> >> >> >> On Thu, 02 Aug 2007 15:55:20 -, Sam Collett <[EMAIL PROTECTED]>

[jQuery] Re: Before automatically closes tags...?

2007-08-02 Thread DaveG
On Thu, 02 Aug 2007 18:12:02 -, Stephan Beal <[EMAIL PROTECTED]> wrote: > > On Aug 2, 7:46 pm, DaveG <[EMAIL PROTECTED]> wrote: >> What I'd really like is a way to insert dom elements without automatic > closure taking place. I checked out jQ and didn'

[jQuery] Re: Before automatically closes tags...?

2007-08-02 Thread DaveG
On Thu, 02 Aug 2007 15:55:20 -, Sam Collett <[EMAIL PROTECTED]> wrote: > > There is a plugin called nextUntil that you may be able to use. An > example is available at > http://dev.jquery.com/~john/jquery/test/nextuntil.html I hadn't seen that before. It's close, but not quite what I'm lo

[jQuery] Before automatically closes tags...?

2007-08-02 Thread DaveG
I'm trying to enclose sections of the dom with a DIV tag. Basically I want all elements between headings (and including the top-most heading) enclosed in a DIV. My approach is to scan through the DOM, find a header tag, insert an opening DIV tag, continue scanning until I hit the next header,

[jQuery] Re: Determine DOM element based on mouse position

2007-08-01 Thread DaveG
oliver wrote: I think you will need to wrap the paragraphs in some tag, or or something else. This approach seems the most doable -- I'd have to wrap the elements with jQ. Essentially I'd want to wrap all DOM elements between headers in a div tag. Anyone have suggestions of other more e

[jQuery] Re: Determine DOM element based on mouse position

2007-07-31 Thread DaveG
oliver wrote: I think 'previous sibling' is a good term for the element you are trying to find. Sibling is probably the right term. If you put a click handler on the parent of the paragraphs and the headers, and click on one of the paragraphs, the event.target is that parent object. I thin

[jQuery] Determine DOM element based on mouse position

2007-07-31 Thread DaveG
I need a way of determining a parent element of the element at the mouse position at the time of a double click. Specifically I'd need to find the 'parent' header (H1, H2, H3, etc) based on the DOM element that a user clicks on. Parent in this case being the closest header in the stack, sinc

[jQuery] Re: Mootools

2007-07-29 Thread DaveG
Reason I asked about Mootools is I love there slideshow. It allows doing the Ken Burns effects that was mentioned Nicolas last week. Check out this wicked class demo: http://www.electricprism.com/aeron/slideshow/ Wow -- that's a helluva plugin, and a *really* great demo. ~ ~ Dave

[jQuery] Re: How to Rotate an Image 90 Degrees

2007-06-26 Thread DaveG
Looks like example 3 does the rotating you seek... weepy wrote: i've tried excanvas and it works very well indeed - amazing in fact when you think what its doing. it runs a bit slower on ie check some demos here : http://labs.parkerfox.co.uk/excanvas/examples/

[jQuery] Re: ANNOUNCE: Proposal for Site Submissions

2007-06-18 Thread DaveG
In the spirit of jQ brevity, how about: Subject: site: http:\\xyz.com ~ ~ Dave On Mon, 18 Jun 2007 09:49:59 -0400, Rey Bango <[EMAIL PROTECTED]> wrote: > > Hey guys, > > I usually take care of site submissions and I do my best to stay on top > of it. I've found that I've missed a couple of

[jQuery] Re: SlickSpeed CSS Selector TestSuite

2007-06-12 Thread DaveG
A lot is being made of how small jQ is. From the quick check I did, jQ compressed is 5k smaller than Prototype, and MooTools with a quick selection of the functions that seem to be in jQ was 27k, only 10k more than jQ. Considering the library is typically downloaded once and then cached, 5-10k

[jQuery] Re: jQuery and Prototype Conflicts

2007-06-01 Thread DaveG
Okay, it turns out that I initially had noConflict() within a function on .ready. This turns out to be a bad idea. Moving noConflict() inline, below the library include (as below) works fine, and prevents the need to load noConflict() multiple times. ~ ~ Dave DaveG wrote: Unfortunately

[jQuery] Re: jQuery and Prototype Conflicts

2007-06-01 Thread DaveG
flict more than once. Could you post up an example? -- Brandon Aaron On 6/1/07, *DaveG* < [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote: I'm using prototype and jQ on the same page. I'm using noConflict(). jQuery.noConflict(); E

[jQuery] jQuery and Prototype Conflicts

2007-06-01 Thread DaveG
I'm using prototype and jQ on the same page. I'm using noConflict(). jQuery.noConflict(); Everything is happy. Until I use prototypes Ajax.Update(). The response is a bunch of javascript calls that include calls to prototype routines, like Element.show(). It seems that I need to include

[jQuery] Re: onhover Tips

2007-05-31 Thread DaveG
Also check out clueTips: http://examples.learningjquery.com/62/ However, after also researching, I ended up with this non-jQ solution: http://web-graphics.com/mtarchive/001717.php It's very small, offers 3-d shadow effects, is easy to modify as needed. ~ ~ Dave Sean Catchpole wrote: The

[jQuery] Re: Best way to do horizontal sub-menus...

2007-05-31 Thread DaveG
o do a second-level horizontal as well. ~ ~ Dave > > Rick > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of DaveG > Sent: Thursday, May 31, 2007 7:52 AM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Be

[jQuery] Re: Best way to do horizontal sub-menus...

2007-05-31 Thread DaveG
I've used this non-jQ version in the past with good success: http://www.twinhelix.com/dhtml/popupmenu/ He also has a newer version, which I've not used: http://www.twinhelix.com/dhtml/fsmenu/ ~ ~ Dave Rick Faircloth wrote: Hi, again, Olaf... Both of the approaches you mentioned get me s

[jQuery] Re: .ready and javascript library loading

2007-05-30 Thread DaveG
Script tags are run (though not necessarily "downloaded") sequentially. I think* that's the key. Although they are run sequentially, js does not wait for complete loading of one library before moving onto process the next. So when you have a slow connection it seems to be possible that the

[jQuery] .ready and javascript library loading

2007-05-30 Thread DaveG
Does $(document).ready ensure that all javascript libraries are loaded in addition to the DOM being ready? I have a case on a very slow network connection, where a call to a library function is made seemingly before the library is loaded. ~ ~ Dave

[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 DaveG
ot;).text() Output: "here is" ~ ~ Dave On Tue, 29 May 2007 15:48:30 -0400, 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] 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

[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();

[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] Element Blocking with jqModal

2007-05-25 Thread DaveG
Does jqModal offer some form of element blocking, in the same way that BlockUI does? http://malsup.com/jquery/block/#element ~ ~ Dave

[jQuery] Re: Drop shadows and Tooltips

2007-05-24 Thread DaveG
version here: http://jquery.com/plugins/project/dimensions -- Brandon Aaron On 5/23/07, DaveG <[EMAIL PROTECTED]> wrote: That one looks pretty neat, but it uses dimensions.js, which *appears* not to work well with Prototype. Anyone else using drop-shadows with tooltips? ~ ~ Dave Ale

[jQuery] Re: Drop shadows and Tooltips

2007-05-23 Thread DaveG
r the drop shadow effect, i used the one delivered with clueTip, and simply resize it tremendously so as to accomodate any (reasonable) size. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of DaveG Sent: mardi 22 mai 2007 23:09 To: jque

[jQuery] Drop shadows and Tooltips

2007-05-22 Thread DaveG
Has anyone managed to create a dynamically resizing drop-shadow effect for the tooltips plugin (http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/) that they could share? The sample on the website looks good but is a static size (ie, does not change size based on the content-length).

[jQuery] Re: Disabling Tooltips + Tooltip Text

2007-05-19 Thread DaveG
Just as an aside, the version of the tooltip library in the SVN repository (and the used as a download from your website) is 2.0 Alpha. This version does not work with your demo page. You might want to note that on the Tooltip pages. ~ ~ Dave DaveG wrote: I think my idea when asking

[jQuery] Re: Disabling Tooltips + Tooltip Text

2007-05-19 Thread DaveG
I think my idea when asking for the data was if there is a link between elements and their tooltips that can be used to automate the association. You could have an object of key/value pairs, each key being the same as an ID or class on an element, and the value containing the value to displ

[jQuery] Re: Disabling Tooltips + Tooltip Text

2007-05-19 Thread DaveG
Jörn Zaefferer wrote: DaveG wrote: What I'd really like to do is maintain an array of tips, and selectors, and then iterate through that calling Tooltip. I can do that with the syntax above. No, that won't work. The bodyHandler is supposed to be a callback function that is calle

[jQuery] Re: Compatibility (jQ + Libraries) + (Prototype + Libraries)

2007-05-18 Thread DaveG
http://groups.google.com/group/jquery-en/browse_thread/thread/2e3baab6b98b1894/ef15211a2832a2e7#ef15211a2832a2e7 --Erik On 5/18/07, DaveG <[EMAIL PROTECTED]> wrote: According to the Compatibility page (http://docs.jquery.com/Using_jQuery_with_Other_Libraries) it's possible to redefine $ t

[jQuery] Re: Disabling Tooltips + Tooltip Text

2007-05-18 Thread DaveG
A global switch/method to turn tooltips on/off, or a method on the jQuery object you used to apply the tooltip? Either this: $.Tooltip.on(); $.Tooltip.off(); This would be better for me as I then don't have to track all the tips. I simply need a way to turn on/off all tips. Ok, I'll add tha

[jQuery] Compatibility (jQ + Libraries) + (Prototype + Libraries)

2007-05-18 Thread DaveG
According to the Compatibility page (http://docs.jquery.com/Using_jQuery_with_Other_Libraries) it's possible to redefine $ to something else to avoid conflicts with Prototype. Thus all your jQ code will now use "myjQ." prefix rather than "$". How will this work if you're also using jQ librar

[jQuery] Re: Disabling Tooltips + Tooltip Text

2007-05-17 Thread DaveG
A global switch/method to turn tooltips on/off, or a method on the jQuery object you used to apply the tooltip? Either this: $.Tooltip.on(); $.Tooltip.off(); This would be better for me as I then don't have to track all the tips. I simply need a way to turn on/off all tips. Or this: var ti

[jQuery] Disabling Tooltips + Tooltip Text

2007-05-16 Thread DaveG
1] I'd like to make a request to have a flag to turn off all tool-tips (http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/). The easiest way to do this might be to retain existing object events, and simply put a flag in the code to not process tip events. Alternately is there a sim

[jQuery] Re: Getting the full class set of the current object

2007-05-04 Thread DaveG
Am I just going the wrong way? Should I switch to normal loop, or an each loop? Comments? $(".a") .each(function(i){ $(this).wrap(''">') .removeClass().addClass("z"); }); Here's my attempt. It works. Is there a better/different way, perhaps not using the each, but simply chain

[jQuery] Re: Getting the full class set of the current object

2007-05-04 Thread DaveG
Jörn Zaefferer wrote: Sam Collett schrieb: $('.a')[0].className should work That doesn't explain why .attr('class') should not work. I've given that a quick try and I have no problems, it returns both classes. Looks like my test case wasn't specific enough. When more than one object matc

[jQuery] Getting the full class set of the current object

2007-05-03 Thread DaveG
Given: Running: $('.a').attr('class') Returns: "a" I expected "a b". How do I obtain the full class set applied to the current object? ~ ~ Dave

[jQuery] Re: Keyboard shortcuts

2007-04-30 Thread DaveG
Did you get a chance to work on this? No hurry, I'd just like to use it if it's available. ~ ~ Dave Gilles (Webunity) wrote: Yes i've ported this to jQuery, i'll add it to SVN tonight. It has thesame options as the keyboard_shortcuts, but i've improved (cleaned up) the code a lot. You can b

[jQuery] jQ Site

2007-04-20 Thread DaveG
Not sure where we're supposed to submit jQ sites, but here's http://www.e-texteditor.com/ -- looks like a cool text editor too. ~ ~ Dave

[jQuery] Re: Google AJAX Feed API

2007-04-20 Thread DaveG
In very basic terms you can pretty much substitute the word "join" or "combine" for mash-up. Thus, in this case we're combining RSS feeds from multiple sources into a single presentation. ~ ~ Dave On Fri, 20 Apr 2007 11:25:54 -0500, Christopher Jordan <[EMAIL PROTECTED]> wrote: > > So by "

[jQuery] Re: jQuery Powered Sites - More Sites Added.

2007-04-18 Thread DaveG
http://www.dzone.com/ looks like it's jQ enabled as well. ~ ~ Dave On Apr 10, 10:33 am, Rey Bango <[EMAIL PROTECTED]> wrote: > Added: > > - GameGum Free Flash Games > > - ToonGum ToonGum is a flash cartoon community. View, submit, and > interact with our many flash cartoons and large community.

[jQuery] Re: Remembering settings

2007-04-18 Thread DaveG
How about using something like this: http://www.lalit.org/lab/jsoncookies/ It's not jQ based, but it may offer a good way to store/retrieve the amount of data you're looking at. ~ ~ Dave On Wed, 18 Apr 2007 15:52:48 -, Trekmp <[EMAIL PROTECTED]> wrote: > > Thanks to both of you for your

[jQuery] Re: Newbie code review please?

2007-04-18 Thread DaveG
Just a heads-up, but I recall when I did this that I had to do some 'extra' coding. I'm not sure if you have the same scenario, but I wanted the row to be highlighted, and the checkbox toggled when either the checkbox was clicked or the row was clicked. I had to accommodate for the fact that w

[jQuery] Re: Multiple .bind

2007-04-17 Thread DaveG
Thanks for the workaround, and the patch! Jesse Skinner wrote: I've just submitted a patch to fix this, but in the meantime you can use an anonymous function (as I just described in another message) like so: function tocDisplay(e){ $('#toc_content')[e.data.mode](); } $('#toc_he

[jQuery] Multiple .bind

2007-04-16 Thread DaveG
I'm binding a click function. If I include either one of the binds it works -- so the syntax and object references are correct. If I include both binds they do not work. No errors, they just don't trigger. function tocDisplay(e){ $('#toc_content')[e.data.mode](); } $('#toc_he

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread DaveG
Joel Birch wrote: This looks awesome Dave. I like that it is a more "finished" product than my plugin so there is less left to the developer to do to get it working and looking great. Not so sure about more finished, but thanks. You code helped a lot, but much of it was beyond my current under

[jQuery] Re: Updated plugin: jqTOC -- table of contents

2007-04-16 Thread DaveG
It might be nice to have an "autohide" type behavior after x seconds on that Content menu. Basically a delay on closing after clicking? Not sure that would be to intuitive. A delay on closing after mouse out might make sense though. I was considering triggering on mouse over, so that might w

  1   2   >