[Proto-Scripty] Re: mouseout .. of browser window

2008-09-16 Thread kangax
On Sep 16, 9:37 pm, Maulkye <[EMAIL PROTECTED]> wrote: > I've been trying to figure out how to detect that the user has moved > the mouse out of the browser window.  It's for a "resizer" tool I'm > working on.  I've been using the code below, which only work on IE. > I'm really trying to find some

[Proto-Scripty] mouseout .. of browser window

2008-09-16 Thread Maulkye
I've been trying to figure out how to detect that the user has moved the mouse out of the browser window. It's for a "resizer" tool I'm working on. I've been using the code below, which only work on IE. I'm really trying to find some sort of cross browser way (hoping to find an answer within Pro

[Proto-Scripty] Re: IE6 odd behaviour while loading ajax

2008-09-16 Thread Diogo Neves
On Tue, Sep 16, 2008 at 10:26 AM, Nelson Lim <[EMAIL PROTECTED]> wrote: > > Hi guys, > > I'm new to prototype. I've been using it to load a panel by writing > what I get from pd_builddetails.html into a div tag using innerHTML. > This works fine with firefox, but on IE6, its a little unpredictable

[Proto-Scripty] Re: javascript widget (using prototypejs)

2008-09-16 Thread Diogo Neves
Hi, On Wed, Sep 17, 2008 at 12:38 AM, Rama <[EMAIL PROTECTED]> wrote: > > iam not violating the same origin policy that which the browers > follow. > > > Scenario1 )Script is loading from mydomain.com,script is > residing on the same mydomain.com > > in this case ever

[Proto-Scripty] Re: javascript widget (using prototypejs)

2008-09-16 Thread Rama
iam not violating the same origin policy that which the browers follow. Scenario1 )Script is loading from mydomain.com,script is residing on the same mydomain.com in this case everything is working fine. Scnario2) Script is loading from mydomain.com, script is

[Proto-Scripty] Re: Need Help with Ajax.Request Parameters

