[Proto-Scripty] Textarea as a container

2011-11-22 Thread bill
be appreciated. -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send

Re: [Proto-Scripty] Textarea as a container

2011-11-22 Thread bill
enough. -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptaculous@googlegroups.com. To unsubscribe from this group, send email

Re: [Proto-Scripty] WYSIWYG textarea replacement

2011-08-11 Thread bill
://inplacericheditor.box.re/ Walter Thanks, you are correct- never trust someone else's documentation (or even your own :-)) -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send

[Proto-Scripty] WYSIWYG textarea replacement

2011-08-10 Thread bill
a close routine that converts the entered text into html within the textarea. The user has the ability to bold, underline... -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group

Re: [Proto-Scripty] Re: Prototype's evolution

2011-07-22 Thread bill
in the margins by everyone else who ever used it. I can't count the number or really hard problems I was able to solve by looking at someone's example code in the comments. AGREED ! -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed to the Google

Re: [Proto-Scripty] problem with Ajax.Updater going from FF3 to FF5

2011-07-18 Thread bill
field, not contained in tr's /form it works just fine. -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptaculous@googlegroups.com

Re: [Proto-Scripty] Re: A bit of assistance please

2011-06-02 Thread bill
On 6/1/2011 10:19 AM, Eric wrote: On May 31, 5:51 pm, Walter Daviswa...@wdstudio.com wrote: On May 31, 2011, at 11:12 AM, bill wrote: I need the scroll of the div contents only. You can back into that by using the cumulative offset, and subtracting the document.viewport.getScrollOffsets

Re: [Proto-Scripty] Re: A bit of assistance please

2011-05-31 Thread bill
On 5/30/2011 11:22 AM, Eric wrote: Hi Bill, Using Event.PointerX() and Event.PointerY() you can get the absolute position of the mouse on the page. Using Element.Layout you can get the exact position of your image. If you substract the layout's left value to PointerX and the layout's top value

Re: [Proto-Scripty] Re: A bit of assistance please

2011-05-31 Thread bill
On 5/31/2011 11:06 AM, Walter Davis wrote: On May 31, 2011, at 10:57 AM, bill wrote: On 5/30/2011 11:22 AM, Eric wrote: Hi Bill, Using Event.PointerX() and Event.PointerY() you can get the absolute position of the mouse on the page. Using Element.Layout you can get the exact position

Re: [Proto-Scripty] A bit of assistance please

2011-05-29 Thread bill
On 5/29/2011 12:56 AM, venu gupta wrote: Hi Bill, You can do both the ways . But I personally prefer to have it in the main page which is always loaded. I obviously sounded as if I know more than I do. I need some help in the form of the observer and with determining the x/y location

[Proto-Scripty] A bit of assistance please

2011-05-28 Thread bill
the information, but I just can't seem to get started. I can load the js with the page or I can have it in the main page that is always loaded. -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Firefox 4 - preliminary report

2011-05-11 Thread bill
When I updated a working application based on prototype to Firefox 4, many things stopped working, including detection of mouse clicks. As I am in the middle of writing the application I will not be debugging it now. FYI. I downgraded to Firefox 3. -- Bill Drescher william {at} TechServSys

Re: [Proto-Scripty] Re: Setting the focus on an input after an effect to show the input.

2010-06-12 Thread bill
It is a violation of the spec to have 2 elements with the same ID. IDs are supposed to be unique in a page. bill On Jun 11, 2010, at 4:57 PM, Richard Quadling wrote: The afterFinish is what I needed. Thanks. The form in question has 2 inputs and it is the first one that I want to get the focus

Re: [Proto-Scripty] Re: draggable problems

2010-03-29 Thread bill
=='INPUT' || tag_name=='SELECT' || tag_name=='OPTION' || tag_name=='BUTTON' || tag_name=='TEXTAREA' || )) return; Thank you very much ! bill On Mar 28, 12:41 pm, billwill...@techservsys.com wrote: When I set a div to draggable I get

Re: [Proto-Scripty] Re: evalScripts - resend

