[jQuery] Loading animation for ajax content

2009-07-31 Thread Mike521
We're loading content via ajax using .load, into a jquery ui dialog box. Everything is fine but I'd like to have a loading animation until the ajax content is ready to go I tried something along the lines of: - put a loading animation in #divForDialog - $(divForDialog).dialog().load(

[jQuery] Allow iframe from remote domain have javascript access

2009-07-17 Thread Mike521
Hi all, I'm trying something along these lines: my domain = example.com external domain = otherExample.com example.com/test.htm contains: iframe src=otherExample.com/test2.htm I want test2.htm to have access to the contents of test.htm. I can do this using selectors like $(p,top.document)

[jQuery] Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread Mike521
I was about to use inArray (http://docs.jquery.com/Utilities/ jQuery.inArray) to determine if an element was in an array or not, but I realized I can't use it as a true/false response since it returns the position (and could return 0 if the element was found in position 0 - returns -1 if not

[jQuery] Re: Wouldn't inArray() be more intuitive if called arrayPosition()?

2009-03-23 Thread Mike521
I'm not discussing whether I can or can't use it the way it is, I'm discussing which way is more intuitive. On Mar 23, 3:18 pm, MorningZ morni...@gmail.com wrote: just can't say if ($.inArray(value, array) -1) {    // found in array? } On Mar 23, 2:59 pm, Mike521 mi...@favorfavor.com

[jQuery] Superfish

2008-11-19 Thread Mike521
Hi all, I have a couple questions about the superfish navigation menu (http://users.tpg.com.au/j_birch/plugins/superfish/#examples) First is that the menu claims to degrade nicely when javascript is turned off -- but for me when I disable JS and hover over the menus, nothing happens. Even