Displaying 3 results from an estimated 3 matches for "ip7csyuqqval7b8fek0ila".
2006 Mar 31
2
RE: drag and drop sorting with an empty lis
I ran into this issue too. My solution was to add an "onUpdate" function to
the sortable that tests the container to see if it''s got any children or
not:
function is_empty(container)
{
if ($(container).hasChildNodes()) {
Element.removeClassName($(container),''empty'');
} else if (!$(container).hasChildNodes()) {
2006 Jan 18
0
Behaviour & Effect.Highlight?
I''m having a problem with Effect.Highlight and a simple Behaviour rule.
In brief, I have a Sortable list. Using Behaviour, I add a hover effect
(apply a style on mouseover, remove style on mouseout). The styles contain a
border color and background color.
var myrules = {
''.sortable li'' : function(element){
element.onmouseover = function(){
2005 Dec 16
3
''floating dialog'' class
Inspired partly by what others are posting here, and partly out of
necessity, I threw together a "floating dialog" widget class. It''s more or
less a rip-off of the dialog widget from the Dojo framework - I had a need
for something similar, but didn''t want to move outside of the
Prototype/Scriptaculous libraries.
When activated, the "dialog" floats in fixed