[jQuery] Accordion Problems

2008-05-21 Thread fambizzari
I've just tried to implement the excellent UI Accordion plug-in (see http://www.favouritethings.com/dev/Accordion.htm) I am, however, struggling with 2 issues: 1. When you first open the accordion, it expands much more than needed and then contracts. 2. The manner in which it expands seems

[jQuery] Re: HELP: Debugging Issue

2007-11-19 Thread fambizzari
Thanks. On Nov 19, 2:03 pm, James Dempster [EMAIL PROTECTED] wrote: oops... or alternatively use break points and step though your coding using the debugger in firebug On Nov 19, 5:07 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: On one page, Firefox throws the a script is taking too

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-08 Thread fambizzari
@Renato - Thanks for the example. But i didn't see it and i still can't see it. @Suni - I've never used bind (except in a copy/paster job). Can you point me to a tutorial which explains it. Thanks

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-08 Thread fambizzari
Thanks Renato, i didn't realise you were talking about that. On Nov 8, 8:58 pm, Renato Formato [EMAIL PROTECTED] wrote: fambizzari ha scritto: @Renato - Thanks for the example. But i didn't see it and i still can't see it. Try here:http://groups.google.com/group/jquery-en/browse_thread

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-08 Thread fambizzari
); }); Firebug tells me: syntax error [Break on this error] if(e.target).is(tr) $ (e.target).addClass(over);\n $ is not defined [Break on this error] $(document).ready(function() On Nov 8, 8:58 pm, Renato Formato [EMAIL PROTECTED] wrote: fambizzari ha scritto: @Renato - Thanks for the example

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-08 Thread fambizzari
); }); Is that okay? On Nov 9, 7:56 am, fambizzari [EMAIL PROTECTED] wrote: Thanks Renato, i didn't realise you were talking about that. On Nov 8, 8:58 pm, Renato Formato [EMAIL PROTECTED] wrote: fambizzari ha scritto: @Renato - Thanks for the example. But i didn't see it and i still can't see

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-08 Thread fambizzari
Ok the code does not throw any errors, but it doesn't do what its supposed to do. Aren't we suppose to check what the parent of the target is? Because, in effect, it is a table cell which is being hovered over and not the row. Any ideas?

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-08 Thread fambizzari
Ok... here we go... I got it to work with this... $(table tbody) .mouseover(function(e) { $(e.target).parents('tr').addClass('over'); }) .mouseout(function(e) { $(e.target).parents('tr').removeClass('over');

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-07 Thread fambizzari
George, I have no idea what you are talking about! Can you explain by means of code?

[jQuery] Re: Major Problem With Dom Traversal

2007-11-07 Thread fambizzari
Flesler, that's what we ended up doing... $(head style).append(.siteWidth{width: + modifiedW +}); But it still took the same amount of time for the page to update. I wonder why?

[jQuery] Re: how to make links unclickable

2007-11-07 Thread fambizzari
This should replace all links with their link text: $(a.noclick).each(function(){ $(this).replaceWith($(this).text());});

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-06 Thread fambizzari
The solution i adopted was CSS (tr:hover) for non-IE6 and only allow small tables to have hover-over using a class name to identify them. Any better solutions? On Nov 6, 10:45 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: The following code works fine on small tables: $(table tbody

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-06 Thread fambizzari
it is to manipulate with any kind of scripting. If paging your results doesn't work for you, then the tr:hover CSS-only solution would really be the best way to go. JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of fambizzari Sent: Tuesday

[jQuery] Re: PROBLEM: Adding hover to table rows on large tables

2007-11-06 Thread fambizzari
In the end, we've gone for pagination on the most commonly used application and a warning on the least used application recommending users to keep their lists short.

[jQuery] JS/jQury Drop line

2007-10-24 Thread fambizzari
Does anyone know of a JS solution (preferably in jquery) for http://www.cssplay.co.uk/menus/doors_drop_line.html? Thanks

[jQuery] jCarousel: Anyway to get round the need for unordered lists?

2007-10-04 Thread fambizzari
Hi all, Is there anyway to get round the need to include the carousel content in an unordered list. We'd like to use the carousel to offer customer testimonials, but you can't include a blockquote in a list item. Thanks

[jQuery] Re: Vertical Tabs

2007-09-09 Thread fambizzari
Thanks for your help guys.

[jQuery] Vertical Tabs

2007-09-08 Thread fambizzari
Does anyone know of a vertical version of Klaus Hartl's tabs, similar in theory to, the micorosft home page (http://www.microsoft.com/en/us/ default.aspx)

[jQuery] Re: The JS/jquery version of PHP's array_unique

2007-07-31 Thread fambizzari
{ if (haystack[i] === needle) return true; } while (i--); } return false; } On Jul 31, 11:07 am, Klaus Hartl [EMAIL PROTECTED] wrote: fambizzari wrote: PHP developers will all know about the array_unique() function which

[jQuery] Re: The JS/jquery version of PHP's array_unique

2007-07-31 Thread fambizzari
Thanks. On Jul 31, 1:42 pm, Klaus Hartl [EMAIL PROTECTED] wrote: fambizzari wrote: Right... In this case, how about adding the following /*Replicate php in_array */ function in_array(needle, haystack

[jQuery] Re: Is it possible so scroll all the way to the end a div overflow: scroll; ?

2007-07-25 Thread fambizzari
I also need to know that. What would be even better is to know how to scroll how to a specific position within the div noted by, say, an id. On Jul 25, 6:18 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I have a div that its overflow attribute is set scroll (or auto), basically, I need to

[jQuery] Re: Is it possible so scroll all the way to the end a div overflow: scroll; ?

2007-07-25 Thread fambizzari
Then, another question i would have is, how do you find the y-position of an element within the div to know how to scroll down to it.

[jQuery] Improving Link Display for Print

2007-06-27 Thread fambizzari
Hi all, Does anybody know if the js used in the ALA article Improving Link Display for Print (http://alistapart.com/articles/improvingprint) was re-written for jQuery? I think that jQuery would do a much better job than that which has been presented. Thanks

[jQuery] Re: Finding a parent list item.

2007-05-25 Thread fambizzari
() { $(this).parents('li').addClass('on'); } ) .blur (function() { $(this).parents('li').removeClass('on'); } ); }); On May 24, 9:48 pm, fambizzari [EMAIL PROTECTED] wrote: Hi

