[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").slideU

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 wrote: > On Tue, Feb 16, 2010 at 9:22 AM, Paul Collins > wrote: > > I'm have a fixed widt

[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 f

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 wrote: >

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 > 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 Rollov

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

2010-01-05 Thread Paul Collins
ul. Thanks 2010/1/5 brian > Just put the class in the selector instead 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 &

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

[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 cre

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

2009-08-11 Thread Paul Collins
urag Pal > > > On Tue, Aug 11, 2009 at 3:15 PM, Paul Collins wrote: > >> 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 w

[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] 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
"selected". When you mouseover 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 20

[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 sub

[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 > > $('.secondLevel').css('width', $('#header').width()); > > On Jul 23, 1:16 pm, Paul Collins wrote: > > Hi all, > > I've got a problem with IE6 and I need to ba

[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: Home About Us Overview Contact I'm not sure how to start with the script

[jQuery] Slide up and down effect on absolutely positioned elements

2009-06-04 Thread Paul Collins
Hi all, I'm having some trouble with the slide up and down effect with JQuery. Basically, I have an element that is absolutely positioned -60px at the top of the page, by applying a CSS class (hide) using JQuery. This shows is slightly poking out at the top of the browser. When you hover over the i

[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 :au

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

2009-01-05 Thread Paul Collins
two images. Thanks again. Paul 2009/1/3 BenV > > 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 >

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

2008-12-23 Thread Paul Collins
ts and hook the hover event $(".test").hover(function() { $(this).pixastic("desaturate"); }, function() { this.reset(); }); }); Thanks for any help. Paul 2008/12/23 Paul Collins > That works perfectly with JQuery Nathan. Thanks for your help. Much &

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

2008-12-23 Thread Paul Collins
stic.com/ > > On Dec 23, 9:16 pm, "Paul Collins" 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 li

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

2008-12-23 Thread Paul Collins
is nonstandard and would only > work in internet explorer. > > On Dec 23, 11:16 am, "Paul Collins" wrote: > > Hi all, > > > > I'd like to think this is possible with JQuery, but can't find a > reference > > online. > > > > Basica

[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. Curren

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

2008-12-02 Thread Paul Collins
lider-gallery.html > > > -Original Message- > From: 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

[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
{ $(this).removeClass('hover'); }).click(function(){ $("#signInForm").fadeToggle(); }); }); Any help would be appreciated, I'm stuck! 2008/11/19 Paul Collins <[EMAIL PROTECTED]> > That works perfectly, thanks Ricardo, really a

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

2008-11-20 Thread Paul Collins
e in a Table/TD, 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. &g

[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 c

[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"); $("#t

[jQuery] Re: Multiple forms, validation plugin

2008-04-21 Thread Paul Collins
Hi all, sorry to bump again. I really can't seem to solve this on my own and would really appreciate any help. Thanks again! On 17/04/2008, Paul Collins <[EMAIL PROTECTED]> wrote: > Hi all, > > I have slowly put together a script to replace the input button with >

[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 woul

[jQuery] Re: Popup window

2008-04-10 Thread Paul Collins
gt; > $.jqURL("myfile.html", {w:400,h:400,wintype:'_blank'}); > > This will pop open a new window that is 400x400 containing "myfile.html". > > -- Josh > > > - Original Message - From: "Paul Collins" <[EMAIL PROTECTED]

[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
(function() { $('#'+formID).submit(); return false; }); }); $("form").validate(); }); Cheers Paul On 01/04/2008, Jörn Zaefferer <[EMAIL PROTECTED]>

[jQuery] Re: Validator plugin submit with HREF

2008-04-03 Thread Paul Collins
click(function() { $('#'+formID).submit(); return false; }); }); $("form").validate(); }); Cheers Paul On 01/04/2008, Jörn Zaefferer <[EMAIL PROTECTED]> w

[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 c

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

2008-03-28 Thread Paul Collins
, '' ].join('') ); }); return false; }); Cheers On 28/03/2008, Paul Collins <[EMAIL PROTECTED]> wrote: > Hi all, I've managed to replace the submit button with the following code: >href=""&

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

2008-03-28 Thread Paul Collins
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/contactTest.php > &

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

2008-03-28 Thread Paul Collins
y code, instead 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 Co

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

2008-03-27 Thread Paul Collins
tml... me.html( [ '' ].join('') ); }); } 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

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

2008-03-27 Thread Paul Collins
$(":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 al

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

2008-03-26 Thread Paul Collins
input tags 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("_replac

[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 s

[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%