[jQuery] Filter List Items w/ Sub-Lists

2009-08-05 Thread Panman
I have selected a list that contains sub-lists. Now, I'd like to search for the list items that contain sub-lists (but not including the sub-list-items). I think the example below will explain what I'm trying to do. HTML: Do Not Need NEED THIS ITEM Do Not Need Do Not Need

[jQuery] Using each() for multiple $('table') elements

2009-06-10 Thread Panman
I know this is a easy fix, I'm doing something wrong... I've selected multiple tables and tried to use each for applying cornering to each table. Inside the callback function, I try to find the first/last table cells to apply cornering for each corner. However, when there are multiple tables it l

[jQuery] Tablesorter UI Theme Support

2009-05-29 Thread Panman
This is a double post, at least going to be a double post from in the jQuery Plugin list. I'm being moderated yet on that list, and it doesn't seem to get much activity. -- Hi, I'm going to post this here since the Tablesort

[jQuery] CSS Style Property Assigned by Class

2009-04-30 Thread Panman
For some reason I cannot get jQuery.css('name') to return a style property that was assigned by a class. However, it returns the property if it was assigned by style="". Has anyone else run into this issue? Bug? Here is my test code: http://www.w3.org/ TR/html4/strict.dtd"> CSS Test .apply-bo

[jQuery] Re: Ajax timeout doesn't call error function?

2009-04-21 Thread PanMan
for that, while the error should happen immediately when the user is offline. Any idea's are welcome. Thanks! PanMan. On Apr 20, 4:02 pm, "Mauricio \(Maujor\) Samy Silva" wrote: > >A timeout is not considered an error. > > No. It's an error. > > Do the follo

[jQuery] Re: Ajax timeout doesn't call error function?

2009-04-20 Thread PanMan
--- > Are you sure that your request spends more than 10s ? > > Maurício Hi! I tried this while offline. The jquery JsonP lib times-out directly (which would be my preference). But I'm sure nothing loads in 10s, since I'm offline. (this is for an app over flaky mobile connections). PanMan.

[jQuery] Ajax timeout doesn't call error function?

2009-04-20 Thread PanMan
}, "success": function(data){ var json = $.xml2json(data); gotdata(json, target); } }); This works, but the error is never thrown. If I change the URL to something that's broken, I do get the error message, but on timeout it never happens. Am I doing anything wrong? Or is this a bug somewhere? Thanks! PanMan.

[jQuery] Select Last

2009-04-02 Thread Panman
Sounds simple but I cannot get it to work. Here is the structure. Abc Abc Abc Abc 123 Abc Abc I want to get the last in the _sub_ list. Here is what I've tried with no success. Ideas? $('.list li li:last a').addClass('last-li'); $('.list li ul li:last a

[jQuery] Re: jQuery.getScript and Browser Cache

2008-11-11 Thread Panman
to a > single .js file that you load with a single tag. > > Maybe explain more about why you want a bootstrap file, and what exactly you > want it to do? > > -Mike > > > From: Panman > > > Are browsers able to cache calls from jQuery.getScript > > (http:// do

[jQuery] jQuery.getScript and Browser Cache

2008-11-11 Thread Panman
Are browsers able to cache calls from jQuery.getScript (http:// docs.jquery.com/Ajax/jQuery.getScript)? I'm just trying to determine either to use that or just use HTML tags to get jQuery plugin files and such. Would like the most officiant option. The reason being, I'd like to break out the firs

[jQuery] Effect Like slideUp/Down

2008-11-05 Thread Panman
I cannot for the life of me figure this out. I know it must be easy, just not finding the solution. I'd like to toggle() something and use the "slide" effect. However, I don't like how the UI slide effect works. It slides the content out of view then brings whatever was below up. I'd rather have

[jQuery] Re: List slideDown/Up Menu

2008-05-09 Thread Panman
Andrea, when I changed to hover() the stopPropagation() effected negatively. Once I removed that it started working ok. Also, what is variable e when passing it to the function? Thanks On May 9, 11:25 am, andrea varnier <[EMAIL PROTECTED]> wrote: > not sure but you could try something like this,

[jQuery] Re: List slideDown/Up Menu

2008-05-09 Thread Panman
Getting closer! I changed from using the mouseover() and mouseout() to hover(). That now seems to be working properly. The only issue at this point is that it doesn't slide down on the first hover. When the page loads and the mouse is over the it just shows the list as the CSS does. Then when the

[jQuery] Re: List slideDown/Up Menu

2008-05-09 Thread Panman
e the menu working with CSS I just wanted to add the slide down/up feature. On May 8, 7:29 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello, Panman! Welcome. > > It would help if you posted a link to your work page. > > Without seeing your actual code, it looks

[jQuery] List slideDown/Up Menu

2008-05-08 Thread Panman
Hi, new to jQuery and very impressed. I already have a CSS menu that shows/hides a list menu. However, I'd like to add more "dynamics" and have the sub menus slide down and back up. So using the below code, I've got it to slide down and up, but repeatedly. It seems like it wants to keep sliding fo