[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread Andy Matthews
Just FYI, you can condense Hector's code into this: $(\'#MSFree\').hover(function(){ // do something on mouse over $(\'#menu2\').show(); },function(){ // do something on mouse out $(\'#menu2\').hide(); }); It's a little more compac

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread Andy Matthews
That's the best example I have, as there's currently no content in my Links open/shut script. As a former teacher, I found some of the things Microsoft did to my students distasteful. I decided to speak out, and I never apologize for speaking the truth. On Wed, Dec 10, 2008 at 10:2

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread Andy Matthews
As a side note, I personally find your "ms free" note a little distasteful. I'm no MS fanboy, but it seem a little self-serving to post that note. andy _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Blomstrom Sent: Wednesday, December 10, 2008 12:11 P

[jQuery] Re: Need Open/Shut Function

2008-12-10 Thread Andy Matthews
jQuery has built in show() / hide() methods. The syntax would look something like this: $('#someElement').show(); $('#someElement').hide(); Where someElement was a container with an ID. andy _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of David Blomstrom

[jQuery] Re: pleeease heeelp me nowwwwww

2008-12-10 Thread Andy Matthews
For future reference, you'll get a lot more sympathy, and more help, if you use a more descriptive subject line. Glad you got help with your problem. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, Dece

[jQuery] Re: Making a UL simulate an option box?

2008-12-09 Thread Andy Matthews
Dave... First of all, thank you for checking out my code. Second, you just answered a question that I've had since I started using jQuery, namely why does the animation queue up endlessly, or keep going after my mouse moves out. I assume that all you have to do is to add in the .stop() method to

[jQuery] Re: Making a UL simulate an option box?

2008-12-08 Thread Andy Matthews
erned with blind people, and as it's going to live just above a Google Maps implementation, I'm also not that concerned with people who have low-end technology. The contents might be 1 or 2, to 10 or 15 (all defined by clients). Andy Matthews -Original Message- From: jquery

[jQuery] Re: Making a UL simulate an option box?

2008-12-08 Thread Andy Matthews
I've got something that's sort of what I need here: http://www.commadelimited.com/code/scrollingUL/ But it's not perfect. Anyone have anything better? andy matthews _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: Mond

[jQuery] Making a UL simulate an option box?

2008-12-08 Thread Andy Matthews
Anyone know of a way to collapse a UL containing n number of LI tags into something that appears to be an option box? Andy Matthews

[jQuery] Re: multiple width kwicks

2008-12-05 Thread Andy Matthews
I'm pretty sure that the whole point is that the kwicks are evenly distributed. You can't have multiple widths. andy -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of jesusbet Sent: Friday, December 05, 2008 1:17 PM To: jQuery (English) Subject:

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

2008-12-05 Thread Andy Matthews
location.hash is a property, so you'd just get it's value then compare that. Something like this might work: // get the hash var page = location.hash; // show the correct page $('#' + page).show(); andy matthews _ From: jquery-en@googlegroups.com [mailto:

[jQuery] Re: How to access href-property

2008-12-05 Thread Andy Matthews
L. I don't have any hard evidence one way or the other, it just seems surprising that a search engine would treat full and relative URLs any differently, given that it has the full URL in all cases anyway. -Mike > From: Andy Matthews > > As an FYI, while I personally prefer relativ

[jQuery] Re: How to access href-property

2008-12-05 Thread Andy Matthews
As an FYI, while I personally prefer relative URLs for simplicity and code reuse, full URLs in the HREF attribute provide slightly better SEO due to the replication of the domain name. On Dec 5, 10:23 am, Andy Matthews <[EMAIL PROTECTED]> wrote: > Here's a reference URL by the

[jQuery] Re: How to access href-property

2008-12-05 Thread Andy Matthews
Here's a reference URL by the way: http://www.hscripts.com/tutorials/javascript/document-object.php On Dec 5, 10:21 am, "Andy Matthews" <[EMAIL PROTECTED]> wrote: > Matthias... > > Attr('href') will give you whatever is contained in the href property.

[jQuery] Re: How to access href-property

2008-12-05 Thread Andy Matthews
Matthias... Attr('href') will give you whatever is contained in the href property. If you want the "http://otherpage.com"; then that needs to be contained in the href property. Using the 'domain' property of the document object will give you the first part: