[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: ul class=start-here liDo Not Need/li liNEED THIS ITEM ul

[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

[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

[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: !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01//EN

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

2009-04-21 Thread PanMan
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 css.mau...@gmail.com wrote: A timeout is not considered an error. No. It's an error. Do the following: timeout: 1,     error: function

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

2009-04-20 Thread PanMan
); 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] Re: Ajax timeout doesn't call error function?

2009-04-20 Thread PanMan
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] Select Last li

2009-04-02 Thread Panman
Sounds simple but I cannot get it to work. Here is the structure. ul class=list lia href=#Abc/a/li lia href=#Abc/a ul lia href=#Abc/a/li lia href=#Abc/a/li lia href=#123/a/li /ul /li lia href=#Abc/a/li lia href=#Abc/a/li /ul I want to get the last a in the

[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 script tags to get jQuery plugin files and such. Would like the most officiant option. The reason being, I'd like to break out

[jQuery] Re: jQuery.getScript and Browser Cache

2008-11-11 Thread Panman
script 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:// docs.jquery.com/Ajax/jQuery.getScript)? I'm just trying to determine either to use that or just

[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 ul slideDown/Up Menu

2008-05-09 Thread Panman
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 like you have every second- child li

[jQuery] Re: List ul 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 li it just shows the list as the CSS does. Then when

[jQuery] Re: List ul 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, to

[jQuery] List ul 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 for