Displaying 20 results from an estimated 1000 matches similar to: "iframe is reloading during each sortable drag/drop point"
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
2006 Feb 13
8
Netvibes.com / Scriptaculous
Hi list,
Is it possible to create a "dashboard" type application, like
Netvibes.com, w/ script.aculo.us?
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
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 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
2006 Sep 23
1
IFRAME being reloaded after each sortable move
When an IFRAME is included inside a sortable element it gets reloaded
each time you move the element with your mouse to changing its position
when sorting.
The bug is only valid in Firefox 1.5 - there is no such behaviour in
IE.
This bug''s ticket can be found at:
http://dev.rubyonrails.org/ticket/3835
Anyone know a workaround or even a bugfix?
Help would be much appreciated.
2005 Nov 03
0
sortables w/ hoverclass
Good hello.
I'm confused by the 'hoverclass' option that can be passed to Sortable.create
It works with Droppables.add but (for me) it doesn't seem to do
anything when used with Sortables. (afaik Sortable.create just calls
Droppables.add and passes the hoverclass option through- or at least
it's supposed to)
Not sure if it's broken in the current svn script.aculo.us but
2005 Jul 18
1
fix for scriptaculous dragdrop.js empty list problem
Hi Thomas,
Here''s a fix for the problem that I raised this morning, turned out to be fairly
simple in the end (after many false starts and thrashing about - thank goodness
for Venkman!)
First, in Sortable.create(), I register the parent element (the UL tag or
whatever), and add an extra property to it to mark it as the parent of the list
in question:
for (var i = 0; i <
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 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
2010 Apr 02
1
Form Authenticity Token Error generated from iframe
Hi,
Iam trying to link my app from another site. I have used iframes and a
form is being loaded in the iframe embeded in another site outside my
rails app. So when the user submits this form it should effectively
take me to the application site with the post data... iam getting
authenticity token error while doing this.. can anyone guide me how to
achieve the objective...
thnks
Nisha
--
You
2006 Feb 08
0
Get id of object being dragged
Hi
Scriptaculous is awesome. Within a couple of hours I''ve been able to get
heaps done.
My one problem is that I can''t seem to get the id of the object being
dragged.
Here is the code I am using:
new
Draggable(''Idea'',{handle:''IdeaHandle'',change:function(element){$(''test'').innerHTML
= encodeURIComponent(element.id)}});
yet
2007 Nov 09
1
ruby on rails + ajax + iframe image uploader
hi,
I write a page that contain following function:
this site contain a html file upload control, which allow user to upload
image only.
once the image had been uploaded, it will automatic display on the
current page without refresh entire page.
when the image is saved, it will return javascript that embed in a
iframe (which is also in my current page) that can load the image into
my page (
2006 May 29
3
IFRAME based RJS - responds_to_parent
** File uploads with AJAX mojo **
Respond with RJS to your parent window with a form action targeted to
a hidden IFRAME. Handles all the painful situations like scoping
your JavaScript to your parent window generating the script block for
execution and clearing the IFRAME after execution so the back button
doesn''t re-execute the action.
`plugin install
2006 Aug 03
0
iframe id
If a parent opened an iframe window, is there a way to determine what my
the id of the iframe window is inside the iframe.
--
Posted via http://www.ruby-forum.com/.
2008 Jan 31
0
Element.Fire on window.parent.document from iframe (fails in Opera)
I wanted to create an iframe that could be included on any page for
uploading images, without determining the parent behaviour at all from
within the iframe. The iframe include just checks if there was an
image loaded, and does this to pass upload information to the parent
(this only fires when an image was uploaded):
$(window.parent.document).fire(''image:uploaded'',
2007 Nov 05
0
Ajax - attachment_fu - rmagick and iframe
Hello
I am uploading images ajax-attachment_fu-rmagick and an iframe and me
climb correctly, but when I finish the process and the driver will I
redirect_to enc_url I recharge layer ajax. I tried with redirect_to
enc_url :partial => ''m_content'' and redirect_to enc_url, :update =>
''m_content''. But neither I recharge ...
rhtml
------
<% form_for(photo,
2007 Jun 27
0
IFRAME
Hai
I am newbie for Rails
I have one question, I have one IFRAME ,and i have one action called
refer.rhtml
what my question is,I want to refresh the iframe content because i have
one grid in refer.rhtml and another one page which is present inside the
iframe,
If i click the link present in the grid page at the time i want to
display the content ,when i click the link,there will be one html page
2006 Jan 29
1
Works with iframe, but not ajax... ?!?
Hello all,
I''ve run into trouble attempting to replicate something in ajax that
worked when done with an iframe...
In both cases I have a table inside a div that is being periodically
refreshed every few seconds... The 1st column of each row in the table
contains a link to a DHTML popup menu. I have the popup menu working in
the ajax version.
The problem is that in the ajax version
2005 Sep 15
2
IE iframe bug with Autocompleter over HTTPS
I ran across an issues using the Autocompleter over HTTPS in IE (6.0
in WinXP Pro SP2).
I plan to submit a bug report to the Ruby on Rails trac, but first I''d
like "to discuss this on th[is] Mailing List beforehand, maybe it''s
already known and in the works, or it isn''t a bug" (per
http://wiki.script.aculo.us/scriptaculous/show/BugReports)
The autocomplete