In any case; If an event can only happen once, shouldn't prototype
throw some error that you can no longer register such an event after
it has been called?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype &
This will work, but remember that the instance isn't going to actually
fire an event, its just really acting as liaison to the document
object to fire off events via document. You've somewhat namespaced
the event with your reference ID which is going to make things
difficult for anything attempti
Seriously ? ... lol
It needs everything to be in a "container" div with width and height set to the
viewport but it works perfectly i wrote one for resizzables too to stop
someone resizing something outside of a given container!.
- Original Message -
From: Rick Waldron
To: p
Thank you all for the fast responses. That really helps my project
along :)
On Jun 30, 9:10 am, Rick Waldron wrote:
> Alex,
>
> Thats super rad.
>
> Rick
>
> On Tue, Jun 30, 2009 at 7:16 AM, Alex McAuley <
>
>
>
> webmas...@thecarmarketplace.com> wrote:
>
> > For the second question you have to
Alex,
Thats super rad.
Rick
On Tue, Jun 30, 2009 at 7:16 AM, Alex McAuley <
webmas...@thecarmarketplace.com> wrote:
>
> For the second question you have to work out its positioning on the page
> and
> relative to its parent... enclosing is not easy but its also not difficult
> ...
>
> Here is
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.
In IE7, the following page loads some content in two areas of the page
using an AJAX.Updater call.
All very simple.
However, at the bottom of the page a footer with a negative margin to
get it into position.
On all the other "non ajax" pages of the site, this CSS layout works
without issue, how
Hi Mike,
first you need to write unit in CSS: left:8 is not defined.
btw, I think this is a funny bug. Whille positionning the element, IE
find it's good position, as other browser.
When using the Move effect, scriptaculous force the definition of the
top/left CSS properties (even if in your effe
For the second question you have to work out its positioning on the page and
relative to its parent... enclosing is not easy but its also not difficult
...
Here is some code i wrote to enclose draggable windows in my windowing
system to make sure they dont go outsode the page...
http://pastie
Hi Nataka,
I did not see any Updater in your question :))
btw, have a look to the event API: http://prototypejs.org/api/event
and OBSERVE the SELECT tag to get called when a change ocuurs. You
juust need to verify that you update the select and not delete/define
a new one.
--
david
On 30 juin,
Hi Mike,
for the first question, I think that you should style the inserted
element or use a SPAN tagb instead of a DIV tag:
the DIV expand its width by default to it's contener width,
the SPAN just enclose inside content.
for the second question, there is no siimple way, scriptaculous don't
han
Hi Robert,
Yes, modify positionning for IE by a pixel value instead of percent
value, and it work as expected.
have a look to document.viewport API :
http://prototypejs.org/api/document/viewport
--
david
On 29 juin, 17:32, Robert Drake wrote:
> I have a potential bug or possibly just a miscon
Hi Nakata,
when you send an AJAX request, you want to return something from the
server. This is what is TRANSPORT:It is the result of the request, it
could be JSON, text/HTML, XML ...
Have more detailled in http://prototypejs.org/api/ajax/request and the
complete AJAX API: http://prototypejs.org
2009/6/30 Nakata Kokuyo
>
> Good day All,
>
> I normally found prototype sample like following :-
>
> [code]
> onComplete: function(transport) {
>console.log('done');
>console.log
> (transport);
>
Good day All,
I would like to know how we can call the custom controller action in
java or asp.net (i'm using salesforce environment in fact)?
what i intend to do is to have one dropdown list , when the value get
change, it will fire a custom action to return string and it able to
give me update
Good day All,
I normally found prototype sample like following :-
[code]
onComplete: function(transport) {
console.log('done');
console.log
(transport);
}
[
I am making a drag-and-drop editor thing using scriptaculous. However,
when I dynamically add an element, it takes the size of the div it is
being placed into. Then, when I drag it, I don't have access to any
other elements that are already in the div.
Here is the javascript functions I created:
17 matches
Mail list logo