[Proto-Scripty] Re: Resuming a stopped PeriodicalExecuter

2009-09-18 Thread JoJo
Hi David, I know PeriodicalUpdater has a start() function, but PeriodicalExecuter does not (according to the documentation). On Sep 16, 5:27 am, david wrote: > Hi Jojo, > > if you look at prototype source, you will see that there is a start > function on the PeriodicalUpadter > > -- > david > >

[Proto-Scripty] Unassociated page elements disappearing after inclusion of prototype 1.6.1 in Firefox 3.5.2

2009-09-18 Thread rs21
I have a site that behaved as designed in both IE and Firefox. I implemented the use of Prototype 1.6.1 for use with flotr for graphing data sets. In IE the functionality of the original site did not degrade after this implementation (in other words everything, including the graphing, functions as

[Proto-Scripty] Scriptaculous onmouseover

2009-09-18 Thread Matt Johnson
So I'm creating a light-weight expanding and collapsing menu. I am using the morph property to expand and contract the height of the list items in the menu onmouseover. I am running into issues however where (once I've expanded the list) every time I rollover an item within the expanded list item,

[Proto-Scripty] Re: Unassociated page elements disappearing after inclusion of prototype 1.6.1 in Firefox 3.5.2

2009-09-18 Thread T.J. Crowder
Hi, Your best bet is to try to create a self-contained example demonstrating the problem, separate from the site that's behind a firewall and code you can't post. More on why this is useful here.[1] [1] http://proto-scripty.wikidot.com/self-contained-test-page Good luck, -- T.J. Crowder tj / c

[Proto-Scripty] Re: Scriptaculous onmouseover

2009-09-18 Thread T.J. Crowder
Hi, > Basically I'm just wondering if there is a quick and easy way for > scriptaculous effects to work well onmouseover and onmouseout. Thanks! script.aculo.us is working fine with the events, it's just that the events aren't doing what you expect them to do. Read up on mouseover and mouseout

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-18 Thread david
Hi Juan, IE has much trouble with table. So not surprinsing that IE doesn't work as expected. -- david On 17 sep, 19:10, Juan Diego wrote: > Thanks. > One more thing, I am doing this inside a joomla so those divs are > inside a table inside the"content" module of joomla.  When ever I use > ale

[Proto-Scripty] Re: IE8 responseXML ?

2009-09-18 Thread david
Hi Jason, > > the way you write it is good even in IE. > > When write " onComplete: parent_response() ", you launch the function > > at initialisation time, and the AJAX was not call, so you input is > > undefined. If you test alert(originalRequest) you should also have > > undefined. > > When sh

[Proto-Scripty] Re: Resuming a stopped PeriodicalExecuter

2009-09-18 Thread david
Hi jojo, In the code, the start() function does the oposite of the stop() function, I think that function could be used. But effectivelly, it's not in the doc. So you could restart it with start, or recreate a new one. -- david On 18 sep, 09:42, JoJo wrote: > Hi David, > > I know PeriodicalUp

[Proto-Scripty] Re: AJAX.Updater calls intermittently seem to not work

2009-09-18 Thread david
Hi CauchemarSJH, Check if the updater is created by verifying the returned object or make some trace inside the class. And if you can check on the server log, just verify that the request is send to the server. If we can have a live test environment, we could play with it ? -- david On 17 sep,

[Proto-Scripty] .select on a combo

2009-09-18 Thread speedpac...@gmail.com
Hello, I'm trying my secod post here - I never got my first to end up on the list, so l'ts try it through the google groups website directly now... I'm having an issue that I hope someone here can help me with... I have the following code: HTML: -- Registreer voor 1 Jaar Registreer vo

[Proto-Scripty] Re: .select on a combo

2009-09-18 Thread david
Hi speedpacket, > this is the javascript that worked up until a few weeks ago when I > upgraded to the new release of prototype: I've tested with with prototype v1.6.0.2 and 1.6.1 and both does not return anything. But I'm not sure, because I have to modify the code you give. Please, send us a li