2008-09-16 Thread TheZ
Thanks for the reply but I am surprised that there is no way to do this using Ajax.Request. How does Form.Serialize do it? On Sep 16, 9:47 am, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 10:57 AM, TheZ <[EMAIL PROTECTED]> wrote: > > parameters : { > >  user : { > >    f

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Justin Perkins
Like I said in my first post, delay invoking your function for the same amount of time as the effect. There's a few different ways to achieve this, but the goal is don't do any row counting/alteration/etc until after the effect is complete. row.fade({duration:0.5}); setTimeout(function(){ row.r

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread ericindc
Ok, you're right...that was the problem. I made the change and the row coloring worked just fine. That said, I did want to use the effect when removing the row (and adding a row [highlight] for that matter). I tried stringing together the .remove and the setRowFeatures but that gave me a Javasc

[Proto-Scripty] Re: fiering an event in opener window

2008-09-16 Thread Jerod Venema
I'm not so sure... I've run into similar problems with event-based systems. What I've done to work around it (it's a hack) is to define a function in the page that creates the popup attached to the window, and fire the event from there rather than from the popped-up page. Example: In your primar

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Justin Perkins
Just as I thought, you are calling your function setRowFeatures immediately instead of waiting until the row is removed. Due to implementation problems in browsers like IE, I really recommend against using effects on table elements. Take these 2 lines of code: row.fade(); //{afterFinish: functio

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread ericindc
http://pastie.org/273679 Don't hesitate to rip my code apart if you so decide. I'm sure there is room for much improvement throughout, but hey, I'm new to Javascript and can use this to learn. Thanks. Just switched to $(this).up('tr') and it broke...but I'll look at the documentation and figur

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Diogo Neves
Hi all, Ok, it's not the perfect solution, but u can simple put an id on tr, and do $('id').remove(); On Tue, Sep 16, 2008 at 10:53 PM, Justin Perkins <[EMAIL PROTECTED]>wrote: > > If all your HTML and JavaScript is in one file, you can put it in > pastie and then provide a link. See here: http:

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Justin Perkins
If all your HTML and JavaScript is in one file, you can put it in pastie and then provide a link. See here: http://pastie.org/ Since you're using Prototype, you should take advantage of it's helper methods to traverse the DOM, such as Element#up and Element#down instead of messing with parentNode

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread ericindc
Unfortunately the site I'm developing is on our intranet and isn't public facing. I'll see about getting it transfered to disc and I'll post the page somewhere online. I'm using IE6 and Netscape 7 on a PC. It's what all of our users here have installed, unfortunately. Currently my add feature

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Justin Perkins
On Tue, Sep 16, 2008 at 4:17 PM, ericindc <[EMAIL PROTECTED]> wrote: > When I click the delete text, I want the whole row gone, but it > currently just deletes the cell. How do I get to the row level? function removeRow(referenceElement){ referenceElement = $(referenceElement); var table = r

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread ericindc
One other thing, I changed up my table structure and need to know how to get the parent row using javascript. I tried .parentNode, but that gave me an error. My table looks like this: [table] [tr] [td]info[/td] [td]info[/td] [td]info[/td] [td][a href="#" onclick="removeRo

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Justin Perkins
On Tue, Sep 16, 2008 at 4:10 PM, ericindc <[EMAIL PROTECTED]> wrote: > > Yes, I'm certain. I call a seperate function each time that does $$ > ('tbody tr').each. As far as I know, this should repopulate the list > each time, right? What browser/version are you using and can you please post a li

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread ericindc
Oh, thanks. I didn't know about the afterFinish. Do you if they are nestable? Could I do fade.afterfinish("do something").afterfinish("do something else");? If so, how would that look syntactically. On Sep 16, 12:06 pm, Matt Foster <[EMAIL PROTECTED]> wrote: > I'd suggest using the afterFinis

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread ericindc
Yes, I'm certain. I call a seperate function each time that does $$ ('tbody tr').each. As far as I know, this should repopulate the list each time, right? On Sep 16, 12:10 pm, "Justin Perkins" <[EMAIL PROTECTED]> wrote: > On Tue, Sep 16, 2008 at 6:51 AM, ericindc <[EMAIL PROTECTED]> wrote: > >

[Proto-Scripty] SetSequence for multiple Sortables

2008-09-16 Thread fintch2309
All, I have three sortables on may page and I am able to move each item from one sortable to another just fine. I was able to write some code that determines which element is in which sortable via a cookie. So just after the page has loaded I run a script that tells the sortables to setSequ

[Proto-Scripty] Re: Apply an effect to every element _except_ one

2008-09-16 Thread kangax
On Sep 16, 9:23 am, Matt <[EMAIL PROTECTED]> wrote: > Hi there, > > Say I want to hide a collection of divs, all nested inside a > #container div - EXCEPT for #special div. How can I write a function > that will accept #special's name as its parameter, rather than writing > code to manually hide e

[Proto-Scripty] Re: Saving the position of a graggable or a sortable in a cookie

2008-09-16 Thread fintch2309
Thanks to all this thread can now be closed. I am now reading and writing cookies with the correct values. I can post what I have done if anyone one would like me to. Fintch On Sep 10, 9:17 am, Diodeus <[EMAIL PROTECTED]> wrote: > onUpdate needs to be an anonymous function: > > Sortable.create

[Proto-Scripty] Re: Slider with multiple handles does not work in Chrome

2008-09-16 Thread kangax
On Sep 16, 8:04 am, Fred <[EMAIL PROTECTED]> wrote: > If this can help, > > It works fine with scriptaculous v1.8.1 and Prototype 1.6.0 > but does not work with the latest scriptaculous v1.8.1 that requires > Prototype 1.6.0.2. Well, quite few changes were made after 1.6.0, so it's not easy to te

[Proto-Scripty] Re: javascript widget (using prototypejs)

2008-09-16 Thread Hector Virgen
The script that is making the ajax request has to be on the same domain where the ajax response is coming from. So just keep your script on your server and use a wrapper function from the other domain that calls your script residing on your domain. On Tue, Sep 16, 2008 at 12:23 PM, Diodeus <[EMAIL

[Proto-Scripty] Re: javascript widget (using prototypejs)

2008-09-16 Thread Diodeus
Assuming you are attempting to make an Ajax call to a server that is not in your web page's domain, it is a deliberate security restriction in the browser designed to prevent cross-site scripting (XSS) attacks. On Sep 16, 1:34 pm, Rama <[EMAIL PROTECTED]> wrote: > hi, > > i have developed a widge

[Proto-Scripty] Re: 7 new messages in 7 topics - digest

2008-09-16 Thread Hugh Bothwell
I've been using Scriptaculous for something like two weeks now and really like it. I've written a survey-building page in PHP+Smarty+Prototype/Scriptaculous; it works using Ajax or fails over correctly using static HTML and server-side code. I've got a draggable question-type palette and a sorta

[Proto-Scripty] javascript widget (using prototypejs)

2008-09-16 Thread Rama
hi, i have developed a widget/badge in javasript. (using prototypejs) It is working well on my own site. but when placed on other domains AJAX(XHR) requests are not working porperly. Can anyone please guide us on why the ajax(XHR) calls/requests are not working when placed on other do

[Proto-Scripty] Re: recommended css forms

2008-09-16 Thread Jimmy Brake
Justin, Cool, I'll give that a whirl and post back to the group. Thanks Jimmy On Tue, Sep 16, 2008 at 9:36 AM, Justin Perkins <[EMAIL PROTECTED]>wrote: > > On Tue, Sep 16, 2008 at 11:33 AM, Jimmy Brake <[EMAIL PROTECTED]> wrote: > > nor anything for locking out the rest of a > > page while us

[Proto-Scripty] Re: drag & drop ... when to refuse the drop ?

2008-09-16 Thread Erwin
OK it's up and running now... checking the drop in the url action working fine thanks a lot On 16 sep, 16:48, Erwin <[EMAIL PROTECTED]> wrote: > It's also a matter of application design:   I have 3 colums  left: > User items, right Work items, middle:    User+ScheduledWork items > the user is d

[Proto-Scripty] Re: Need Help with Ajax.Request Parameters

2008-09-16 Thread Justin Perkins
On Tue, Sep 16, 2008 at 10:57 AM, TheZ <[EMAIL PROTECTED]> wrote: > parameters : { > user : { >first:'first_name', >last:'last_name' > } > } The Ajax.Request object does not handle nested parameters. You should use a string instead. 'user[first]=first_name&user[last]=last_name' This i

[Proto-Scripty] Re: Need Help with Ajax.Request Parameters

2008-09-16 Thread TheZ
I keep getting puts params[:user] >> [object Object] On Sep 16, 8:57 am, TheZ <[EMAIL PROTECTED]> wrote: > I am having trouble sending a hash of a hash in my Ajax.Request. > > parameters : { >  user : { >     first:'first_name', >     last:'last_name' >  } > > } > > In my Rails application I wan

[Proto-Scripty] Re: recommended css forms

2008-09-16 Thread Justin Perkins
On Tue, Sep 16, 2008 at 11:33 AM, Jimmy Brake <[EMAIL PROTECTED]> wrote: > nor anything for locking out the rest of a > page while using the form(I could have missed it). If you want to do "lockout" style forms, then the lightbox approach is the best way. -justin --~--~-~--~~---

[Proto-Scripty] Re: How to create this cross-fade effect with script.aculo.us?

2008-09-16 Thread Diodeus
Why not just skip the delay on the first one? function startPage() { if (rrrstarted == false) { rrrstarted = true; showtime = setInterval('swapFade()',5000); } else { rrrstarted = true; swapFade() sho

[Proto-Scripty] Re: recommended css forms

2008-09-16 Thread Jimmy Brake
Hi, I did look at that project, it's really cool. I didn't see anything directly for or against forms, nor anything for locking out the rest of a page while using the form(I could have missed it). Also because there is a fee for the lib I didn't want to spend time 'playing' with the free version j

[Proto-Scripty] Re: Apply an effect to every element _except_ one

2008-09-16 Thread Diodeus
One way would be to grab the nodes, use a loop, and skip over the element that has the special class. Something like this: X X don't hide me X hide most function hideExcept(notMe) { myNodes = $('container').select('div') for(x=0;x

[Proto-Scripty] Re: How to handle different forms

2008-09-16 Thread Diodeus
Forms added to a document via innerHTML (which Ajax updater uses) are not recognized at part as the DOM. You can add fields to a form this way, but not forms themselves. You may need to add a tag (using new Element) then put the contents of your form inside it. Alternately, you can have the tag

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Justin Perkins
On Tue, Sep 16, 2008 at 6:51 AM, ericindc <[EMAIL PROTECTED]> wrote: > tr.remove( ); // remove the row > // delay somehow > updateColors( ); // set the backgrounds Are you not updating your collection after you remove the rows? var rows = $$('table tr') console.log(rows.size()); rows.first().re

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Matt Foster
I'd suggest using the afterFinish callback to hide the element. tr.fade({ afterFinish : function(fx){ fx.element.remove() } }); http://github.com/madrobby/scriptaculous/wikis/core-effects On Sep 16, 6:51 am, ericindc <[EMAIL PROTECTED]> wrote: > I tried it with tr.remove( ) as well and it wa

[Proto-Scripty] Re: recommended css forms

2008-09-16 Thread Justin Perkins
Have you looked into Prototip2? http://www.nickstakenburg.com/projects/prototip2/ -justin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To post to this group, send email to pro

[Proto-Scripty] Ajax.Updater - how to run it again using my variable?

2008-09-16 Thread silverweb
Hi! I set some variable to be new Ajax.Updater object: updater=new Ajax.Updater(..); Everything goes ok, at the moment. Now: I have the updater variable and I want to run the update once again. How can I run the updater using the variable? Do I have to set it once again giving

[Proto-Scripty] Apply an effect to every element _except_ one

2008-09-16 Thread Matt
Hi there, Say I want to hide a collection of divs, all nested inside a #container div - EXCEPT for #special div. How can I write a function that will accept #special's name as its parameter, rather than writing code to manually hide each of the other divs? Thanks Matt --~--~-~--~~--

[Proto-Scripty] scriptaculous table drag and drop not working in IE7

2008-09-16 Thread SanjeevK
I have downloaded scriptaculous example codes from script.aculo.us site . http://script.aculo.us/dist/scriptaculous-js-1.8.1.zip I have a screnario similar to example dragdrop8_test.html in the zip file. but i found problems with those codes. The code is working fine in mozilla but not in IE7. D

[Proto-Scripty] Re: Slider with multiple handles does not work in Chrome

2008-09-16 Thread Fred
If this can help, It works fine with scriptaculous v1.8.1 and Prototype 1.6.0 but does not work with the latest scriptaculous v1.8.1 that requires Prototype 1.6.0.2. On Sep 16, 12:18 am, kangax <[EMAIL PROTECTED]> wrote: > On Sep 15, 6:49 pm, Fred <[EMAIL PROTECTED]> wrote: > > > Hi, > > > I'm

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread ericindc
I tried it with tr.remove( ) as well and it was still counted. This behavior is seen in IE6. Perhaps I need to put a delay before the function call to set the background colors? tr.remove( ); // remove the row // delay somehow updateColors( ); // set the backgrounds Thanks. On Sep 16, 12:10 

[Proto-Scripty] IE6 odd behaviour while loading ajax

2008-09-16 Thread Nelson Lim
Hi guys, I'm new to prototype. I've been using it to load a panel by writing what I get from pd_builddetails.html into a div tag using innerHTML. This works fine with firefox, but on IE6, its a little unpredictable. I have it working sometimes, but after awhile of clicking around, it seems to be

[Proto-Scripty] Need Help with Ajax.Request Parameters

2008-09-16 Thread TheZ
I am having trouble sending a hash of a hash in my Ajax.Request. parameters : { user : { first:'first_name', last:'last_name' } } In my Rails application I want to be able to access this hash in the controller as params[:user][:first] --~--~-~--~~~---~--~-

[Proto-Scripty] How to handle different forms

2008-09-16 Thread luftikus143
Hi there, my initial page has (at least) two forms. How do I handle then for example a list of radio buttons in the newly generated code via Ajax.Updater? I need a Javascript which loops through the radio buttons to see which one has been selected and returns this one to one of the forms. In most

[Proto-Scripty] recommended css forms

2008-09-16 Thread isurge
Hi, Was wondering if any of you had a preferred lib and or method for writing cross browser happy css type popup forms? The use will primarily be to display small forms, the forms will be ajax enabled and will disappear if all went well. Thanks, Jimmy --~--~-~--~~~

[Proto-Scripty] Re: draggable item inside container w overflow:hidden , zindex issue ...

2008-09-16 Thread prima
Hey, Even i am facing the same problem. I tried to play with the zindex propert but in vain I have develped a page where i have to implement a swapping functionality. The swapping take place between 4 divs which are under a parent div. Problem: the dragging object always remains below the target

[Proto-Scripty] Re: recognize form content from Ajax.Updater after Event.observe(window, 'load', init, false);

2008-09-16 Thread luftikus143
> or you can use the new Element constructor to do it in code. Hi there, how would I do this? Having the same or similar problem. I am adding a new form to the page. In Safari/Opera on Mac, it works great. With IE on Win as well. But not with FF... Thanks for any hints! --~--~-~--~

[Proto-Scripty] compressed version of 1.6.0.2

2008-09-16 Thread Rippo
Hi I have downloaded the latest stable version of 1.6.0.2 but want to know if there is a compressed version of this file as 128k is rather large. Can anyone send me a URL where I can find a compressed version of 1.6.0.2, have looked on gogle but only managed to find 1.6.0.0 Thanks Rippo --~--~-

[Proto-Scripty] checkbox manipulation

2008-09-16 Thread Stephan Petzl
i have tried to check and uncheck a checkbox with $('news_cat_3').setAttribute('checked','checked') $('news_cat_3').removeAttribute('checked') and also with $('news_cat_3').setAttribute('checked','') $('news_cat_3').setAttribute('checked',false) but nothing works in FF3. $('news_cat_3').checke

[Proto-Scripty] checkbox manipulation

2008-09-16 Thread Stephan Petzl
i have tried to check and uncheck a checkbox with $('news_cat_3').setAttribute('checked','checked') $('news_cat_3').removeAttribute('checked') and also with $('news_cat_3').setAttribute('checked','') $('news_cat_3').setAttribute('checked',false) but nothing works in FF3. $('news_cat_3').checke

[Proto-Scripty] How to create this cross-fade effect with script.aculo.us?

2008-09-16 Thread Jeusdi
Hello All. I'm a beginner with script.aculo.us framework, and I'va some problem in order to create cross-fade effect: javascript code: var divs_to_fade = new Array('fade_product0', 'fade_product1', 'fade_product2', 'fade_product3'); var current_index = 0; var rrrstarted = false; functio

[Proto-Scripty] Re: Reopen thread: Creating hash with $H differs from 1.5 to 1.6

2008-09-16 Thread kangax
On Sep 16, 9:38 am, MichaelS <[EMAIL PROTECTED]> wrote: > json.errors isn't an array, but an undefined object. You can't use it What exactly is an "undefined object"? > like an array and casting it to $A doesn't help either. Since the > errors coming back originally were an array, you'd think th

[Proto-Scripty] Re: How to avoid revert effect when dropping onto a droppable area?

2008-09-16 Thread Alejo
Nobody has an answer for this? Please take some minutes for me! Thanks. On 8 sep, 12:07, Alejo <[EMAIL PROTECTED]> wrote: > Hi everybody! > > I have an information label on my google maps application and I would > like to allow people to drag this label onto three different positions > on the m

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread Justin Perkins
Can you post your code? I have done what you are talking about many times (removing rows and restriping them) and never ran into this issue. I don't think there is a bug in prototype. -justin --~--~-~--~~~---~--~~ You received this message because you are subscrib

[Proto-Scripty] Re: User types freely on webpage and it jumps to a link...

2008-09-16 Thread beebul
OK I have this code so I can jump to the point on the page where the H4 tag has the word Health in it... how do I then link onKeyPress to this: {literal} var arrEntries = $('a2z_list').select('h4'); arrEntries.each(function(objEntry, index) { var strEntryText = a

[Proto-Scripty] Re: Casting objects into Number

2008-09-16 Thread Eric
On Aug 29, 5:48 pm , kangax wrote: > What about creating something like `getNumAttribute` helper (which > would parseFloat attribute before returning it)? Sounds nice. I will try this approach. Too bad it is not possible to extend the DOM nodes prototype to use it as a method, but it may be a con

[Proto-Scripty] Reopen thread: Creating hash with $H differs from 1.5 to 1.6

2008-09-16 Thread MichaelS
json.errors isn't an array, but an undefined object. You can't use it like an array and casting it to $A doesn't help either. Since the errors coming back originally were an array, you'd think this would work, but it doesn't. The frustration is that the original code works when json.errors has va

[Proto-Scripty] Re: $$( ) returns hidden/removed tr tags

2008-09-16 Thread ericindc
I think it says on the scriptaculous site that fade doesn't work exactly right with tables. It seems to be doing the trick, but I went ahead and tried prototype's remove and still faced the same issue. If it's removed and still be counted, I don't think the Element.visible trick is going to work

[Proto-Scripty] Re: fiering an event in opener window

2008-09-16 Thread bluezehn
Well any other suggestions would fall outside the scope of prototype and javascript, you'd want to look into trying to set the target of the form to be the popup window, but I'm not sure if that's possible. I know it's a technique used for file uploads ala Ajax - people point the form at an embedd

[Proto-Scripty] Re: drag & drop ... when to refuse the drop ?

2008-09-16 Thread Erwin
It's also a matter of application design: I have 3 colums left: User items, right Work items, middle:User+ScheduledWork items the user is dragging 'Work' items on 'User' in the middle colum, acceptance is based on timing , so the app is checking for a free period in all already dragged work

[Proto-Scripty] Re: fiering an event in opener window

2008-09-16 Thread buda
Thanks for reply You are right - its pop up window - unfortunately its impossible to rearchitect a large project to act in one window through divs representation So, any other suggestion? On 16 сент, 15:55, bluezehn <[EMAIL PROTECTED]> wrote: > Do you mean separate browser windows? If you do, go

[Proto-Scripty] Re: drag & drop ... when to refuse the drop ?

2008-09-16 Thread Erwin
That's what I just discovered... !! the checking ("may I drop this item into you?) has to be done by the server... so I'll have to perform in my server url action I have in my receiving droppable area :url => add_work_tours_url(:user_id => user[:id]), check and if not accepted revert it ...

[Proto-Scripty] Re: Possible bug in Sortable.create?

2008-09-16 Thread Diodeus
It seemed to work for me. Perhaps I don't understand what you mean. On Sep 15, 9:50 pm, Yoji <[EMAIL PROTECTED]> wrote: > Hi all, > > I'm new to the list so I apologize if this has been brought up and/or > solved before... I'm having trouble using the scriptaclous sortable > feature on form input

[Proto-Scripty] Re: Mouseover event continually fires

2008-09-16 Thread Matt Foster
Also be aware of event propagation, when the menu item has child elements, such as an anchor, the child will fire its own mouseover/out event which gets pushed to the parent. On Sep 16, 9:06 am, Diodeus <[EMAIL PROTECTED]> wrote: > Check to see if the element is already visible/invisible and

[Proto-Scripty] Re: drag & drop ... when to refuse the drop ?

2008-09-16 Thread bluezehn
Well you may have a small problem there... AJAX requests are, as their name dictates, asynchronous. That is, prototype will fire one off, but won't sit around waiting for the server. It will move on and execute the next line of code, then go back to the onComplete callback. This is problematic fo

[Proto-Scripty] Re: Mouseover event continually fires

2008-09-16 Thread Diodeus
Check to see if the element is already visible/invisible and exit on that condition: if(Element.visible(elt)) { return; } On Sep 16, 9:43 am, beachcomber <[EMAIL PROTECTED]> wrote: > Hi this is probably a very simple error but I just cannot see a was to > fix it. below is a very simple show/hi