Displaying 20 results from an estimated 1200 matches similar to: "hoverclass on droppable zone"
2007 Apr 23
3
getElementsBySelector problem in IE
I''m having this problem with IE and getElementsBySelector, but am a
relative js novice, so quite possible -- likely even -- that I''m doing
something stupid. Either way, a fresh pair of eyes would help.
Basically I''m duplicating a fieldset within a form (so you can upload
more than one photo). [BTW, the fieldsets have a CSS id which relates
to the object id of the
2007 Jun 09
1
Element extending problem
Okay, I posted about this a few days ago but couldn''t replicate it in my
test case.
I have this page, which everything works fine on... except some of the
prototype methods.
They do not appear to exist on an extended Element.
ie:
Element._extended = true
Element.up = undefined
Element.addClassName = function
Element.getElementsBySelector = undefined
I''ve been trying to figure
2008 Jan 14
13
prototype/script.aculo.us ecosystem
Recently errtheblog (http://errtheblog.com/) put up a nice post about
jQuery. Putting aside all the assertions about cleaner code and fewer
lines of code than with Prototype, the one thing that struck me from
his (and others'') writing and from direct inspection is this: jQuery
seems to have a more of an ecosystem surrounding it. That is, more
plugins, widgets, locked-and-loaded
2005 Dec 04
2
Adding sortables dynamically
Hi all,
is there a way to define the containment option for a sortable so
that it is a class name instead of an id list?
I have a case very similar to the sortable lists demo, the only
difference is that I'm adding new list containers dinamically, so
either I need to redo the Sortable.create calls for all new elements
to include the newly added container, or having someway to have them
2007 Jun 28
2
img element inside div not accessible with $$() or getElementsBySelector
I can''t access an img inside a div using the $$() syntax. Using
getElementsBySelector doesn''t work either. Both return empty arrays. I
can access it with getElementById, however.
<div id="foo">
<img id="image" src="blah.jpg">
<div id="bar"
</div>
- Using $$(''#foo img'') returns an empty array
- Using
2008 Apr 03
1
Changing the prototype.js from 1.5.0 to 1.6.0.2 causes error in javascript code.
Hi,
I am a new member of this group.
We are using autocomplete box from "script.aculo.us". It uses the
prototype.js file.
We are creating the auto completer dynamically in a table. Our code
was working on FireFox(FF) but was giving error on
InternetExplorer(IE). So we upgraded the prototype.js file today from
version 1.5.0 to 1.6.0.2.
Only this particular change was done.
When we
2007 Nov 09
1
Prototype API Docs inconsistency
Hi,
If you follow those two links (watch the case difference) :
- http://www.prototypejs.org/api/element/getElementsBySelector
- http://www.prototypejs.org/api/element/getelementsbyselector
You''ll see that the first one does not indicate the 1.6 deprecation
even though it is the same method.
I guess those docs where generated, so the problem might exists
elsewhere in the docs.
Thanks
2007 Jan 22
11
getElementsBySelector broken in IE
Hi all:
getElementsBySelector appears to be broken in 1.5 final on IE.
getElementsBySelector works as expected in FF 1.5 final and also it
works correctly in IE in 1.5 RC2.
Here''s my simple code fragment:
var els = element.getElementsBySelector(''[recnum]'');
The variable els is undefined in 1.5 final on IE.
--~--~---------~--~----~------------~-------~--~----~
You
2007 Apr 10
1
bug: Element.getElementsBySelector on internet explorer
Hi,
in ie7 I can''t use Element.getElementsBySelector to select elements in
a xml document
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group.
To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this
2007 Mar 23
7
Lightbox-eske Dialogish Object
So, one of the things I''ve always wanted to do was expand upon the
simplicity of the Lightbox Gone Wild! object that the coders at
www.particletree.com put together months ago. I used it on an
application I wrote to organize my own picture albums on my localhost
web server, but I had to hack it apart to get it to do the things I
wanted it to do. I looked at the Prototype Window
2007 Jun 22
2
Waiting For Completion
I am writing an application that will display a series of images.
When a link is clicked the images will fade away, and new images will
fade in.
I am starting by trying to simply fade the images out then back in
through a function:
function ChangeImage() {
Effect.BlindDown(''MyElement'',{duration:0.5});
Effect.BlindUp(''MyElement'',{duration:0.5});
}
This
2007 Jul 31
6
Using Effect.Move() while maintaining the elements DOM order
Hi there,
is it possible to maintain the elements order in DOM when using
Effect.Move()? Currently the Move effect will
change the element position (using top and left style attrs), this
works quite well too, but what I''d like is
to change the elements position as well.
Consider the following example:
html:
...
<div id="a">First</div>
<div
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply
to this email, as some of the replaced lines are too long, so git
won't let me send the email. However, there is nothing wrong with
that patch, and it should be applied in the sequence listed below.
Note also that I assume this will be tested on a clean f11 install, rather
than an upgrade of an existing ovirt server
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
2007 Apr 20
15
Need help with something.
Hello, I need a way to send some script in a div or a form field to
the server,
have the server read it, then return the updated script to the div or
form field.
I can do the div and form field and such, I just need someone to
explain to me how to do this. Can this be done? Thank you very much.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2007 Jun 01
5
il8n with Prototype
I''d be grateful for feedback regarding the following:
/* Iterate over elements and lookup translation for language in JSON
dictionary */
function translateChildren(parent, language) {
var phrases = parent.getElementsByClassName(''lang'');
phrases.each(function(p) {
var phrase = p.readAttribute(''for'');
p.innerHTML =
2011 Oct 21
20
How to transform my html form into a rails 3 form
Hi,
I have the following code working in a rails 3 view, but it is
unfortunately not pure rails code!
<% @filter1 = "tr.show1,tr.show2" %>
<% @filter2 = "tr.show1" %>
<% @filter3 = "tr.show2" %>
<form>
<p>
<input type="checkbox" value=<%=@filter1%> onclick="$
(this).is('':checked'')
2008 Jul 05
3
getting and writing atrr with prototype
Hi i''m learning prototype and i need to know something...
Someone knows how to write and get the value of some atribute... i
mean like...jquery that uses $(''#sub-div'').atrr(''alt'',''visible);
in prototype is there something like that?...
I hope you can help me and thanks :D
--~--~---------~--~----~------------~-------~--~----~
You received
2007 Jul 26
1
Prototype 1.5.1.1. bug, "too much recursion" line 1294
FYI, just tried to upgrade my prototype from 1.5.something to 1.5.1.1
and when I did an ajax based form submission, I my browser pegged the
CPU. FireBug tells me there is too much recursion online 1294:
if (!element || !element.tagName || element.nodeType == 3 ||
I don''t have enough time to submit a proper bug report but wanted to
let people know.
2005 Feb 22
2
SpanDSP - Still can't send
I have googled until blie in the face, WiKi'd until physically exhausted
and searched through every Asterisk repository that I can find, all to
no avail...
No matter which version of SpanDSP I use, with which version of libtiff,
Asterisk, ... I simply cannot send faxes.
I can receive faxes *perfectly* (sending from standard fax macine on
POTS) into tiff file (via Digium analogue card),