2010-03-11 Thread bill
On 3/10/2010 10:04 AM, T.J. Crowder wrote: Bill, If you're in doubt whether you're getting replies, check the web interface: http://groups.google.com/group/prototype-scriptaculous (There were no replies to your earlier post.) -- T.J. Thanks T.J. I just couldn't believe that no one would

[Proto-Scripty] evalScripts

2010-03-07 Thread bill
get the error message: recalc is not defined. thoughts/suggestions please where did I go wrong ? These are old scripts that I am using in the rewrite of an application, but should work. -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed

[Proto-Scripty] sticky radio button

2010-02-21 Thread bill
(response) { alert (patient.php: failure to submit form: + chainFromFormID); } }); return false; } // scriptChain -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed to the Google Groups Prototype

Re: [Proto-Scripty] Re: Prototype 1.6.1 kills IE8?

2010-02-19 Thread bill
but when I remove the Prototype 1.6.1, It doesn't happen anymore. Even it happens on Prototype API page. (http://api.prototypejs.org) I tried your test on XP (SP3 build 2600) with IE8 - version 8.0.6001.18702 and had no problem opening the properties menu -- Bill Drescher william {at} TechServSys

Re: [Proto-Scripty] Re: IE8

2010-02-16 Thread bill
On 2/15/2010 3:33 AM, gwyohm wrote: hi, why not using prototype cross-browser document.viewport methods ? document.viewport.getHeight() simple answer: still learning. I very much appreciate the suggestion ! -- Bill Drescher william {at} TechServSys {dot} com -- You received this message

[Proto-Scripty] IE8

2010-02-13 Thread bill
, single quote (( Anyone see the problem ? This works fine in firefox bill -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype

Re: [Proto-Scripty] IE8

2010-02-13 Thread bill
it is not quite the same thing, at least it works -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptacul...@googlegroups.com

Re: [Proto-Scripty] Safe Browser Resize

2010-02-10 Thread bill
to the bottom of the viewable browser. Thanks, Karl.. The simple way in Firefox is to get the web developer Add-on which permits resizing to various standard sizes as well as custom sizes. -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you

[Proto-Scripty] PLease Wait or Loading message

2010-02-10 Thread bill
set the innerHTML of the div with the message, it wipes out the form that needs to be sent. If I use onSuccess, it takes too long. Suggestions ? -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed to the Google Groups Prototype

Re: [Proto-Scripty] PLease Wait or Loading message

2010-02-10 Thread bill
On 2/10/2010 9:42 AM, Christophe Decaux wrote: I would use onCreate to show an element displaying your please wait message (or a graphical spinner, etc.) and use onComplete to hide it Enjoy, Christophe Le 10 févr. 2010 à 15:20, bill a écrit : Thanks guys - that works -- Bill Drescher

Re: [Proto-Scripty] Re: Check if instance is a specified class

2010-02-08 Thread bill
that you don't know it. I can not tell you how many times this has happened to me. On the other hand, if the price of discovering the information is feel like a fool, it is worth it. -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed

[Proto-Scripty] SSL and Ajax.updater

2010-02-04 Thread bill
('replyPane',url ); // get the requested message or do I need to use the complete URL including the protocol ? -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group

Re: [Proto-Scripty] SSL and Ajax.updater

2010-02-04 Thread bill
. -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email to prototype

[Proto-Scripty] groups question

2010-02-04 Thread bill
I am not receiving my messages back when I send them - I went to the google groups page for this group but could not find a way to set that. Any hints. -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] SSL and Ajax.updater

2010-02-03 Thread bill
the protocol ? -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send

[Proto-Scripty] unscheduled refresh of Div with periodical updater

2010-01-30 Thread bill
I have a div that is updated by a periodical updater and all is well. However, what is the best way to update the div on demand. a) Ajax.periodicalUpdater.stop(); periodcalUpdater.start() b) Ajax.updater() c) ?? -- Bill Drescher william {at} TechServSys {dot} com -- You received this message

Re: [Proto-Scripty] Ajax.Update back to previous page

