After seeing a demo of Fluxiom’s user permission system in January 2006 I set out to recreate the effect. A few months ago I stumbled upon the code and screencapped what I’d done. I think it looks pretty neat.
It’s your stock-standard ActiveRecord based model with backend validation and saving to the DB with ajaxy zoopy goodness—Rails 0.14.3.
Completely unsupported source code:Archived comments
Comments were previously allowed on articles. Though no new comments are being accepted you can see the old comments below.
-
that’s neat alright! good stuff
-
Awesome. That is seriously spiffy.
-
Hey, what kind of css are you using?
Is the form loaded at the same time as the show view and hidden with display: hidden
Or is it on a different z-index,
Or is loaded remotely with rjs..
Or am I on the wrong track completely?
I’m just a bit confused :/
-
Eadz: the zoop effect just requires you’ve got two divs positioned over one another, the hidden one as display:none. In reality I just had one as display:none and using RJS to trigger content replacement, the zoop effect and the validation tooltips… but you could do it in a much cleaner way.
-
hi tim,
i’m trying your snippet but i dont done. are there any download of this? thanks and congratulations.