[jQuery] Re: Finding a parent list item.

2007-05-25 Thread fambizzari
, Daemach [EMAIL PROTECTED] wrote: Try $(fieldset).find(:input) to grab all form fields. (http:// docs.jquery.com/DOM/Traversing/Selectors) If that doesn't work, [EMAIL PROTECTED] should pick it up. On May 25, 9:08 am, fambizzari [EMAIL PROTECTED] wrote: Unfortunately, whilst your suggestions

[jQuery] Trouble with validate plug-in

2007-05-25 Thread fambizzari
We're trying to get set up with the Validate plug-in. This is the scenario: JQUERY === $(document).ready(function() { $(#myForm).validate(); }); HTML === form action=# method=post id=myForm ... /form But, when the submit button is pressed the following

[jQuery] Finding a parent list item.

2007-05-24 Thread fambizzari
Hi everyone, Imagine the following HTML scenario: li label for=title_newTitle/label div class=inputinput name=title_new id=title_new//div /li li label for=message_newMessage/label div class=input div div

[jQuery] Re: Reducing this code.

2007-04-17 Thread fambizzari
Thanks - funnily enough i downloaded firebug earlier on today. Also, what's Sean talking about when he says: lets say the focus function gets called twice (through malicious javascript or a quirky browser) then the toggle state of the class will be off. But in general I prefer your

[jQuery] New to jQuery and struggling

2007-04-16 Thread fambizzari
I am (relatively) new to JavaScript and brand new to JS libraries. Prior to jQuery, I was using Yahoo's library, but was well-impressed with jQuery and made the move. I have a series of custom written js functions which fire-up when the DOM is ready and i am happily using jQuey's $

[jQuery] Reducing this code.

2007-04-16 Thread fambizzari
I am just beginning my journey with jQuery and would like to know how the following could be summarised: $(document).ready ( function() { $(fieldset input, fieldset select, fieldset textarea).focus ( function()