[Proto-Scripty] Re: .select on a combo

2009-09-18 Thread speedpac...@gmail.com
Hi, First and foremost - thanks for the feedback! It's MUCH appreciated! To test, you can go to www.flexin.be Once arrived on that site, log in using t...@speedpacket.com / test123 (top right) Then go to http://flexin.be/site/en/ProductSubscriptionDomain/addToCart/index.html (it will return a

[Proto-Scripty] Re: .select on a combo

2009-09-18 Thread Marko
Hi, Instead of adding attributes on element you can rewrite it like this: Registreer voor 1 Jaar => Registreer voor 1 Jaar => Registreer voor 1 Jaar You can get value like this: selectedItem = orderOptions.select('[value="' + orderOptions.getValue() + '"]'); => As this is equal to

[Proto-Scripty] Re: .select on a combo

2009-09-18 Thread speedpac...@gmail.com
Hi Marko, Great idea on combining the different attributes into one value attribute with the pipe character. I'll consider it for a later version, because this obviously also requires changes on the serverside as we'll end up with other values being sent to the server... The class tihngy I knew

[Proto-Scripty] Re: including prototype dynamically, and observe:domloaded

2009-09-18 Thread Ngan Pham
Hi jrochkind, I believe document.write is execute properly and full before your observe call is done. However, document.write's job is simply to write the string to the browser, nothing more. It's then the browser's job to interpret the string and do whatever it has to do on a different tangent.

[Proto-Scripty] Re: Status of script.aculo.us

2009-09-18 Thread Mike Kelly
On Sep 17, 3:29 pm, Jarkko Laine wrote: > Have you seen http://scripty2.com/ ? Now I have. :p The big "This is alpha software" warning will keep me from using it in production for now, but I may play around with it a bit on my own. Also, its main page is almost painfully slow in my browser (Fi

[Proto-Scripty] Re: IE8 responseXML ?

2009-09-18 Thread Jason Frisvold
On 09/18/2009 06:43 AM, david wrote: > Hi Jason, > > In fact by writting parent_response(), it indicate that you execute > the function on the creation of the AJAX request, and the retruned of > the execution of the function value will be used for the onComplete. > So the onComplete value will be

[Proto-Scripty] Re: IE8 responseXML ?

2009-09-18 Thread Jason Frisvold
On 09/18/2009 03:00 PM, Jason Frisvold wrote: > via IE8? It returns nothing. I tried adding: > > alert($H(originalRequest).inspect()); to the parent_response method and > the alert never shows up when running via IE8. I have discovered more.. Adding an onException block like this : function

[Proto-Scripty] Re: IE8 responseXML ?

2009-09-18 Thread Jason Frisvold
AHA!!! I have resolved this. We had a element in the head of the document. Apparently this is to reference where the images/css/etc are. This causes IE8 to prevent javascript from retrieving a page due to security restrictions. I'd feel dumb about it if I didn't think this was a really poor

[Proto-Scripty] A better way to check for an element.

2009-09-18 Thread Luisgo
Hey all, I was wondering if you can suggest a better way of achieving what this snippet does. I do it often enough that it starts bloating my code and frankly just gets annoying to type. var some_button = $('some-button') if ( some_button ) { some_button.observe("click",function(event

[Proto-Scripty] Re: A better way to check for an element.

2009-09-18 Thread Rick Waldron
Its not much different, but this is what i do: if ( $('some_button') ) { $('some_button').observe('click', function (e) { //do stuff. }); } Ideally, i wish prototype was a bit more strict about this stuff... If you're using Firebug, you could replace your $() definition: function $(ele

[Proto-Scripty] Slightly off topic about CSS

2009-09-18 Thread Russell Keith
I have the following CSS class I am adding with Element.addClassName tr.selected{ background: url(/images/ArrowSelection.gif) no-repeat; background-color: #AA; } My issue is that it is also adding the background image to each in the . Any idea how to stop t