[jQuery] Tab Switcher problem

2009-12-18 Thread William
Hi everyone, I am trying to get the demo no jquery, where the Tabs automatically switch without changing URL's. Here is the link to the demo I am trying to recreate. http://jqueryui.com/demos/tabs/ Here is the url to the page where I am trying to recreate the demo on http://www.mdplusclinic.com/t

[jQuery] update on interval

2009-11-15 Thread william
Im looking for a way to grab a url at a set interval say every 1 second and set a div tag with the results. I would like the interval in the time it checks to keep taking more time if the returned content is the same. I also want to be able to set a max interval that once hit would reset the interv

[jQuery] Re: show()ing thousands of divs

2009-09-28 Thread William Chang
For 3000 divs and a lot more in the future, then I recommend you do an AJAX to load the content when the user scrolls down. Examples: Slashdot (slashdot.org) Google Reader I know there are jQuery plugins to help you load on scroll, please Google. Good Luck, William Chang http

[jQuery] Re: Wait until animation completed - callback?

2009-09-25 Thread William Chang
ot;, "slide_ended"). I don't think using the timeout is the best way. Good Luck, William Chang http://www.williamchang.org http://www.babybluebox.com On Sep 25, 4:23 pm, Merlin wrote: > The timeout sounds logical. I would like to try it, but somehow jquery > does not know th

[jQuery] Location Pathname jQuery Version?

2009-09-23 Thread william
Hello everyone! I'm a graphic designer and I'm just getting my hands into this fabulous tool. We are building a site with a system that only allow us to have one template. We have a javascript code to select specific pages (getting it from the url I guess). Right now everything is find but we are

[jQuery] Re: Jquery call works with 'alert' but no if i comment 'alert' out!

2009-01-28 Thread William
out with jquery allowing > the object id containing the flash to finish loading before that code gets > executed? How can I do that? That's probably easier but I am new to jquery > and I just don't know how to do that! > > > > William-118 wrote: > > > Well, I ag

[jQuery] Re: injecting content

2009-01-28 Thread William
In general, you can just use the jQuery manipulation APIs to inject arbitrary text and elements, like $('a').append('(This is a link)') Tables are a bit of a special case. In my experience, it does not work consistently, so it is better if you use the browser DOM APIs to do things like row = table

[jQuery] Re: Jquery call works with 'alert' but no if i comment 'alert' out!

2009-01-28 Thread William
Well, I agree with the browser... DOMElement.setParam() is not a function. You might have another script in your page that is overloading the prototype to define a setParam function, which would explain the alert() behaviour. Scripts are always executed in document order, so your script snippet ab

[jQuery] Re: How save is Jquery with JSON

2009-01-27 Thread William
You just described a basic XSS attack, browsers generally do not allow cross-domain XHR because of that. You can get around it by using your own domain as a proxy for JSONP. On Jan 27, 2:43 pm, Trend-King wrote: > hello i havea question about how saveis jquery and JSON. > > i use $ajax({url:url,

[jQuery] Re: Unsetting variables

2009-01-27 Thread William
To completely remove a variable: delete x; On Jan 27, 2:22 pm, "Chris J. Lee" wrote: > There a function to delete variables for jquery? > > x = undefined; // would that work?

[jQuery] book: Learning JavaScript, Second Edition

2009-01-03 Thread David William
someone in the group have this book? Learning JavaScript, Second Edition link -> http://oreilly.com/catalog/9780596521875/preview.html

[jQuery] Re: How do I reference PHP for an ID value?

2008-11-19 Thread William Chang
Word of advice, you need to make an effort of separation between PHP and JavaScript. Some good points: easier reading, debugging, and extending existing code. We don't want spaghetti code. Sincerely, Will On Nov 19, 1:38 am, propstm <[EMAIL PROTECTED]> wrote: > SOLUTION: > Because the PHP was in

[jQuery] Re: Get label text

2008-10-23 Thread William
Perhaps use .append(labels.join(',')) Note that the snippet from Klaus uses var *labels*, so trying to use the Array.join method of *levels* (probably undefined) will likely not work ;) On Oct 23, 2:58 pm, shapper <[EMAIL PROTECTED]> wrote: > But I can join the labels can't I? > > I tried: > .ap

[jQuery] Re: Puedo indexar directamente los jquerys de Google?

2008-10-23 Thread William
http://code.google.com/apis/ajaxlibs/documentation/index.html#jquery La URL está http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js On Oct 23, 2:03 pm, "America|UNK" <[EMAIL PROTECTED]> wrote: > Habrá algún problema si lo pongo en mi head ? > http://jqueryjs.googlecode.com/ > fi

[jQuery] Re: jquery.com incredibly slow for me

2008-09-18 Thread William Chang
Same here, slowness and unresponsive been going on over a week. I reported on the jQuery Development mailing list: http://groups.google.com/group/jquery-dev/browse_thread/thread/5efcd4be97067ef Sincerely, Will On Sep 18, 8:40 am, Michael <[EMAIL PROTECTED]> wrote: > On Wed, Sep 17, 2008 at 7:05

[jQuery] Re: Jquery .load() can't load style and js in html file on Safari and Chrome??

2008-09-08 Thread William Chang
When I read your message, I got curious too, but I searched and found the answer without asking a question. The answer explained here: http://groups.google.com/group/jquery-en/msg/14925da1b4540acd I hope the answer is for you, because it worked for me. Sincerely, Will On Sep 8, 10:48�pm, Jove

[jQuery] Re: Accessing forms

2008-04-26 Thread William Chang
/blog/tutorial/ajax-forms-with-jquery/ Here is my sample ajax form (click on PHP request, don't use ASP.NET because it uses localhost): http://www.williamchang.org/jquery/ Sincerely, William Chang http://www.creativecrew.org http://www.diehard.cc On Apr 26, 8:12 pm, "[EMAIL PROTECTED]

[jQuery] Re: Accessing forms

2008-04-26 Thread William Chang
't use ASP.NET because it uses localhost): http://www.williamchang.org/jquery/ Sincerely, William Chang http://www.creativecrew.org http://www.diehard.cc On Apr 26, 8:47 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi Karl, thanks for the link ;) > > i ma

[jQuery] Superfish Menu Width Auto Resize

2008-04-26 Thread William Chang
ks for the help, William Chang http://www.creativecrew.org http://www.diehard.cc

[jQuery] Slideshow for divs

2008-02-14 Thread William Horta
does anyone know a plugin or a way to slide divs from left to right ? i found some ways but only with images, and im not very good at programming so i coudln't do it with .animation it didn't work very well