[jQuery] Slide down / Slide up, stop repeating

2010-03-01 Thread Paul Collins
Hi all I've got a drop down menu that expands when you hover over a heading. Here is the JQuery $(#header .dropDown .content).hover( function () { $(#header .dropDown ul).slideDown(); return false; }, function () { $(#header .dropDown ul).slideUp();

[jQuery] Multiple select box line wrap

2010-02-16 Thread Paul Collins
Hi all I'm have a fixed width on a multiple select box. The problem is, some of the options are longer than the width and by default the lines won't wrap. I'm wondering if anyone has seen a way of making lines wrap using either CSS or JQuery. I've added a title to each option, so you can get the

Re: [jQuery] Multiple select box line wrap

2010-02-16 Thread Paul Collins
Thanks Nathan That's a good idea actually, guess that would work even if you had scripts turned off... Will put that to use, thanks again. On 16 February 2010 16:34, Nathan Klatt n8kl...@gmail.com wrote: On Tue, Feb 16, 2010 at 9:22 AM, Paul Collins pauldcoll...@gmail.com wrote: I'm have

Re: [jQuery] Re: Change opacity of item with class of selected

2010-01-06 Thread Paul Collins
animations. Rely entirely on CSS with a simple css-rule #thumbs li.selected { filter:alpha(opacity=50); opacity:0.50; } This will also be much much faster than any other solutions. / Johan On Jan 5, 7:50 pm, Paul Collins pauldcoll...@gmail.com wrote: Sorry, the test page:http

[jQuery] Change opacity of item with class of selected

