This is an important thing to work on. If I know I will be using
onError on the client side, I make sure that my Ajax endpoint on the
server will return a "real" error header using PHP's header() method.
You can also get very fancy with different error header codes, too,
throwing a distinctl
I'll give that a try. I'm not sure (from the API docs) if that's going
to do exactly what I want or not.
Thanks,
Walter
On Dec 19, 2009, at 9:23 AM, ColinFine wrote:
>
>
> On Dec 18, 5:51 pm, Walter Lee Davis wrote:
>> I use this construction quite a lot:
>&
Exactly right, except you don't need to put the dot in front of the
classname.
handle:'drag-me'
Walter
On Dec 19, 2009, at 8:08 AM, Alex McAuley wrote:
> in draggable there is a parameter "handle" witch if i recall
> correctly takes
> a classname...
>
> SO add a classname to each image of t
I use this construction quite a lot:
var elm = evt.element();
if(elm.tagName.toString().toLowerCase() != 'td') elm = elm.up('td');
whenever I am constructing a rollover listener, since it works around
the whole issue with mouseover / out events firing whenever you move
over a
I believe that innerhtml is not completely guaranteed to work the same
way across browsers, while the Prototype DOM methods are.
Walter
On Dec 10, 2009, at 10:02 PM, Rob Cluett wrote:
> Why would we add an element using prototype's DOM method over
> innerhtml in any scenario if we can use in
Try setting the defaultSelected property as well, that might be
getting in the way of your select "noticing" that it's been changed.
yourSelect.options.selectedIndex = 0;
yourSelect.options[0].defaultSelected = true;
Walter
On Dec 10, 2009, at 12:15 PM, Ruben. D. wrote:
> I think that I've no
Here's an implementation that works in all the browsers I've checked:
var combinator = function(){
$$('select.combo').each(function(elm){
var elm = $(elm);
var texts = ['Choose...'];
var opts = [''];
var sel =
(elm.options[el
I would do this with chained onSuccess handlers. Each one would
trigger a new request to a different endpoint, carrying some token to
identify the visitor.
$('button').observe('click',function(evt){
//do your lookup
new Ajax.Request('lookup.php',{
parameters:{id
You will get this error in IE when the object you are trying to
manipulate in Prototype has not been "extended" yet[1]. You can work
around this by using the $ function to get and extend the object
before attempting to manipulate it.
var elm = $(elm);
if (!!elm){
//your code here
}
the same
as the request (missing the WWW part) so this error cropped up. I
chopped down the Action to just the script name, and it works like a
big dog.
Walter
On Nov 24, 2009, at 6:31 PM, Walter Lee Davis wrote:
> I have a form with an Ajax request() to update the form with survey
> res
I have a form with an Ajax request() to update the form with survey
results. It works great in Firefox, but when I submit it from Safari
4.latest on Mac OS X, I get nothing at all in the browser for results,
and the console says "Refused to get unsafe header "X-JSON". I've
tested this on tw
Just to be clear, link_to_remote is part of the Rails *helper* for
prototype. Prototype.js is an extraction from Rails, but it stands
alone, and this list is devoted to prototype as a stand-aline JS
library, not to the Rails helper.
Your question might be answerable in this list if you pasti
On Nov 9, 2009, at 8:51 AM, ColinFine wrote:
>
>
>
> On Nov 6, 7:14 pm, Rhiq wrote:
>> I'll try to explain what I am up to; feel free to slap me if I am
>> really messing this up.
>>
>> I have a table that represents orders in a database, and it seems to
>> be working fine. When the user click
Can anyone tell me why these two different formats of the
Control.Slider would behave differently?
vas s = new Control.Slider('thumb','track');
s.options = {
axis: 'vertical',
onChange: function('value'){
customSlide(value,this.axis,this.moveMe);
},
Try giving your form elements IDs to match their NAME property. I have
always needed the ID to be set in order to get a value out of $F.
Walter
On Oct 29, 2009, at 11:08 AM, Russell Keith wrote:
> Ok, maybe I’m just being dense, but I am reading the API for forms
> and I am getting nothing
This looks as though you are trying to insert the tr into another tr,
which just won't work. Try inserting into the tbody, or select a tr
and insert before or after, using this syntax:
$('paymentHistory').down('tr').insert({before:'your tr code here'});
Walter
On Oct 21, 2009, at 3:58 PM, R
Or even simpler:
function update_clock(){
var clock = $('clock');
new Ajax.Updater(clock,'clock.py',{
onCreate:function(){clock.fade()},
onComplete:function(){clock.appear()}
});
}
Walter
On Oct 4, 2009, at 12:32
You have some asynchronous events here, each being triggered
separately, and the results are chaotic.
Try this:
function update_clock() {
Effect.Fade('clock',
afterFinish:function(){
new Ajax.Updater('clock',
'cloc
You could try wrapping the arkie part in a span, hiding that, and then
revealing it later. Use display:none and you can simply use $
('spanID').show() (only needs Prototype, not the whole Scripty thing)
to turn it on, and hide() to make it, well, hide.
Walter
On Oct 3, 2009, at 4:55 AM, Dar
There's a fundamental difference between the source code and the
current state of the DOM. The former is fixed at the time that your
server sends it. And once that source is sent to the browser, the
browser interprets it and generates the DOM, which it uses to create
the on-screen display
Thanks.
Walter
On Sep 4, 2009, at 3:41 AM, T.J. Crowder wrote:
>
> Firefox has *long* had favicon bugs. The symptom (and possibly the
> underlying cause) seems to change with every release, but there's
> usually a problem with them somewhere.
>
> -- T.J.
>
> On Sep
nce with firefox.. i had to
> delete the
> whole cache and it reverted the favicon back to the one i chose.
> Alex Mcauley
> http://www.thevacancymarket.com
> - Original Message -
> From: "Walter Lee Davis"
> To:
> Sent: Thursday, September 03, 2009 3:36
I am seeing something on a site I'm developing that I've never seen
before. The favicon appears briefly, then (watching in Firebug) the
various Ajax requests run, and as soon as they do, the favicon
disappears. Nothing in my Ajax callbacks is set to modify the head of
the main page, they m
There's no reliable cross-browser event that gets fired when the
content of a DIV (as opposed to a form element, say) changes. One
thing you might try would be to have a PeriodicalExecuter running.
Have it compare a global variable with the current innerHTML of that
DIV, and if they don't
You need to create a reference to the PE, and call stop on that
reference.
var pe;
pe = new PeriodicalExecuter(...);
...later, in another script...
pe.stop();
pe has to be a global variable, but if both the start and stop of the
PE happens inside a class, it doesn't have to be entirely gl
Most of the NetRenderers of the world don't process JavaScript and
Ajax, unless you spend like a sailor for BrowserCam (where you get to
remote into an actual Windows desktop and drive it in real time). One
of the reasons I bought a new MacBook Pro last year was so I could
install VMWare a
you could always ask, I suppose. Or we could try to paper
over the problem by adding some new content in that page.
Walter
On Aug 22, 2009, at 4:58 PM, JoJo wrote:
>
> And how would I contact this Thomas god?
>
> On Aug 22, 11:07 am, Walter Lee Davis wrote:
>> Where by S
Where by Sam I meant Thomas, obviously...
On Aug 22, 2009, at 2:04 PM, Walter Lee Davis wrote:
>
> I asked on the Github list, and only the repo owner can delete pages
> entirely. We are free to turn that page into something useful, but
> only Sam can remove it.
>
> Walter
&
I asked on the Github list, and only the repo owner can delete pages
entirely. We are free to turn that page into something useful, but
only Sam can remove it.
Walter
On Aug 22, 2009, at 5:08 AM, Kevin Porter wrote:
>
> I don't know, sorry :) But when you find out how to delete, how about
>
Don't forget the convenience wrapper Form.request, which "hijacks" the
form's default settings and uses them to construct an Ajax request to
the same endpoint using the same protocol. So that means:
...
$('myform').observe('submit',function(evt){
evt.stop();
this.request({o
Unless you work at Twitter, this will run afoul of the Single Origin
Policy, and you can't do this. (Ajax requests have to stick to the
domain and port that they are run from for their content.) If you
create a simple proxy and run it on your server, then you could
request /mytwitterproxy.
Best to try removing those at dom:loaded, maybe with something like
this:
document.observe('dom:loaded',function(){
$$(a).each(function(elm){elm.onclick = null});
});
That's just a guess...
But as far as I know, you can't stop these inline event handlers any
other way.
Walter
On A
I suspect you probably want to get the radio *group* by name, and then
see which (if any) of its members is currently checked.
$$('input[name="yourRadioGroup"]:checked').first() will get the
element or false. To explicitly get the value, try this:
var myValue = ($$("input[name="yourRadioGrou
Make sure that this object is extended by Prototype before you ask for
any of the Prototype goodies. IE has this habit of not following the
prototype chain (small p prototype, that is) up to find the methods
that Prototype puts there. If you modify your code thusly:
if( ! $(form['dobyear'])
Another way that neatly avoids the problem:
$$('#foo').invoke('highlight');
Walter
On Jul 27, 2009, at 12:24 PM, mr_justin wrote:
>
> Do not call the Effect method with a non-existent element ID.
>
> if ($('foo')) new Effect.Highlight('foo'); // or: $
> ('foo').highlight();
--~--~-~-
Use Xyle scope or another CSS "inspector" to see what exactly the
difference is. You can bet the problem will be in the initial CSS when
the page loads. Set the objects you want to animate to be
position:absolute and no padding and you probably will have no trouble.
Walter
On Jul 22, 2009,
Yes, please. I would really like to see how event delegation handles
the mouseout event. Until the next Prototype is ready and stable, and
offering mousenter/leave support in all browsers, I have been using
some pretty squirrely logic to figure out when a mouseout is really a
mouseleave. I
In your layout, you are not using the A tag, but rather the LI tag to
carry the ID. Since that's the case (which is why you are using
"this", I think) maybe the thing to do is to change
elm.up('li').remove(); to elm.remove() and see if that does the trick
for you.
Walter
On Jul 21, 2009
>
>> On Jul 21, 2009, at 2:58 PM, Yan Kovyakh wrote:
>
>>
>> In the post of remove_clone.php I see "clone theIDnumber" in response
>> tab see nothing...
>>
>>> change
>>
>>> elm.up('li').remove();
>>
>&g
hat was clicked
>
>> Alex Mcauley
>> http://www.thevacancymarket.com
>> - Original Message -
>> From: "Walter Lee Davis"
>> To:
>> Sent: Tuesday, July 21, 2009 7:53 PM
>> Subject: [Proto-Scripty] Re: Delete php
>
>
>>
>&
What does Firebug say your return from Ajax.Request looks like? You
should be able to see it in the Console tab, you'll see a POST and
then the response from that.
Walter
On Jul 21, 2009, at 2:31 PM, Yan Kovyakh wrote:
> Alert works up to the last 2 lines, up to the elm.up('li').remove();
>
> > >>> solution 1. use this insetad
> > >>> $('clones').observe('click',function(event){
> > >>> var elm=Event.element(event);Rest of your code
> >
> > >>> Solution 2.
> >
> > >>> Listen
Try this:
$('clones').observe('click',function(evt){
var elm = evt.element();
if(elm.id){
//your code goes here
}
});
Walter
On Jul 21, 2009, at 11:10 AM, Alex McAuley wrote:
> try the follwing then.
>
> $('clones').observe('click',function(evt,element){
In this line:
var id = elm.id.split('_').last();
the id of the list item containing the remove link must be constructed
like this:
clone_123
where 123 is the numerical ID from the database of the element you
wish to remove.
All of this is predicated on the initial clone process w
Make a script called remove_clone.php. Give it the ability to delete a
row from your database if it receives a valid ID as a POST parameter.
Have it return a 200 header if it succeeds, and a 500 if it fails.
For example --- untested:
//include the MyActiveRecord ORM http://github.com/walterd
$$ always returns an array, although sometimes that array is empty.
The safest thing is to loop over that array with each() or another
iterator, as those can deal with empty arrays quite logically by not
doing anything.
If you want to test that $$ found one or more items, look at the
leng
You could maybe do something less dependent on the local structure,
using up():
$$('input[type="checkbox"]:checked').each(function(e){
e.up('tr').morph('checked');
});
Walter
On Jul 9, 2009, at 9:11 AM, ColinFine wrote:
>
>
>
> On Jul 6, 3:00 pm, Celso wrote:
>> Why this only works
I use the classname clone to hook the javascript to later, you can
call these whatever you like, just be sure you tidy up and make
everything match on the JS side, too. I put the remove first, because
it's floated right in my layout, and you get more consistent results
with right floats if
There's your problem right there. You're including index.php into the
Ajax callback script, so you are getting all that HTML printed out
before the later script can send its headers. Unless you use a page
buffer, any raw HTML (anything outside of the delimiters)
included within a PHP scri
Sorry, that's not the page I meant, my mistake. Although it's useful
to see. Can you post the entire script create_clone.php
Thanks,
Walter
On Jul 3, 2009, at 12:38 PM, WLQ wrote:
>
> I haven't really done anything there, it's just the test page. I've
> just combined everything:
> http://www
Meta tags are not authoritative, they are merely a suggestion to the
browser. Content-type headers are authoritative, they come from the
server, which presumably knows what it's talking about.
Could you post the entire index.php file on Pastie? Zero out any
sensitive info, naturally, but re
variable that is being
>>>>>>>> read.
>>>>>>> (Variables ly. Le left of the = are being set.) Ask yourself
>>>>>>> what it's
>>>>>>> supposed to be carrying, andee if f you can spot what it
>>>>>>&
original'];
>>>>>> if($master = MyActiveRecord::FindById('widgets',$original)){
>>>>>> $dat> $data = get__vject_varginal);
>>>>>> if ( is_array($data) )
>>>>>> array_shift($data);
>>>>>> $new =
;> in front of you.
>>
>> Walter
>>
>> On Jul 1, 2009, at 1:36 PM, WLQ wrote:
>>
>>
>>
>>> I understand I should put this:
>>> if(is_array($data)) {
>>>array_shift($data);
>>> }
>>
>>> Instead of:
>
ta);
>
>> Or just do
>>
>> if(is_array($data)) {
>> array_shift($data);
>>
>> }
>>
>> HTH Alex
>>
>> - Original Message -
>> From: "Walter Lee Davis"
>> To:
>> Sent: Wednesday, July 01, 2009 5
Which means it's not getting an array. So look and see what it IS
getting. What is the value of $data at that point? (Use echo(),
print_r(), something like that to output the value.)
I can see the error right away, looking back over the code. It's a
fairly stupid error on my part introduced
Yes. Like any example that you will ever find on the Web, this one
needs to be adjusted to match your environment. Some basic fluency in
PHP is a requirement to use the MAR system, it can't divine everything
for you.
Walter
On Jul 1, 2009, at 5:57 AM, WLQ wrote:
>
> Right, shouldn't then
Originals is a table in the database, it contains one of each type of
thing you wish to be able to clone into the clones table.
MyActiveRecord creates a PHP class for each table you "wrap" it
around, and each row of the table becomes an object of that class when
you request it through MAR.
If this is the code you are using (and I've added the missing close
parenthesis), then the fact that you are getting a 200 back (and a new
ID) means that you have successfully created a new clone. Otherwise,
you should be getting a 500 or 404 back.
//create_clone.php
$original = $_POST['ori
You need a second parenthesis at the end of the second line. Do you
see it?
Walter
On Jun 28, 2009, at 7:19 AM, WLQ wrote:
> Parse error between:
>
> $original = $_POST['original'];
> if($master = MyActiveRecord::FindById('originals',$original){
>
>
>> We're not getting this done by pasting l
bump?
On Jun 16, 2009, at 11:25 AM, Walter Lee Davis wrote:
>
> There's the "simple" method (these names are from the documentation in
> the Wiki):
>
> $('foo').morph('top:12px;')
>
> and the "complex" method:
>
> new Eff
Make sure you are using the "No Conflict" setting in jQuery. Otherwise
it will clobber Prototype's methods.
Walter
On Jun 18, 2009, at 9:48 AM, rajashekhar.p wrote:
> error when i access
> document.getElementsByClassName method, this issue came up when i
> included jquery.js in the same JSP.
t;
> ipn
> tn
> tionitt
> itt th
>>>> Th alis all there is to that. Anything else, I really rethihthis
>> is
>> that> bn:0-312-3178617-31S -3 n-ISn6IS -32-d17't17't knoway be -he
>> curr784-2 (
>>> is). PHP s). and Mnd s). pm. pmens).ntm
Sure. You have to use a className for the handles, since you
presumably have more than one of them. You cannot have the same ID
more than once in any given page. If you do, you get either
unpredictable results or nothing, depending on how pedantic the
browser or code is feeling that partic
There's the "simple" method (these names are from the documentation in
the Wiki):
$('foo').morph('top:12px;')
and the "complex" method:
new Effect.Morph(foo,{style:'top:12px;',duration:0.5});
They work fine. Yet, from reading the code, I can't tell why I can't
seem to use any parameters be
everted". But you wont be able to
>>>> move
>>>> it (inside of cloned sortable), when you drag and drop one more
>>>> item,
>>>> that item wont move ass well, but previous dropped item apparently
>>>> receives the ability of being dr
you drag items from originals in order they
>> appear, then they will be cloned but won't be "reverted". I've also
>> added your print_r($_POST) to the update_order.php but it's giving
>> some unfair results.
>> I've uploaded the whole pack to
Without a DOCTYPE, it's not valid, not in any flavor of HTML in modern-
day use.
Walter
On Jun 8, 2009, at 2:31 PM, Paul Kim wrote:
> I guess this mean that I must use DOCTYPES when using Prototype. I
> was expecting Prototype to work consistently whether or not there
> was a DOCTYPE pres
It's all over the docs on prototypejs.org and the unofficial wiki:
Prototype expects valid (X)HTML. It wants a stable playing field --
not a guessing game -- to start with. If you give it that bare
minimum, then it makes your (programming) life much richer and
sweeter. If you find a bug in
Sorry, here's a clearer listing:
http://us3.php.net/manual/en/language.types.intro.php
Walter
On Jun 8, 2009, at 11:05 AM, Walter Lee Davis wrote:
> That means it can be an Array, an Object, a String, an Integer, a
> Boolean, a Floating Point Number or NULL, according to this list
From your example page, under Parameters:
value
The value being encoded. Can be any type except a resource.
That means it can be an Array, an Object, a String, an Integer, a
Boolean, a Floating Point Number or NULL, according to this list of
Types:
http://us3.php.net/manual/en/language.typ
Gaa! I always get this backward. As Mr. Wonka would say, "Strike
that; reverse it!"
whatever_your_list_ID_is = Array(
12 => 0,
13 => 1,
24 => 2,
2 => 3,
42 => 4
)
Walter
On Jun 8, 2009, at 6:56 AM, Walter Lee Davis wrote:
Try this: put a print_r($_POST) in your handler, and look at what gets
posted to the server in Firebug. I don't think that what you're doing
here (exploding by _) is meaningful at all.
The data generated by Sortable.serialize looks like this after PHP
grabs it from the POST:
whatever_your_
Add a closing parenthesis and a semicolon after the closing brace at
the end of line 77 of the code on jsbin.
Here it is in context:
//this replaces the call to Prototype's identify() function
clone.id = transport.responseText;
}
}); <-- right here
//re-
Please post a link and I'll take a look. What does Firebug say when
you run it?
Walter
On Jun 6, 2009, at 6:48 AM, WLQ wrote:
> Walter, why ain't the script you've post working. I mean no drag and
> drop is working now. When I've connected it to my local server.
--~--~-~--~~
That's entirely up to your server, your framework (if you use one)
etc. I've posted a very concise bit of code that does the update order
part before, have a look through the archives at Google Groups.
Walter
Not sure what you mean by freezing -- you should simply see a page of
code, it's
5, 2009, at 8:50 AM, WLQ wrote:
> I have a hard time connecting your js with a database. Could you give
> an example of what I should write there?
>
> On May 31, 8:22 pm, Walter Lee Davis wrote:
>> I took another run up this hill, and got quite a bit further than the
>
Sure.
What I'm doing is this -- removing them from the parent object in the
order I want them to re-appear, then inserting them in that order at
the bottom of the parent object. So if you start out like this:
div#foo
div#bar1
div#bar2
div#bar3
div#bar4
Then w
Aha. Well, $('tr') returns one element that has the ID of 'tr', it
does not return a collection of elements with that tag name.
$$('tr') will return a collection of extended elements with the tag
name TR. If you want to be more specific (maybe you use tables for
something else on the same p
Morph can take a classname as its argument instead of a style hash. So
if you have defined your .checked class with whatever visual
attributes you want, then doing this:
$('tr').morph('checked')
will cause it to change smoothly from whatever it looks like now to
whatever .checked is define
n 4, 2009, at 7:54 AM, CMRstar430 wrote:
>
> Hey Walter,
>
> have you ever done patch work for lightwindow? or have you ever gotten
> it work for you in IE?
>
> On Jun 4, 7:48 am, Walter Lee Davis wrote:
>> Lightwindow seems to have been abandoned quite some time ago,
Lightwindow seems to have been abandoned quite some time ago, which is
a shame. I've had to patch lots of things for IE6, there are scads of
references on Google to other bits that people have changed to work
around one problem or another. I really like LW, it does way more than
any other
If you know the order already, you could do something like this:
var foo = $('parentList');
['item_1','item_2','item_3'].each(function(id){
foo.insert({bottom:$(id).remove()});
});
You could also capture a snapshot of the list before any dragging is
done with
var original = $('parentL
They are two, and this is just a place where Lint and Prototype
disagree. This could be written as
if((match = source.match(pattern))) { ...
and Lint would say "Sure! That's just fine! " because that's like
saying if (true){ But Prototype house style is about less typing
(in the keyboa
un 3, 2009, at 9:06 AM, Walter Lee Davis wrote:
> if you want to use the bare
> camelCase words.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To pos
Well, float is a kind of Number, so that's why you can't use that word
directly -- it's reserved by JavaScript, and 'you have to dance with
who brung ya'. In those cases, you can usually use css[the word] as a
substitute, so cssFloat in this case, if you want to use the bare
camelCase word
Sure.
On Jun 2, 2009, at 9:46 AM, anthony wrote:
>
> I have got a working example, but now I need to add something, and I
> am not sure how to do it.
>
> I have a function:
>
> function getAdjForm() {
> var params = Form.serialize($('createAdjForm'));
> new Ajax.Updater(
> "adj
Yes, but...
If you pick one format for the first element in the hash, you have to
follow it through all the way. So if you use camelCase notation for
the first rule name, you can't use the quoted name for the second, and
vice-versa.
When in doubt, quote them all (names and values) and use
ortable. You
would think that you could add an internal variable to the object, but
I couldn't figure out how to do that.
Walter
On May 28, 2009, at 12:58 PM, Walter Lee Davis wrote:
> n my work, I found that while you could drop a draggable onto a
> sortable, you couldn't get th
This is a fundamental problem -- are you changing the IDs of the list
in order to keep the order correct? IDs are once-in-a-lifetime things,
they should never change, unless you want your hair to stop growing.
Make a new column in your database just to hold the current sort order.
table "wid
A Sortable is a special case combination of a Draggable and a
Droppable. A Sortable may be dragged into another Sortable as long as
both lists include the other in their "containment" property. But
there is no equivalent to Draggable's revert in a Sortable.
In my work, I found that while yo
Yes, that very limited case is simple. What WLQ is trying to do is
have two lists of things, be able to drag an unlimited number of
copies from the first list into the second list, and have the dropped
elements keep their place in the second list while the first list
remains exactly the sa
#2sortable (it selects the row from #2 "table" (the #2
>> "table" is the second sortable list which is driven by MySQL
>> database)).
>>
>> WHERE id="' . $content . (it's what it's copying).
>>
>> $updatedList = $this-&
Also you can use a document.observe('dom:loaded' ... observer to set
this (and avoid the inline CSS if that bothers you at any level).
Walter
On May 28, 2009, at 9:18 AM, T.J. Crowder wrote:
>
> Hi,
>
>> Add style="display:none" to the tag.
>
> And note that Richard made a point of using an i
I have not been able to get this to work the way you describe. What I
had to do was set up my "factory" elements as Draggable (with revert)
and then set a separate Droppable container around my sortable. When I
drop, the onDrop function fires, which does the Ajax call to create a
new eleme
I think you need to take a step back and think about what you're doing
here. If you use Sortable to re-order a list, that list will stay
ordered (in the visitor's view) precisely as they have dragged it.
There is no need to re-populate the visitor's list with the new order,
because the ord
Are you talking about a Scriptaculous Sortable here? There's an
onChange() function that can do what you are talking about in that case.
Walter
On May 26, 2009, at 12:30 PM, Maya wrote:
> How can you auto submit the form each time a record is dragged/dropped
> without using a submit button?
This works fine as long as the iframe stays in the current domain. If
it strays outside that, you get a permission error. The person who was
after this wanted an iframe that would expand to hold its contents
without hiding any of them or displaying scroll bars (not sure why,
exactly). I've
The script contacts the database through the Ajax.Request system in
Prototype. I can't find the code I posted to you, but all that part
was in there, I think. It sends a POST to the server with the type of
item that was dropped, and the server replies by first making a new
item of that typ
All of the effects fire an afterFinish() function, if one is provided
in the options hash.
Walter
On May 25, 2009, at 8:38 AM, claus.k...@googlemail.com wrote:
> Is there something like onComplete: for the effects? I do no see
> anything like that in the docs...
--~--~-~--~~
401 - 500 of 766 matches
Mail list logo