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
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
://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
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
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
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
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
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
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
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
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
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
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
=='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
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
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
(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
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
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
, 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
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
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
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
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
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
('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
.
--
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
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
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
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
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
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
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
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
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
()
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
() 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
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
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
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
!!!
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
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
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
.
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
.
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
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
) 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
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
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
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
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
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
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
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
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
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
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
- 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
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
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
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
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
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
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
, 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
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
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
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
. 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
69 matches
Mail list logo