2010-01-22 Thread bill
to make this work? Thank you so much. You can go back to a new copy of page 1 just the same way you went to page 2, using Ajax.Updater. As is noted earlier, going back to the contents of the prior div is really hard. -- Bill Drescher william {at} TechServSys {dot} com -- You received

Re: [Proto-Scripty] Re: Event.element

2010-01-12 Thread bill
T.J. Crowder wrote: Hi, On Jan 11, 2:03 pm, bill will...@techservsys.com wrote: Also note that if you know the element will have an ID, or if you don't care if it doesn't, you can just use the `id` property. [snip] I know the divs will have IDs, so how would I write it to just

Re: [Proto-Scripty] Re: Event.element

2010-01-11 Thread bill
T.J. Crowder wrote: Hi, On Jan 10, 7:08 pm, bill will...@techservsys.com wrote: DJ Mangus wrote: What is returned is the same thing you'd get if you used $('id'). Chain on .identify to get the Id from a DOM node. Thank you. as in: function clickHander (event) { var id

[Proto-Scripty] Event.element

2010-01-10 Thread bill
The docs say: |Event.element(event) - Element| Returns the DOM element on which the event occurred. But, what is actually returned ? If not the ID, what do I do to get the id of the div in which the click occurred ? -- Bill Drescher william {at} TechServSys {dot} com -- You received

Re: [Proto-Scripty] Event.element

2010-01-10 Thread bill
DJ Mangus wrote: What is returned is the same thing you'd get if you used $('id'). Chain on .identify to get the Id from a DOM node. Thank you. as in: function clickHander (event) { var id = event.element().identify ? ... -- Bill Drescher william {at} TechServSys {dot} com -- You

Re: [Proto-Scripty] Event.element

2010-01-10 Thread bill
() var id = element.identify() ? ... -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptacul...@go

Re: [Proto-Scripty] Assistance with clicks

2010-01-07 Thread bill
() to set the top and left of the overlay to match the cell that was clicked on, and then Effect.Grow to cause it to appear. Thanks Walter, Obviously I will need study this for a bit - thanks bill For an existing appointment, the same thing would happen except that I would load the Edit

Re: [Proto-Scripty] Re: File output

2009-12-12 Thread bill
kind as to expand your suggestion, perhaps with a line of code ? David -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype

Re: [Proto-Scripty] Re: File output

2009-12-12 Thread bill
enough, when I do a window.open() and the script just does a download, the window does not actually open, just the download dialog. No orphan window after that (in FireFox). David On Dec 11, 10:38 pm, bill will...@techservsys.com wrote: speedpac...@gmail.com wrote: he replied to my

[Proto-Scripty] File output

2009-12-11 Thread bill
to do this. -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptacul...@googlegroups.com. To unsubscribe from this group, send email

Re: [Proto-Scripty] Re: File output

2009-12-11 Thread bill
!!! I feel much better about not being able to do what I couldn't do. I guess I will open the last script in a new window and go from there. Thanks all. Alex is always right, as far as I know. -- Bill Drescher william {at} TechServSys {dot} com -- You received this message because you

Re: [Proto-Scripty] Re: Maybe OT: passing a function name to a function

