Displaying 20 results from an estimated 5000 matches similar to: "Netvibes.com / Scriptaculous"
2006 Feb 07
1
onHover: can u explain me this function ?
In Sortables, we have a function onHover:
onHover: function(element, dropon, overlap) {
if(overlap>0.5) {
Sortable.mark(dropon, ''before'');
if(dropon.previousSibling != element) {
var oldParentNode = element.parentNode;
element.style.visibility = "hidden"; // fix gecko rendering
2007 Jun 24
2
function Element.isParent argument order?
I was trying to troubleshoot "jumpy" Sortables and noticed that when
the function Element.isParent is called from onHover (line 749 in
dragdrop.js v. 1.7.1_beta3) and from onEmptyHover (line 781), the
arguments seem to be in reverse order.
Element.isParent (line 944) expects "child, element(parent)" but is
called with "dropon(parent), element(child)", making it
2006 Jan 29
2
Questions about Sortable javascript
Hi,
I''ve been playing with sortable, the demos on script.aculo.us and
reading the javascript. I hope I''m not just missing the documentation
somewhere but I can''t find it. I want to do something like Sortable
for the admin side of an open source ecommerce project I''m working on
[1]. I''m relatively new to DHTML but understand the basic ideas. If
someone
2008 Feb 15
1
Sortable limit number of elements
Hello,
Well, i need to limit the number of elements in a sortable. I new to
scriptaculo but i have lots of experiencie with javascript.
Since limit the number of elements is not supported by Sortable i
would like to implement, i already took a look at the Sortable class
in dragdrop.js and it looks like that onHover and onEmptyHover deal
with the update of the UI, however I''m not unable
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my
question is similar in the regards that i don''t want my application to
send multiple requests. i have 2 sortabbles lists left, and right. when
i move an item from left to the right the onUpdate callback will send 2
ajax requests. one for each sortables. however. i want it to serialize
and send back the results from
2006 Jan 23
8
question about Sortables
So, is there any way to specify a sortable to only do a callback when
the dragged item is dropped? As it is, the onChange is called whenever
you move the draggable to a new element (even if you don''t drop it), but
I''d rather only call my function after they drop it to avoid unnecessary
additional server calls. It looks like Droppable supports an ''onDrop'',
but
2006 Feb 09
2
_marker in dragdrop.js
Hi,
I''ve been confused about the purpose of _marker in dragdrop.js for
quite a while. It doesn''t really look like it does anything with
ghosting on or off. I removed the mark method and didn''t discover any
problems. Is all the mark business a relic from some past idea?
Thanks,
Peter
2006 Feb 25
1
Re: Strange behaviour with sortable
Hi,
I''m having strange problem with Sortable.
I''m trying to do something like google homepage, netvibes and others with 3
sortable lists, just to prouve someone it''s really easy with scriptaculous.
But maybe it''s not so easy :)
I''ve attached what I did, the code looks good to me but when I drag the
upper left widget to another column, the widget under
2006 Feb 26
14
Question abour Draggables & Droppables
Hi,
What I need to know is how to change revert:true to revert:false from a draggable after I drop it on a droppable so it doesn''t return to its original place.
Something like:
[CODE]
<!-- Draggable image -->
<img alt="Product" id="item" src="icon.png">
<script type="text/javascript"> new
2005 Oct 13
6
performance
I''ve got a page I''ve implemented a bunch of observables and
sortables. There are around 330 items in the list. The Observables
(for hide/show of sublists) don''t seem to impact performance, but the
Sortables take a very long time to load when the page is refreshed or
submitted--even after accounting for the server-side processing and
latency. I''ve
2007 Jun 06
2
sharing my netvibes tab about rspec
Link was 404 :-(
the correct link is
http://21croissants.blogspot.com/2007/06/rspec-changes-log-rss.html
I should definitely switch from blogger to mephisto ...
Hi,
As I am not a big fan of mailing list, I have created a Yahoo!Pipes to
generate a RSS from the user & developpers mailing list and integrated it
into a netvibes tab. I have also put a few blogs from the rspec authors.
More
2007 Aug 27
4
Sortable + Table = Ouch!
I have an HTML table I am trying to "retro-fit" with a sortable such
that a cell in one column/row and be moved to another.
What I have tried in tyerms of formatting looks akin to:
<div id="schedule">
<table>
<tr>
<td><div id="one">Some Text</div></td>
<td><div
2006 Nov 24
1
sortable - after complete dropping element want to send ajax reqeust with id of elements: draggable and droppable
Hi all. I have specific situations - I use sortable on html list, and
after I move elements I want to do ajax reqeust to serwer with the id
of dragging element and id of the element that was droppable. How to do
it? which function in Sortable class i have to overrider or modify? i
try to modife onhover method in sortable and put a ajaxRequest call
before methods
dropon.parentNode.insertBefore
2006 Jan 28
4
Unspecified error in prototype.js
Hi,
1. I have 2 panes, each having approximately 45-50 slides, all the
slide images are 110x82 pixels in size, enclosed in their respective div''s.
2. These divs are further enclosed in a parent div, which is defined as
a Sortable on page load.
3. There is a destination div on the RHS also.
Sortable.create("div_leftDiv", {ghosting:true, revert: true,
dropOnEmpty:true,
2007 Jul 29
2
How to make Draggable Widgets with Placeholders
Hello. I''m trying to do some drag-droppable widgets like
Netvibes.com ...
I''m completely looking for a code like Netvibes. How can I do that
with Prototype or Script.aculo.us?
I want to make them droppable on placeholders like netvibes.
Any ideas or links? Thanks.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya,
I''ve just released script.aculo.us V1.5_pre1.
Please give it a try!
Important new stuff (since V1.1b1):
* Added a main scriptaculous.js file to load in the other libraries
transparently.
* Fixed a condition where standard a href=xxx links wouldn''t work in
autocomplete results. These do now, the onclick event is not
cancelled. [thx to Jasper Slits]
* Added
2005 Jul 21
3
Question about sortables
Hi,
I''m trying to use sortables to sort table rows and move them between
different tables (yes, it''s actual tabular data ;). However, either I
don''t know how to use the tag property of Sortable.create properly, or
it''s only working for li''s. Since it''s probably the first option,
could someone post an example of sorting tr tags and move them
2006 Jun 12
5
scriptaculous & sortables/draggables scrolling?
Re,
Would anyone happen to know how to make sortable/draggable scroll down
the page while moving the object if the page happens to be larger than
the screen size? These functions seem to work only within the visible
working space.
Right now I have workaround whereby I have an omnipresent DIV on the
screen to which I drop an element, then scroll down in the browser to
a certain point, and then
2006 Feb 01
1
Sortable onUpdate problem
Hi,
I have two sortables with different options (but same tags. just
''li''). When I drag an item from sortable1 to sortable2 I want it to
gain the options that the sortable2 items have.
I''ve tried all day to understand how Draggables and their observers
are destroyed but I keep gettting buggy behavior. Part of the problem
is the draggable and the draggableObserver are
2006 May 28
1
Sortable.create containment:
hi
i got a problem with a Sortable.create.
i got an array containing the ID of the elements i want to make an sortable
of, that is no problem, but i want to be able to drag between the sortables
and that where my problem is. i dont know how to assign an array to
containment:
until now the script looks like this:
for (i=0;i<id_gruppe.length;i++)
{
Sortable.create(id_gruppe[i]