Re: [jQuery] Re: getjson request an unavailable page

2009-11-20 Thread Jon Crump
On Wed, 18 Nov 2009, Humpty Dumpty wrote: Thanks, I though that there was a JSON solution; ok, I will try by the use of ajax but nobody that used getjson had this problem? As a matter of fact, I just did. As I understand it $.getJSON() seems to be just a wrapper around an $.ajax() request.

[jQuery] Re: Cycle: replace slide in running slideshow?

2009-08-31 Thread Jon Crump
Mike, Thanks for this. I did find a solution by setting a flag for the first time through the cycle since there were other things too I wanted to happen only on the first time through. After the #title element is shown, I simply replaced its html with a different image and content. A

[jQuery] Cycle: replace slide in running slideshow?

2009-08-30 Thread Jon Crump
Is there a way to replace the first slide in a running slideshow such that it's shown only once?? I've been trying variations on something like this with no success. The element is replaced, but cycle doesn't show it. function doBefore(){ var i = $(.slide).index(this); if (i == 1){

[jQuery] Re: cycle plugin pagerAnchorBuilder

2009-06-16 Thread Jon Crump
OK, there were no takers on this. In the unlikely event that anyone's interested, here's the work-around that I arrived at. It's simple enough that I think it will not cause me any problems, but I sure would like to know what the right solution might be. In the HTML, an image collection like

[jQuery] Re: cycle plugin pagerAnchorBuilder

2009-06-16 Thread Jon Crump
Mike Alsup, Thanks so much for pointing out the obvious; no really, I mean it sincerely. I so often overlook the obvious, to my cost. I didn't realize that I could simply pass a bare integer to the cycle call. Admiration and gratitude for a wonderfully well thought out and effective tool!

[jQuery] firefox hover bug with 'title' attribute?

2009-04-30 Thread Jon Crump
jQuery 1.2.6 and Firefox 3.0.7 on MacBook OS X 10.5.5 If I might renew an unanswered thread: I've encountered this twice now in different contexts. This only occurs in FF, so far as I know. If .hover() is acting on a div that contains an image link, and that link has a title attribute,

[jQuery] Re: firefox hover bug with 'title' attribute?

2009-04-30 Thread Jon Crump
without the title attribute, but I'm curious, and puzzled. Jon On Fri, May 1, 2009 at 12:21 AM, Jon Crump jjcr...@myuw.net wrote: jQuery 1.2.6 and Firefox 3.0.7 on MacBook OS X 10.5.5 If I might renew an unanswered thread: I've encountered this twice now in different

[jQuery] Re: Photo Gallery, Thumbnail navigation

2009-03-17 Thread Jon Crump
Kevin, On Mon, 16 Mar 2009, kmoll092 wrote: I am looking at jcarousel and i am a little confused on how to integrate and can't seem to find great documentation, is there a site with example code on how to integrate it into my site. If anyone else has a suggestion on the best way to acheive

[jQuery] Re: test for .is(:visible) fails in Safari

2009-03-15 Thread Jon Crump
Ricardo, Thanks so much for responding. That's very helpful. My use of events has been very rudimentary so far; your .bind() example has helped me understand them more fully. And now that I know what I'm looking for, various approaches to the problem have been illuminating as well. for

[jQuery] Re: Photo Gallery, Thumbnail navigation

2009-03-15 Thread Jon Crump
kmoll, third slot. It seems like this would be pretty easy, but it is killing me trying to figure it out. I have spent weeks on it with no Turns out, it's not really that easy, as you've discovered; however, the hard work has been done for us in jCarousel.(I know there are other

[jQuery] Re: test for .is(:visible) fails in Safari

2009-03-14 Thread Jon Crump
, 13 Mar 2009, Jon Crump wrote: Dear all, I'm not sure if this is a jQuery question or not, but I got the following code to work in FF, but it fails in Safari: $(.thumb).click(function() { var imgName = $(this).attr(alt); var el = $(#dropdown); if (el.is(:visible) $(#pic).attr(name

[jQuery] test for .is(:visible) fails in Safari

2009-03-13 Thread Jon Crump
Dear all, I'm not sure if this is a jQuery question or not, but I got the following code to work in FF, but it fails in Safari: $(.thumb).click(function() { var imgName = $(this).attr(alt); var el = $(#dropdown); if (el.is(:visible) $(#pic).attr(name) == imgName) return;