2010-01-05 Thread Paul Collins
Hi all I've been stuck on this for four hours, and I still can't solve it! I am trying to check if a list item has a class of selected, then is so change the opacity to 0.5. Here is my code: if ($(#portfolio #thumbs ul li).hasClass(.selected)) { $(this).css('opacity','0.5'); }

Re: [jQuery] Change opacity of item with class of selected

2010-01-05 Thread Paul Collins
of testing for it first: $(#portfolio #thumbs li.selected).css('opacity','0.5'); If the class doesn't exist, jQuery will do nothing (instead of throwing an undefined error or similar). On Tue, Jan 5, 2010 at 12:45 PM, Paul Collins pauldcoll...@gmail.com wrote: Hi all I've been stuck

Re: [jQuery] Change opacity of item with class of selected

2010-01-05 Thread Paul Collins
Sorry, the test page: http://paulcollinslondon.com/test/test.html 2010/1/5 Paul Collins pauldcoll...@gmail.com Thanks very much for your help Brian. That works, but I think the problem may go deeper than I thought! I've put up a test page. I'm using the JQuery Opacity Rollover Script

[jQuery] Flipv Vertical Text and extra space

2009-09-14 Thread Paul Collins
Hi all I'm currently using the Jquery Flipv plugin, which works well. The only problem is, some words have extra padding at the end, depending on how many characters. http://www.openstudio.fr/jQuery-flipv.html?lang=en I'm not sure why this is, but it seems that the conversion to vertical text

[jQuery] Add extra content to the title attribute

2009-08-11 Thread Paul Collins
Hi all, This is hopefully simple. I have a bunch of links with titles, like TITLE=Facebook and so on. I am adding JQuery to make the links open in a new window and would like to add some text to the title that says this link will open in a new window, whilst keeping the original text. I'm using

[jQuery] Re: Add extra content to the title attribute

2009-08-11 Thread Paul Collins
, 2009 at 3:15 PM, Paul Collins pauldcoll...@gmail.comwrote: Hi all, This is hopefully simple. I have a bunch of links with titles, like TITLE=Facebook and so on. I am adding JQuery to make the links open in a new window and would like to add some text to the title that says this link will open

[jQuery] Apply Jquery Tabs to multiple elements on single page

2009-08-06 Thread Paul Collins
Hi all, I am using this handy tabs script from here: http://jqueryfordesigners.com/jquery-tabs/ My problem is, if I try to use the same function for multiple elements on a page, seperated by a comma, it will only show one of the elements at a time. I am guessing that is due to the tabcontainers

[jQuery] Re: Make width of inner div equal outer

2009-07-29 Thread Paul Collins
the second level nav though, it disappears and I'm not sure why. If it has a class of selected, I only want it to disappear when you roll over another top level link. Can anyone let me know what I'm doing wrong here? Thanks for any help Paul 2009/7/27 Paul Collins pauldcoll...@gmail.com Hi all

[jQuery] Re: Make width of inner div equal outer

2009-07-27 Thread Paul Collins
Hi all, I'm completely stuck and been trying to solve this all day! Any help would be greatly appreciated... Basically, I have a suckerfish type navigation. It works fine with CSS and I'm trying to add some JQuery to animate the slide-down effect. I've got that working, but I need to have the

[jQuery] Re: Make width of inner div equal outer

2009-07-24 Thread Paul Collins
Excellent, works a treat, thanks Eric... 2009/7/23 Eric Garside gars...@gmail.com $('.secondLevel').css('width', $('#header').width()); On Jul 23, 1:16 pm, Paul Collins pauldcoll...@gmail.com wrote: Hi all, I've got a problem with IE6 and I need to basically find the width

[jQuery] Make width of inner div equal outer

2009-07-23 Thread Paul Collins
Hi all, I've got a problem with IE6 and I need to basically find the width of the header DIV and make the secondLevel DIV match it. So, I guess I need to target IE6 specifically in the code. Here's what I have: div id=header ul id=topNavigation lia href=/Home/a/li li class=selected a href=/About

[jQuery] Style Horizontal Scrollbar

2009-03-23 Thread Paul Collins
Hi all, I'm trying to scroll a horizontal scrollbar and having some troubles. I've been searching far and wide and only come up with scrollpane so far - which works for vertical scrollbars, but not Horizontal. Has anybody managed to style a horizontal scrollbar for a div, (with overflow set to

[jQuery] Re: Change image to black and white on hover

2009-01-05 Thread Paul Collins
. Thanks again. Paul 2009/1/3 BenV benv...@gmail.com Hello there! I think you can find a way to perform this effect with a nice transition here : http://jqueryfordesigners.com/image-cross-fade-transition/ I hope it'll help! Happy new year everyone On 23 déc 2008, 17:20, Paul Collins

[jQuery] Change image to black and white on hover

2008-12-23 Thread Paul Collins
Hi all, I'd like to think this is possible with JQuery, but can't find a reference online. Basically, I have a bunch of coloured logos that have links wrapped around them. I would like to create a hover state using JQuery that makes the images turn black and white when you hover over them.

[jQuery] Re: Change image to black and white on hover

2008-12-23 Thread Paul Collins
, which is nonstandard and would only work in internet explorer. On Dec 23, 11:16 am, Paul Collins pauldcoll...@gmail.com wrote: Hi all, I'd like to think this is possible with JQuery, but can't find a reference online. Basically, I have a bunch of coloured logos that have links

[jQuery] Re: Change image to black and white on hover

2008-12-23 Thread Paul Collins
://www.pixastic.com/ On Dec 23, 9:16 pm, Paul Collins pauldcoll...@gmail.com wrote: Hi all, I'd like to think this is possible with JQuery, but can't find a reference online. Basically, I have a bunch of coloured logos that have links wrapped around them. I would like to create a hover state

[jQuery] Re: Change image to black and white on hover

2008-12-23 Thread Paul Collins
(function() { $(this).pixastic(desaturate); }, function() { this.reset(); }); }); Thanks for any help. Paul 2008/12/23 Paul Collins pauldcoll...@gmail.com That works perfectly with JQuery Nathan. Thanks for your help. Much appreciated. Paul 2008/12/23 Nathan i

[jQuery] Re: Horizontal scroll of lists with differing widths

2008-12-02 Thread Paul Collins
: Paul Collins [mailto:[EMAIL PROTECTED] Sent: Monday, December 1, 2008 12:07 PM To: jquery-en@googlegroups.com Subject: [jQuery] Horizontal scroll of lists with differing widths Hi all, Just wondering if someone could point me in the right direction for finding this code. Basically, I have

[jQuery] Horizontal scroll of lists with differing widths

2008-12-01 Thread Paul Collins
Hi all, Just wondering if someone could point me in the right direction for finding this code. Basically, I have a list which could contain 1-6 images. When there are four or more images, I would like to add a horizontal scrollbar to the content. I don't want to do this using CSS as I would need

[jQuery] Re: Using fade on .toggleClass

2008-11-28 Thread Paul Collins
(){ $(#signInForm).fadeToggle(); }); }); Any help would be appreciated, I'm stuck! 2008/11/19 Paul Collins [EMAIL PROTECTED] That works perfectly, thanks Ricardo, really appreciate it. Thanks for taking the time Paul 2008/11/19 ricardobeat [EMAIL PROTECTED]: IDs should be unique, so

[jQuery] Re: Show and hide a list of divs according to anchored ID

2008-11-20 Thread Paul Collins
, was wondering if anyone has made it work this way? Thanks for any help. 2008/11/19 Paul Collins [EMAIL PROTECTED]: Hi all, I'm trying to find a reference here and having troubles. Would really appreciate if someone can point me to a tutorial. Basically, I have a list of anchored links

[jQuery] Using fade on .toggleClass

2008-11-19 Thread Paul Collins
Hi all, I'm trying to make something fade in and out when I use toggleClass to show and hide. I've been looking around for a while and can't see if it's possible. Here is my code: $(function() { $(#topArea ul#profileLinks li.userEmail form#signInForm).addClass(hide); $(#topArea

[jQuery] Show and hide a list of divs according to anchored ID

2008-11-19 Thread Paul Collins
Hi all, I'm trying to find a reference here and having troubles. Would really appreciate if someone can point me to a tutorial. Basically, I have a list of anchored links that point to content with matching ID's on the same page. With Javascript on, I want to hide all except the first when you

[jQuery] Multiple forms, validation plugin

2008-04-17 Thread Paul Collins
Hi all, I have slowly put together a script to replace the input button with an image, using Jquery. Basically, the image is added as a CSS class; the Jquery replaces the input with a HREF. I have used this in conjunction with the validaition plugin, it works great with a single form, but I

[jQuery] Popup window

2008-04-10 Thread Paul Collins
Hi all, I have been searching for some code to create a popup using JQuery. Surprisingly, I am having a hard time. I want to create one where you can specify size and not have the standard search bar, etc. Would appreciate any help. Cheers Paul

[jQuery] Fwd: [jQuery] Re: Validator plugin submit with HREF

2008-04-07 Thread Paul Collins
(); }); Cheers Paul On 01/04/2008, Jörn Zaefferer [EMAIL PROTECTED] wrote: Paul Collins schrieb: Hi all, I am trying to use an anchor link to submit my form using the Validator plugin, (so I can change the button to a graphic). I would like to know what to put

[jQuery] Re: Validator plugin submit with HREF

2008-04-03 Thread Paul Collins
(); }); Cheers Paul On 01/04/2008, Jörn Zaefferer [EMAIL PROTECTED] wrote: Paul Collins schrieb: Hi all, I am trying to use an anchor link to submit my form using the Validator plugin, (so I can change the button to a graphic). I would like to know what to put into the HREF

[jQuery] Validator plugin submit with HREF

2008-03-31 Thread Paul Collins
Hi all, I am trying to use an anchor link to submit my form using the Validator plugin, (so I can change the button to a graphic). I would like to know what to put into the HREF to submit to the Validator code. Currently I have: href=javascript:$(this).validate(); This doesn't seem to work

[jQuery] Re: Problem with jquery.validate.js

2008-03-28 Thread Paul Collins
of just adding the new code after it? - How can I submit the form using JQuery after I remove the submit button and replace it with a HREF? Any help/links would be greatly appreciated. Cheers Paul On 27/03/2008, Jörn Zaefferer [EMAIL PROTECTED] wrote: Paul Collins schrieb: Thanks for your

[jQuery] Re: Problem with jquery.validate.js

2008-03-28 Thread Paul Collins
validator plugin. Any help is greatly appreciated. Cheers paul On 28/03/2008, Paul Collins [EMAIL PROTECTED] wrote: Thanks again Jorn, you've been a big help... If anyone can help me, I'd appreciate it, I just need to ask two more questions. My test page is here: http://paulcollinslondon.com

[jQuery] Re: Problem with jquery.validate.js

2008-03-28 Thread Paul Collins
, ' href=javascript:$(this).validate();em/em' , submitValue , '/a' ].join('') ); }); return false; }); Cheers On 28/03/2008, Paul Collins [EMAIL

[jQuery] Re: Problem with jquery.validate.js

2008-03-27 Thread Paul Collins
(function(){ $(:submit[id$='_replace']); var replaceID = $(:submit[id$='_replace']).val; alert (replaceID); return false; }); On 26/03/2008, Jörn Zaefferer [EMAIL PROTECTED] wrote: Paul Collins schrieb: Hi all, As a follow up to this, I've decided to try

[jQuery] Re: Problem with jquery.validate.js

2008-03-27 Thread Paul Collins
('') ); }); } return false; }); Any help would be greatly appreciated... I mean it! On 27/03/2008, Paul Collins [EMAIL PROTECTED] wrote: Thanks for your help Jörn, that's solved that part of my equation. I'm stuck again! I would like to find out how to get the value of an id that ends

[jQuery] Problem with jquery.validate.js

2008-03-26 Thread Paul Collins
Hi all, I'm working with the JQuery validate plugin and having a few problems. I must first point out that I am a novice and may be asking dumb questions! Any tips or links would be great. I have a test page here I am working on: http://paulcollinslondon.com/contactTest.php I am using another

[jQuery] Re: Problem with jquery.validate.js

2008-03-26 Thread Paul Collins
in a form that have an ID ending in _replace. So the ID might be called submit_replace. I would only like to search for the _replace part of any ID in the form. So far I have: $('form').find('#_replace').addClass(_replace); Any ideas would be great. Thanks Paul On 26/03/2008, Paul Collins

[jQuery] Re: Find text in a list item, remove it and replace with an image tag.

2007-11-16 Thread Paul Collins
Sorry to take so long to get back Andy. I want to keep the strong tag is it depicts a selected state on the navigation. Basically, the image is positioned absolutely in the LI, the LI has a fixed height which is half that of the image. If there is a strong tag around the image, it shifts up 50%,