[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2010-01-01 Thread evilC
with it and giving each effect time to complete fully. > > Walter > > On Dec 24, 2009, at 3:00 PM, evilC wrote: > > > Thanks walter, though I am not sure I understand that code. > > if the identify command assigns and ID, it returns it, but the code > > throws it away

[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-24 Thread evilC
et').attractAttention(); >                         break; >                         case 'baz': >                                 $('baz_target').attractAttention(); >                         break; >                         default: >              

[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-23 Thread evilC
As an afterthought, I guess it is by design. If you trigger it, it probably uses the current state as a starting point. I guess what is needed is a way to tell it to stop the current animation if triggered again before it finishes, or ignore subsequent requests until the current animation is comple

[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-23 Thread evilC
at the source, and there's   > just so much else going on in there that I don't know where to start.   > Is that big lump of code in the middle (begins with unescape) what you   > are using to drive any of these effects? > > Walter > > On Dec 22, 2009, at 3:48 PM, ev

[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-23 Thread evilC
OK, I have largely fixed browser compatibility. I was using a firefox method to get the window size and it was breaking things for everyone else. I have now removed the browser check, so you should be able to access the site. Tthanks! On Dec 23, 3:09 pm, evilC wrote: > Hmm. > 'twa

[Proto-Scripty] Re: Pulse effect sometimes stopping on darkened version

2009-12-23 Thread evilC
Walter Lee Davis wrote: > I'd love to help, but your browser detection scheme mis-identified my   > Safari as Chrome, then redirected me to getfirefox.com. I already have   > Firefox, thanks. > > Walter > > On Dec 22, 2009, at 3:48 PM, evilC wrote: > > > I am

[Proto-Scripty] Pulse effect sometimes stopping on darkened version

2009-12-22 Thread evilC
I am using pulse effects in my app to highlight UI components on mouseover of some help text. Sometimes, however, the animation gets stuck or something and you are stuck with a greyed out DIV. Any ideas on what I may be doing wrong or how I may work around it? http://placebook.tv - hover the links

[Proto-Scripty] Re: Ajax functions not working inside classes.

2009-12-07 Thread evilC
For future reference, document.observe('resize',winResize); Never fires. Maybe because the document as a whole has not been extended? However, Event.observe(window, 'resize', winResize); worked fine. -- You received this message because you are subscribed to the Google Groups "Prototype & s

[Proto-Scripty] Re: Ajax functions not working inside classes.

2009-12-07 Thread evilC
The idea of Placebook is social networking for places. Sort of like if you could have a facebook or twitter account for a place. People can log in and add locations, then people can make posts on it's wall, or add tags to the location to denote activies and social groups associated with that place

[Proto-Scripty] Re: Ajax functions not working inside classes.

2009-12-07 Thread evilC
Great, that worked. I didn't realise "this" could be something else... Also, bear in mind that I only started using prototype for this project yesterday. Hell, I ripped it out and put it back in since I made the first post - hence a lot of the code does not use prototype properly (Though a search

[Proto-Scripty] Re: Ajax functions not working inside classes.

2009-12-07 Thread evilC
Thanks for all the help and advice guys! Yes, I know the code is quite horrific at the moment - due to the way I have my uni projects scheduled, I need to get the basic add/edit functionality working as soon as humanly possible so that I can do some HCI evaluation on the UI. Once that is done, I ca

[Proto-Scripty] Re: Ajax functions not working inside classes.

2009-12-06 Thread evilC
Just tried onComplete - no joy I uploaded a copy to http://www.evilc.com/pb/pb.zip, should anyone be so kind as to be inclined to take a look at it. If you have a localhost LAMP server (I use XAMPP) with default sql account of root/ , it will work without any modifications - just create a databas

[Proto-Scripty] Re: Ajax functions not working inside classes.

2009-12-06 Thread evilC
I have put up a version on my web server. http://www.evilc.com/pb The JS file is at http://www.evilc.com/pb/placebook.js - the code you are interested in will be in the pb_editloc object near the end. The HTML of the form is at http://www.evilc.com/pb/templates/pb_add_location.html (the php grab

[Proto-Scripty] Re: Ajax functions not working inside classes.

2009-12-06 Thread evilC
Thanks TJ, I tried to make a self-contained version, so I ripped out prototype and did the same thing with object literals, and I still had issues, so clearly it wasnt prototype. In the end I figured out that the button which fired off the AJAX request (ie the "Submit" button) was inside a form (I

[Proto-Scripty] Ajax functions not working inside classes.

2009-12-06 Thread evilC
The following code works: new Ajax.Request('somefile.php',{ method:'get', onSuccess: function(transport){ var response = transport.responseText || "no response text"; alert("Success! \n\n" + response); }, onFailure: function(){