[jQuery] Re: how to get php to detect if it's an ajax call or a normal full page call

2008-01-29 Thread muccy
Use POST? On Jan 29, 10:42 am, "Alexandre Plennevaux" <[EMAIL PROTECTED]> wrote: > Hello, > > so that my php script can serve both ajax calls and full page call if > javascript is not available on the client platform, i usually append a "js=1" > to all links. So it's a child play to test for $_

[jQuery] Re: calling all jQuery Safari wizards!

2007-10-22 Thread muccy
On Oct 7, 2:40 pm, To <[EMAIL PROTECTED]> wrote: > On Oct 6, 7:36 pm,muccy<[EMAIL PROTECTED]> wrote: > > > > $("#photo").fadeIn("slow"); > > > $("#photo").show; > > > $("#photo").fadeIn("slow", fun

[jQuery] Re: calling all jQuery Safari wizards!

2007-10-06 Thread muccy
> $("#photo").fadeIn("slow"); > $("#photo").show; $("#photo").fadeIn("slow", function() { $(this).show(); } it should work well

[jQuery] Re: errors using carousel lite plugin

2007-09-25 Thread muccy
There are some other errors to correct...the plugin has strange behaviours :( On Sep 18, 9:04 pm, Adam Messinger <[EMAIL PROTECTED]> wrote: > On Sep 18, 10:23 am, stef <[EMAIL PROTECTED]> wrote: > > > the error i get in firebug is: > > > tLi.gt is not a function > > ul.prepend(tLi.gt(tl-v-1).clon

[jQuery] Re: jCarousel Lite - version 1.0

2007-09-25 Thread muccy
Is it planned an upgrade for jQuery 1.2? :(

[jQuery] Re: fadeIn to ajax submit succes callback

2007-09-25 Thread muccy
> > -- Josh > > > - Original Message - > > From: <[EMAIL PROTECTED]> > > To: "jQuery (English)" > > Sent: Saturday, September 22, 2007 8:33 AM > > Subject: [jQuery] Re: fadeIn to ajax submit succes callback > > > > I tried to g

[jQuery] Re: Help me improve my script

2007-09-24 Thread muccy
pposed to add objects to the DOM rather > than strings. Something like: > var elm = createElement('fieldset') > elm.addAttr(...) > elm.addContent(..) > $('fieldset:last').after(elm) > > I thought that is supposedly better than passing a long string which > th

[jQuery] Re: n00b question: how to pass multiple parameters on a href

2007-09-23 Thread muccy
I've just read the link you pasted. In the ajax call you can add data option. data: { val1: escape($("#field").val()), val2: escape($ ("#field").val()), ... } In the JSON way... PS: if you use escape() you have to urlencode() in the PHP! On Sep 22, 12:22 am, edelwater <[EMAIL PROTECTED]> wrot

[jQuery] Re: Post to PHP file, update div

2007-09-23 Thread muccy
I think it could work... $.ajax({ url: "yourphpurl", type: "POST", data: { postvar: escape($("#value1").val()) }, success: function(data) { $("#updateme").append(data); } }); On Sep 21, 9:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I'm trying to figure out something that I know

[jQuery] Re: overide or deleting events

2007-09-23 Thread muccy
I don't understand what you want to achieve. If you want to override I think $("#customer").click(A); $("#customer").click(B); it will execute B on click. Is it false? On Sep 22, 1:35 pm, james_027 <[EMAIL PROTECTED]> wrote: > hi > > i have something like this > > $('[EMAIL PROTECTED]

[jQuery] Re: Large Project Management

2007-09-23 Thread muccy
I'm developing an app in this way: index.html images/ |_ ... |_ ... pagedepot/ |_ where I store page which I load through AJAX |_ ... js/ |_ where I store jquery, plugins and myapp.js (which uses *module pattern* to organize better my namespace) |_ ... css/ |_ ... |_ ... On Sep 22, 5:41

[jQuery] Re: Help me improve my script

2007-09-22 Thread muccy
1) I think it's a good way. $("#some").after("yourhtml"); to insert some tags after... 2) you could save "form#question-setup fieldset:last" for example...so var f = $("form#question-setup fieldset:last"); f.after("...").slideDown("fast").filter("input[type=text]").focus(); f.filter("div.questio

[jQuery] Re: fadeIn to ajax submit succes callback

2007-09-22 Thread muccy
Are you sure $('.cfjq_form_target4') is a valid selector??? Try to alert($('.cfjq_form_target4').get(0)) to see if you select correct page element :) On Sep 22, 4:54 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi this is my code: > > $(document).ready(function() { >

[jQuery] Re: Sliding Animation Error(s)

2007-09-17 Thread muccy
I partially solved using my using my function and correcting some other mistake. But Interface still not working On Sep 17, 6:11 pm, muccy <[EMAIL PROTECTED]> wrote: > Hello people, > > I'm trying to develop an animation to swap my contents. > > Former I tried to use

[jQuery] Sliding Animation Error(s)

2007-09-17 Thread muccy
Hello people, I'm trying to develop an animation to swap my contents. Former I tried to use Interface pugin ad follows: ...but Firebug said: this.options.curAnim has no properties (no name)()jquery.js (line 11) t()jquery.js (line 11) (no name)()jquery.js (line 11) [Break on this error] eval(