2009-11-19 Thread bill
T.J. Crowder wrote: Hi Bill, If I'm reading you right, you want to pass a callback into another function. Functions are first-class objects in JavaScript so there's nothing special you need to do (and certainly no need for eval). Say you have a logging function: function logMsg(msg

Re: [Proto-Scripty] Maybe OT: passing a function name to a function

2009-11-19 Thread bill
on for now. bill -- Bill Drescher william {at} TechServSys {dot} com -- 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 prototype-scriptacul...@googlegroups.com. For more options, visit this group

Re: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-18 Thread bill
. Might I beg for one line of code to show me how to check the variable ? bill - Original Message - *From:* bill mailto:will...@techservsys.com *To:* prototype-scriptaculous@googlegroups.com mailto:prototype-scriptaculous@googlegroups.com *Sent:* Tuesday, November 17

Re: [Proto-Scripty] Re: instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-18 Thread bill
. Many thanks, bill - Original Message - *From:* bill mailto:will...@techservsys.com *To:* prototype-scriptaculous@googlegroups.com mailto:prototype-scriptaculous@googlegroups.com *Sent:* Wednesday, November 18, 2009 11:11 AM *Subject:* Re: [Proto-Scripty] Re

[Proto-Scripty] Maybe OT: passing a function name to a function

2009-11-18 Thread bill
need to eval the function when I want to execute it. or... what is the best way of doing this ? My apologies in advance if prototype does not have a nifty way of doing this and my thanks in advance for any suggestions. -- Bill Drescher william {at} TechServSys {dot} com -- You received

[Proto-Scripty] instanting and reinstanting a function: Ajax.PeriodicalUpdater

2009-11-15 Thread bill
) how do I stop the periodicalUpdater. 2) should I be de-instanting (whatver the correct verb is) the object so that when the user clicks the link again it will not just keep creating more instances of the Ajax.PeriodicalUpdater ? bill -- Bill Drescher william {at} TechServSys {dot} com

[Proto-Scripty] Re: Some basic basic stuff

2009-11-07 Thread bill
will not exist. bill -- Bill Drescher william {at} TechServSys {dot} com --~--~-~--~~~---~--~~ 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 prototype-scriptaculous

[Proto-Scripty] walking the DOM

2009-09-20 Thread bill
group. -- Bill Drescher william {at} TechServSys {dot} com --~--~-~--~~~---~--~~ 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 prototype-scriptaculous

[Proto-Scripty] Re: walking the DOM

