[jQuery] Re: Possible 1.3 bug

2009-01-15 Thread tpb976
It seems the problem has to do with creating custom selectors. I have a custom selector that I created and I am receiving this exact error. I am currently looking into the problem to see what I can figure out. On Jan 15, 9:05 am, Diego wrote: > Hi (me again), the problem was being caused by the

[jQuery] Re: Change the active tab of jquery ui tabs

2008-10-29 Thread tpb976
9:23, Klaus Hartl <[EMAIL PROTECTED]> wrote: > > > On 29 Okt., 16:49, tpb976 <[EMAIL PROTECTED]> wrote: > > > > $(document).ready(function(){ > > >     $("#example > ul").tabs("select", 1); > > >   }); > > > > This ex

[jQuery] Re: Hiding and Showing Elements on a page with mouse over

2008-10-29 Thread tpb976
I would maybe try something like this after the line $ (ptotoggle).hide() $(this).mouseover(function() { $(this).find('p').show(); } ).mouseout( function() { $(this).find('p').hide(); } ); You may need to mess with the size of the box to make sure the mouseover area is where

[jQuery] Re: Change the active tab of jquery ui tabs

2008-10-29 Thread tpb976
Yes, there is a way to change the active tab. From the documentation of jQuery tabs, you would use something like the following: $(".selector").tabs("select", 1); Where the second parameter is a zero-based index of the tabs or you could use a selector to select a certain tab. To help you out,

[jQuery] Re: Select an element in an ancestor selector

2008-10-29 Thread tpb976
, but it did no work either. It's 5 > > levels up and there are different tags on the way... I think that's > > the reason it's getting that hard. Maybe I'm to focused in the "li" > > and the solution is in a different path... > > > André >

[jQuery] Re: Select an element in an ancestor selector

2008-10-28 Thread tpb976
Try removing the ":first" like this: $("a.confirmar").click(function(){ $ (this).parents("li").next().find("a.apImg").addClass("apImgOn").removeClass("apImg"); }); Also, since the methods are chainable, you do not need to traverse to the item again. You can just call .removeClass() right af

[jQuery] Re: Quick Syntax Error Check

2008-10-28 Thread tpb976
The problem might be that there is a "," after the line "email: "Please enter a valid email address"". Try removing the comma and see what happens. -Tim On Oct 28, 1:10 pm, MauiMan2 <[EMAIL PROTECTED]> wrote: > IE7 is telling me the following script has a syntax error and I have > tried to fin

[jQuery] Re: Custom plugin

2008-10-28 Thread tpb976
Try using this to create the plugin: (function($) { // // plugin definition // $.fn.dockBar = function(options) { // build main options before element iteration var opts = $.extend({}, $.fn.dockBar.defaults, options); // iterate and reformat each matched

[jQuery] Re: jcarousel lite: getting it to work with a grided li display

2008-10-28 Thread tpb976
claudes, I recently modified the jCarouselLite plugin to take in a parameter for how many rows that you want shown when scrolling horizontal or columns when scrolling vertical. I am not sure the easiest way to get you the code so I am just going to paste it here. (function($) {