Hi,
I'm wondering if there is a prototype solution around that creates
action menus.
What I understand as an action menu is the new 'Hide' button from
Facebook that shows up on feeds, or the little icon in Google Reader
that opens the 'Refresh / Add a subscription / Show Unread Counts'
etc.
Bas
Hi Richard,
FYI, I happen to know that kangax was working on Chrome support and I
believe a couple of days ago he got a clean slate on Chrome 2. I
don't know whether there's a plan to support Chrome 1 or not. But
progress definitely being made.
-- T.J. :-)
On Mar 27, 5:32 pm, Richard Quadling
Yeah, the clean-up has to happen onmousedown, rather than onEnd as I
said previosuly. I did some more testing and found I still needed to
catch the onEnd event to clean-up after unusual cases such as when the
element is dragged off screen in IE...
In the end I added a boolean flag to test if the
I meant to add that the method detailed above starts and ends with the
elements in % layout (even if element is clicked but not dragged), so
resizing the window is handled as expected by the CSS declarations.
There's no need for a window resize event listener.
HTH,
Conchur.
> On Mar 28, 11:17 pm
Thank you very much for your help, I did as you said and made it run.
I had some more path issues for opera and chrome, mostly because of my
italian edition of windows xp, but from your suggestions it was easy
to find my way out.
Now I'm all set and starting playing around with prototype.
Luca
-
On Mar 29, 4:38 am, "T.J. Crowder" wrote:
> Hi Richard,
>
> FYI, I happen to know that kangax was working on Chrome support and I
> believe a couple of days ago he got a clean slate on Chrome 2. I
> don't know whether there's a plan to support Chrome 1 or not. But
> progress definitely being ma
You might want to try adding an observer to all form elements to detect when
the values change. For example:
var isDirty = false;
$$('input, textarea').invoke('observe', 'change', function()
{
isDirty = true;
});
-Hector
On Fri, Mar 27, 2009 at 3:22 PM, Stefano Esposito <
stefano.esposit...@
On Mar 28, 7:55 am, "Russell Keith"
wrote:
> I have an iframe and I am using the onbeforeunload to prevent data loss.
> What I need to do is set a variable called save to 0 after any change is
> made within the frame.
>
> I tried this but it doesn't work:
>
> document.observe('chang