2009-09-20 Thread bill
T.J. Crowder wrote: Hi Bill, If you make them all children of one container, then you can process them in a loop like so: var divsToSuppress, n; divsToSuppress = $('containerName').children(); for (n = divsToSuppress.length - 1; n = 0; --n) { divsToSuppress[n].setStyle

[Proto-Scripty] Re: walking the DOM

2009-09-20 Thread bill
T.J. Crowder wrote: Where xyz is the class name ? Yup. Thanks -- Bill Drescher william {at} TechServSys {dot} com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group

[Proto-Scripty] Re: ? of format of evalScripts

2009-08-26 Thread bill
returning javascript Alex Mcauley http://www.thevacancymarket.com Thanks Alex, my error was trying to put evalScripts:True after the parameters bracket. - Original Message - *From:* bill mailto:will...@techservsys.com *To:* prototype-scriptaculous@googlegroups.com

[Proto-Scripty] Re: How to use Ajax.Updater evalScripts

2009-08-23 Thread bill
It may not be as elegant as the solution suggested here, but I got it to work by wrapping the Ajax.Updater in a function called by onsubmit and placed in the main page. But, I still would like to know how to have evalScripts:true work. bill bill wrote: I download a html fragment to a div

[Proto-Scripty] Re: POSTing a form via AJAX

2009-08-22 Thread bill
Alex McAuley wrote: I replied to you with an example. I wrote Bill You need to observe the form submit. $('the-id-of-the-form').observe('submit',function(event) { /// do the ajax that TJ said... Event.stop(event); // will stop it doing its default action

[Proto-Scripty] Re: POSTing a form via AJAX

2009-08-22 Thread bill
Chris Sansom wrote: At 10:54 -0400 22/8/09, bill wrote: Putting it all together (apparently wrongly) I have: $('messageProcessForm').observe('submit',function(event) { new Ajax.Updater('showMessageDiv', mail/process_message.php, { parameters: $('showMessageDiv').down('form

[Proto-Scripty] Re: POSTing a form via AJAX

2009-08-22 Thread bill
Chris Sansom wrote: At 11:21 -0400 22/8/09, bill wrote: now $('messageProcessForm').observe('submit',function(event) { new Ajax.Updater('showMessageDiv', mail/process_message.php, { parameters: $('showMessageDiv').down('form').serialize(true), onFailure: function

[Proto-Scripty] How to use Ajax.Updater evalScripts

2009-08-22 Thread bill
because messageProcessForm does not exist until the div is loaded. \ Issue #2: As this is a script that is watching, it is not a function so I am not sure how to have it be included in the page, or do I need to do that as it is not a function ? -- Bill Drescher william {at} TechServSys {dot

[Proto-Scripty] Re: POSTing a form via AJAX

2009-08-22 Thread bill
- Original Message - *From:* bill mailto:will...@techservsys.com *To:* prototype-scriptaculous@googlegroups.com mailto:prototype-scriptaculous@googlegroups.com *Sent:* Saturday, August 22, 2009 6:42 PM *Subject:* [Proto-Scripty] Re: POSTing a form via AJAX

[Proto-Scripty] Re: POSTing a form via AJAX

2009-08-20 Thread bill
the submission ? I tried onsubmit = {the code above} and it just submitted regularly and replaced the whole page with the output, not just the div. I tried putting the code above as a script after the form, but still in the div and got the same result. bill -- Bill Drescher william {at} TechServSys {dot

[Proto-Scripty] Re: POSTing a form via AJAX

2009-08-20 Thread bill
bill wrote: T.J. Crowder wrote: Hi, 'Tis indeed very easy. Say you have a form wrapped in a div: div id='formwrapper'form /form/div You can post it like so and take the result (which is presumed to be an HTML snippet in this case) and use that to update the container

[Proto-Scripty] POSTing a form via AJAX

2009-08-18 Thread bill
I've read the docs, but can't seem to figure out how to POST a form via AJAX. I'm sure it is easy (as most prototype.js function calls are) but how ? I want the reply to update the div that holds the form (which itself was downloaded via AJAX). bill

[Proto-Scripty] Re: Calling more than one effect fails (script.aculo.us)

2009-07-28 Thread bill
in the body tag. Your script starts running before the DOM is ready. Use this instead in a script block: document.observe(dom:loaded, function() {   start() }); See:http://www.prototypejs.org/api/document/observe On Jul 25, 8:16 am, bill stefan@googlemail.com wrote: Hi, I'm new

[Proto-Scripty] Re: Calling more than one effect fails (script.aculo.us) - Correction

2009-07-28 Thread bill
This solves my problem perfectly. Thank you if ($('foo')) new Effect.Highlight('foo'); --~--~-~--~~~---~--~~ 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

[Proto-Scripty] Calling more than one effect fails (script.aculo.us)

2009-07-25 Thread bill
for any advice, bill --~--~-~--~~~---~--~~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send

[Proto-Scripty] Re: window.createPopup() and permission denied

2009-02-23 Thread Bill in Kansas City
, my scripts worked without error. Just FYI. On Jan 3, 12:05 pm, Bill in Kansas City will...@seritas.com wrote: I've got a web application written in classic ASP that uses the window.createPopup() method for context menus. When a menu item is selected, the onClick for the item

[Proto-Scripty] window.createPopup() and permission denied

2009-01-04 Thread Bill in Kansas City
I've got a web application written in classic ASP that uses the window.createPopup() method for context menus. When a menu item is selected, the onClick for the item is parent.myFunction(). Note: this is all one page: I'm not scripting across frames, iframes, domains, anything; all one page, all

[Proto-Scripty] Re: modal message box

2008-12-03 Thread Bill Walton
the impression that LightBox and its derivatives are the current 'best answer' to the need for modal dialogs on the web. HTH, Bill --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post

[Proto-Scripty] Re: modal message box

2008-12-03 Thread Bill Walton
Hi Walter, Walter Lee Davis wrote: Here's a couple that are more focused than LightBox et al. http://prototype-window.xilinus.com/ http://livepipe.net/control/window Excellent! I hadn't come across these (I've been focused on Ruby-friendly versions). Thank you. Best regards, Bill

[Proto-Scripty] double play with sound.js

2008-12-02 Thread Bill Walton
. Any idea what I might be doing wrong? Thanks in advance, Bill --~--~-~--~~~---~--~~ 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 prototype-scriptaculous