[jQuery] Jquery, AJAX, and php session variables

2007-03-30 Thread Kim Johnson
Hi folks, I apologize if this is a little less Jquery and a little more general AJAX/PHP in nature, but I am completely stuck and was hoping there's tribal knowledge I failed to learn. I have a login panel on each page of my site. The actual authentication takes place in a file called login.php,

Re: [jQuery] Jquery, AJAX, and php session variables

2007-03-30 Thread Kim Johnson
); } } Also, I use asynchronis ajax and disable the fields and display an indicator in the form plugin's beforeSubmit() function. The blockUI plugin is good for doing this kind of thing. Hope it helps. --Erik On 3/30/07, Kim Johnson [EMAIL PROTECTED] wrote: Hi folks

Re: [jQuery] Jquery, AJAX, and php session variables

2007-03-30 Thread Kim Johnson
function after the ajax finishes, perhaps...? thanks, -kim --- Aaron Heimlich [EMAIL PROTECTED] wrote: On 3/30/07, Kim Johnson [EMAIL PROTECTED] wrote: Should I be recalling session_start? As a general rule, you should call session_start() in *every* PHP script that accesses $_SESSION

Re: [jQuery] Jquery, AJAX, and php session variables

2007-03-30 Thread Kim Johnson
{ $(div#login).unhide(); $(div#logout).hide(); } On 3/30/07, Kim Johnson [EMAIL PROTECTED] wrote: I am indeed not using output buffering. I call session_start as the first thing on every page, before the headers are sent. I also call session_start on my login page

[jQuery] Event not firing inside unhidden div

2007-03-18 Thread Kim Johnson
I have a div which is invisible by default, and becomes visible via slidetoggle when a button is clicked. Inside the div is dynamic content via ajax -- i take the responseText of an ajax call, and then append it to an empty div (inside the slidetoggled div) via .html(ajaxreponsevar). I do it this

Re: [jQuery] How to block a function while another finishes? (and pause!)

2007-03-03 Thread Kim Johnson
).slideDown(slow); }); But alas, no pause happened. thanks, -kim --- Klaus Hartl [EMAIL PROTECTED] wrote: Kim Johnson schrieb: I'm having a hard time getting functions to happen in the order I want them to. Specifically, I need the html of a div to be rewritten BEFORE it slides back

[jQuery] How to block a function while another finishes?

2007-03-02 Thread Kim Johnson
I'm having a hard time getting functions to happen in the order I want them to. Specifically, I need the html of a div to be rewritten BEFORE it slides back down. I'm seeing the html change while the div is sliding up, which isn't what I'm looking for. Is there any way to force functions to finish

Re: [jQuery] Figure out which img in a div was clicked?

2007-02-19 Thread Kim Johnson
Glen and Matt, thanks for your responses! I've spent a bunch of time on this tonight and managed to get a working solution, though I'm hoping to tweak it a little now. (url for a refresher... note, i've been working off a different page now, so these new changes aren't up. At least this will

[jQuery] Figure out which img in a div was clicked?

2007-02-18 Thread Kim Johnson
I have a series of divs, each has a dropdown type div that remains hidden, until you click an image in another div (these buttons are for things like screenshots, info, etc). Here's the page I'm working on: http://www.anime-planet.com/newsite/anirec/45.html By default, these dropdown divs

Re: [jQuery] jquery + tinymce .... scope problem?

2007-02-12 Thread Kim Johnson
Tinymce support really does appear to be bad :/ I tend to not have any questions answered over in the support forum. I found this: http://tinymce.moxiecode.com/punbb/viewtopic.php?id=2731 I haven't read the entire thing fully, but it appears to be solving the ajax/tinymce issue in some cases.

Re: [jQuery] Star rating plugin with half star option?

2007-02-07 Thread Kim Johnson
: [jQuery] Star rating plugin with half star option? which star plugin are you looking at the (jQuery) one I know already does this http://sandbox.wilstuckey.com/jquery-ratings/ On 07/02/07, Kim Johnson [EMAIL PROTECTED] wrote: I've seen two versions of a jquery star plugin

[jQuery] Star rating plugin with half star option?

2007-02-06 Thread Kim Johnson
I've seen two versions of a jquery star plugin, but neither supports voting in half star increments. I'd like this functionality and don't really know how to hack something together to make it work. Is there a star plugin that supports half stars? Are there plans to implement that sort of

Re: [jQuery] rewriting the browser address (without refresh)?

2007-02-02 Thread Kim Johnson
I know you are talking about rewriting the URL once you click on an anchor tag, but FYI in case you weren't aware, you can use mod_rewrite (if your server is running apache) in a .htaccess file to rewrite urls. I've been doing this for years, because indeed, search engines like it better if your

Re: [jQuery] A fadeout effect makes the page jump up in IE7

2007-01-24 Thread Kim Johnson
I had the same problem with slide recently, and didn't get a response from this list :/ What I found (and this might not be the root cause) is that the margins around the divs or parent divs was affecting it somehow. If I just had a div by itself, without a parent div positioning it via margins,

[jQuery] Slide up/down via Interface is jittery - ideas?

2007-01-22 Thread Kim Johnson
Hi folks, I'm using the slide effect in the Interface library, and am having a bit of a problem. Rather than create a test page, how about look at the real one? http://www.anime-planet.com/users/userentry2.php?id=1 For testing purposes I set up two of the icons to do what I needed (final design

Re: [jQuery] plugins: writing methods vs. objects

2006-12-19 Thread Kim Johnson
I've been curious about this myself for jquery in general... I love OO programming and tend to always try to use it (including sticking with PHP objects, etc) unless terribly unnecessary; is there a compelling reason to NOT use objects whenever possible in jquery, since objects provide such

[jQuery] jquery session handling versus PHP

2006-12-19 Thread Kim Johnson
Currently I use PHP's built in session functions to handle ensuring users are logged in, etc. It doesn't work correctly a small percentage of the time, but is robust as far as being able to use the $_SESSION array and other such things. Now that I'm starting to use a bunch of jquery stuff, I'm

Re: [jQuery] jquery session handling versus PHP

2006-12-19 Thread Kim Johnson
will offload your server. Kim Johnson wrote: Currently I use PHP's built in session functions to handle ensuring users are logged in, etc. It doesn't work correctly a small percentage of the time, but is robust as far as being able to use the $_SESSION array and other such things. Now