Thanks for the response,

the weird thing is that the AJAX is just to set the cookie for the
persistance as I was having no luck getting javascript to do it for
me. The script doesn't actually rely upon the AJAX and i've taken it
out and it doesn't change if it works or not.

The other thing is that the timer is just so that the bottom border of
the menu doesn't appear until the dropdown box is closed. Again this
is not part of something that is function for the dropdown script and
has also been removed during tests.

So from my view it doesn't seem like the setTimeout and AJAX requests
are messing it up, but then again i'm still learning Javascript....
much more comfortable in my home state of PHP. :)



On Jun 12, 3:27 am, "Frederick Polgardy" <[EMAIL PROTECTED]> wrote:
> Just a note on debugging: Ajax.Request() and setTimeout() both result in
> code which is asynchronous (Greek for "impossible to debug" ;-)).  I write a
> blog post awhile back about how to patch both of these scenarios for the
> purposes of testing, which you might find useful:
>
> http://sustainablecode.com/blog/2008/01/testing-ajax-calls-in-prototy...
>
> -Fred
>
> On Thu, Jun 12, 2008 at 2:27 AM, Edwartine <[EMAIL PROTECTED]> wrote:
>
> > If you go tohttp://www.worldsurfengine.com/Hawaii/homethere is a
> > login function. Once logged in, it allows you to click "account" in
> > the same place that "login" is and it makes a div slide down from the
> > menu bar.
>
> > Basically, I have firebug installed and it doesn't detect any errors.
>
> --
> Science answers questions; philosophy questions answers.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to