[jQuery] Re: Nokia 95 AJAX problem

2008-12-05 Thread Alex Hempton-Smith
I have an iPhone 3G so I'd better chip-in here :P The iPhone has "iPhone Safari" installed, which was forked somewhere in-between Safari 2 and Safari 3 - meaning you have more CSS support that 2, but less than 3. The great Facebook web-app for the iPhone can be visited manually at [ http://iphone.

[jQuery] Re: Hiding tooltips

2008-12-05 Thread Alex Hempton-Smith
t looks > good. > > Ok, one minor thing. I would change: > > $(this).parent().append("" + title + ""); > $("#places ul li span").fadeIn(); > > to (untested): > > $("" + title + "").appendTo($(this).parent()).fadeIn(); >

[jQuery] Re: Hiding tooltips

2008-12-05 Thread Alex Hempton-Smith
Obviously that code now has the presentational stuff for the tooltip I create and destroy. Comments on that code would be great :) This is my first go with javascript at all so... -- Alex On Sat, Dec 6, 2008 at 1:31 AM, Alex Hempton-Smith < [EMAIL PROTECTED]> wrote: > Ah I was just

[jQuery] Re: Hiding tooltips

2008-12-05 Thread Alex Hempton-Smith
On Sat, Dec 6, 2008 at 1:27 AM, Richard D. Worth <[EMAIL PROTECTED]> wrote: > > On Fri, Dec 5, 2008 at 8:22 PM, Alex Hempton-Smith < > [EMAIL PROTECTED]> wrote: > >> I'm using this code, and the "title" variable is a local variable in the &g

[jQuery] Re: Hiding tooltips

2008-12-05 Thread Alex Hempton-Smith
ariable in an enclosing function perhaps? -- Alex On Sat, Dec 6, 2008 at 12:43 AM, Jörn Zaefferer < [EMAIL PROTECTED]> wrote: > Store the title in a variable, remove it from the element, and restore > it on mouseout. > > Jörn > > On Sat, Dec 6, 2008 at 1:34 AM, Alex

[jQuery] Hiding tooltips

2008-12-05 Thread Alex Hempton-Smith
Hi all, I'm using the "title" attribute to create my own custom tooltip, very simple so it doesn't really need a plugin. Everything works fine, except I would like to hide the default tooltip (yellow on Windows). How would I go about this? How do the tooltip plugins do it? Many thanks, Alex

[jQuery] Re: Using "window.location.hash" for URLs without plugin

2008-12-05 Thread Alex Hempton-Smith
w the correct page > $('#' + page).show(); > > > > andy matthews > > > ------ > *From:* jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] *On > Behalf Of *Alex Hempton-Smith > *Sent:* Friday, December 05, 2008 11:48 AM > *To:* jquery-en@googlegro

[jQuery] Using "window.location.hash" for URLs without plugin

2008-12-05 Thread Alex Hempton-Smith
Hi, I'm trying to use URL's such as 'mysite.com/#contact' that will show a certain div. I have my function written and working to show the div, currently being used as "$("#a.contact").click(showContact);" How would I use something like "window.location.hash" to fire off the function "showContact"

[jQuery] Re: [jCarousel]

2008-11-30 Thread Alex Hempton-Smith
ction itemVisibleIn(carousel, li, index, state) > { > $(li).contents('a').addClass('Current'); > } > > You can also specify an itemVisibleOutCallback to remove the class once > it's > no longer visible. > > > > On Sat, Nov 29, 2008 at 5:2

[jQuery] Re: [jCarousel]

2008-11-29 Thread Alex Hempton-Smith
Thanks Brian, I've read through that documentation and I'm not sure how I would go about using that to add the 'current' class to the tag? Would you be able to post some code? I'm still a jQuery n00b! -- Alex On Sat, Nov 29, 2008 at 5:40 PM, brian <[EMAIL PROTECTED]> wrote: > Create an itemVis

[jQuery] Activate checkbox from URL

2008-10-20 Thread Alex Hempton-Smith
Hi all, I'm using the Flot graphing plugin and I'd like to be able to have a specific series highlighted depending on the URL, as I want to link to it. This will mean activating a checkbox depending on the URL, for example: /results/#science Would activate the checkbox with ID of 'science' or