Displaying 20 results from an estimated 60000 matches similar to: "Builder.node Hangs?"
2006 Sep 30
3
Builder.node, each() and Event.observe - Help!
Hi all
I am trying to get the following code working but somehow it doesn''t..
Please help me.
------------ snip ---------
Ajax.Request(''/json/images/''+query, {
onComplete:function(xmlhttp,json)
{
if(json.TotalResults != 0) {
json.Item.each(function(item)
{
$(''out'').appendChild(
2008 May 08
2
DOM builder and HTML events
Hey guys,
My team is have an issue using the Prototype DOM builder. For some
reason, the onchange event isn''t being registered for an input box.
$(''targetDiv'').update(new Element(''input'',{type:''text'', id:''blah'',
onchange:''alert();''}));
When we insert via the .innerHTML parameter, it works just
2008 Jan 31
3
Multiple form weirdness in IE6
I am having an issue where I have multiple forms on a page. The first
form has a couple of hidden inputs. The second form has all the
visible controls including three buttons. Each of these buttons has a
behaviour attached to it (From Ben Nolan''s Behaviour.js) based on its
id. The code for the first button is something like this (I am also
using prototype.js):
var button1Func =
2005 Aug 09
1
Builder
is the brand new dom builder working for everybody? i''m not getting
any error messages when i try to use it, but it doesn''t seem to be
doing anything.
http://wiki.script.aculo.us/scriptaculous/show/Builder
http://dev.rubyonrails.org/file/spinoffs/scriptaculous/src/util.js
2005 Aug 17
1
[PATCH] Builder with hash for style attribute
The attached patch transparently extends the Builder from util.js to
take an object/hash value for the style attribute. The elements of the
hash are then used to set the respective properties of the style
object.
The purpose of this patch is twofold: (1) Make it easier to use the
Builder with generated style properties. (2) I''m not sure if assigning
a string to element.style is even
2006 Apr 18
7
[Prototype] evalScripts not working for me
I think I am experiencing the variable scope problem with evalScripts.
I have this block of code being returned from an Ajax.Updater call,
as shown by FireBug or one of those other Firefox plugins. I have
tried to boil it down to the minimum code.
<script type="text/javascript">
test = function() { alert("test"); };
</script>
<table
2006 Jun 30
1
Very Strange IE behavior
Hello
With your help I managed to programm a nice slider page:
http://www.vum.ch/schulfernsehen/
It works fine on IE and FF.
So I integrated the page into the clients CMS....
now its not working sometimes on IE. Error on line 155 file slider.js
(this.handles[handleIdx].style[this.isVertical() ? ''top'' : ''left''] =)
http://www.orientation.ch/dyn/test_int.asp
2008 Jan 01
2
Ajax.Updater from within an IFrame
Hello together.
I''m trying to call an Ajax.Updater from within an IFrame to update an
element in the parent window.
It is working, but I receive an error from Firefox when I do so.
What I want to do is to upload a file, and then after the file has
completed uploading, automatically reload a section of the page with
information about the file to post-process it.
However, AJAX
2007 Nov 19
1
Running a script after evalScripts has completed
Hello,
(I originally posted this on the Prototype-Core group by mistake,
sorry)
I am running a request via Ajax.Updater with evalScripts = true and an
onComplete function.
I find that my onComplete function executes before the script content
has been evaluated. Looking through prototype.js (v. 1.5.1) this seems
to be caused by the scripts being executed as part of this line
(1352):
2007 May 15
1
Effect.dropout and Too Much Recursion Error
Hi,
I need some help again. :-)
I have "Too much recursion error" prototype.js line 1288,
I heve this error when I try to use Effect.dropout (script.aculo.us)
if I remove table ID, there is no error, and the effect works fine
(remove the tr from table)
But I need this ID assign to this table, as table ID is used by other
effect (Builder.node)
Please help ....
Thanks
YUAN
Here is
2008 Feb 21
5
prototype.js hangs page load when included in an HTML page
I have a simple HTML page - stripped everything possible from it.
No javascript is invoked (e.g. body onLoad) when the page is loaded
I''ve included the new prototype.1.6.0 (and tried 1.6.0.2) in my html
page.
When I load the page - the browser will render the html content - but
the page continues to load - without ever finishing. This is a
problem because the code I want to execute in
2006 May 24
5
Ajax.RssReader object
Hi all,
I''m happy to announce that I''ve completed the first version of my
Ajax.RssReader object. It needs some extra''s, but the basic functionality is
now available. You can download it from
http://www.sayoutloud.com/javascripts/rssreader.js
Usage:
function myCallbackFunction( rss ) {
alert(rss.channel.title);
for(n=0; n<rss.items.length; n++) {
2005 Nov 11
2
array.each() on associative array?
Hi List!
Is there a way to iterate through an associative array when prototype.js is used?
arrayname.each(function (i) {
alert(i);
});
seems to work only for numeric arrays.
Thanks, Josef Stich
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Feb 17
4
RE: Ajax.Updater and loading new javascriptfunctions.
<p align=\"left\"><b><font face=\"Arial\" size=\"2\">GFI MailSecurity''s HTML threat engine found HTML scripts in this email and has disabled them.</font></b></p>Also... with the evalScripts method, try assigning your functions
differently so they stay in memory (assign them as variables)...
myalert = function(txt)
{
2006 Mar 16
1
script.aculo.us in xsl
Hello, first of all, sorry for my English, I´m a Spanish student and I´m
having some problems with script.aculo.us. These are the following:
I have a XML file like this:
<?xml version="1.0" encoding="iso-8859-1"?>
<?xml-stylesheet type="text/xsl" href="barraNav.xsl"?>
<barraNav>
<boton>
2006 Dec 12
10
Scriptaculous loader ... how to clone it?
Hi,
I would like to use the system loader as in scriptaculous.js to load
dynamicly some of my javascript files.
So I copied and pasted the code from scriptaculous.js into my
modules.js (this file should load all my js files from the directory
"modules" !). But the problem is when I launch my web page, the
scriptaculous.js works correctly but not the modules.js.
I think the two methods
2006 Feb 17
1
window.onresize event using Behaviour.js ?
Does any one know how to register a window.onresize event using
Behaviour.js
I tryed
var myrules = {
''window'' : function(el){
el.onresize = function(){
alert("Window Resized")
}
},
}
Behaviour.register(myrules);
but no love.
Thanks.
______________________________________________________________________
Alex Duffield . Principal . InControl Solutions .
2007 May 13
2
prototype - get inputs()
hi,
i have the following function which is not working for me:
function uploadimg (theform,ajaxAction,ajaxTarget){
var imgDesc = theform.getInputs(''page1'', ''text'',''imgDesc'');
alert(imgDesc[0]);
defaultAction=theform.action;
defaultTarget=theform.target;
theform.action=ajaxAction;
theform.target=ajaxTarget;
theform.submit();
2007 Sep 28
2
Event.observe doesn't work
Hi,
The following simple html doesn''t work with errors, why?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN""http://www.w3.org/TR/
html4/strict.dtd">
<html>
<title>click</title> <head>
<h2>Click!</h2>
<script type="text/javascript" language="javascript">
2006 Jan 16
2
Behaviour.js and prototype Event.pointerX
is there a way to take advantage of prototypes Event.pointerX when
using Behaviour to manage my events?
somthing like..
var myrules = {
''body'' : function(el){
el.onclick = function(){
alert(Event.pointerX(e));
}
}
};
thanks
______________________________________________________________________
Alex Duffield . Principal . InControl Solutions . http://