Displaying 10 results from an estimated 10 matches for "jhummel".
Did you mean:
hummel
2006 Apr 27
14
cleanWhitespace and parentNode
Hey cats,
I seem to have ran into a problem in IE trying to use parentNode with
the cleanWhitespace method.
doing something like:
var div = $(''mydiv'');
Element.cleanWhitespace(div);
works really great, but try doing:
var div = $(''mydiv'');
Element.cleanWhitespace(div.parentNode);
or
var div = $(''mydiv'');
div = div.parentNode;
2006 Jun 20
5
Multiple Ajax.Request or Ajax.Updater
I''m having a problem with multiple Ajax.Updater instances. I have five
small chunks of data being loaded into my homepage, and they seem to
be firing off one at a time. So the pieces load up in the order they
were called. Maybe I''m being a noob, but shouldn''t all those requests
just fire away and then place the content as it gets received?
I was doing multiple versions,
2006 Feb 17
2
Sorting Multiple Arrays
Hey Cats,
I''m having a problem. I''m working with an object that contains a bunch
of arrays:
var myObject = {
"data": [
{"line": [1,"aoo","far"]},
{"line": [2,"boo","ear"]},
{"line": [3,"coo","dar"]},
{"line":
2005 Dec 14
1
Problem stopping default event in Safari
I''m going crazy here. I''m trying to stop a link from being followed
after it''s clicked. It works everywhere except Safari (using v. 2.0.2
on Tiger)
I''m using behavior.js to attach events based on a class or an id:
*******************************************************
function loadData(e) {
// load some data here based on the url of the a tag
2005 Oct 27
5
Problem passing event object
Hi all,
I''m having a problem with an Ajax.Request. I can''t figure out how I
can pass an event (an onclick on a checkbox) which causes the Ajax
Request, to be recognized in an onSuccess function. Here''s my
simplified code:
var RequiredField = Class.create();
RequiredField.prototype = {
initialize: function(chkbox) {
this.chkbox = chkbox;
this.chkbox.onclick =
2005 Oct 21
1
Member Not Found
''ello all.
I''m having problems with using Element.findElement from Prototype 1.3.1
Everything works great in Firefox, but when I switch over to IE, I get
a "member not found" error. I can''t figure out if it can''t find the
event object anymore or if it can''t find the tag as it walks up the
dom. Has anyone else ran into this problem?
2006 May 24
2
newbie oo question
Hey everyone,
I''m trying to create an object that will have some properties
predefined, but will allow me to pass in properties to override those
standard props if needed. I''m trying something like:
var myObject = Class.create();
myObject.prototype = {
initialize: function(element, options) {
this.element = $(element);
this.name = this.element.id;
this.options =
2006 Feb 07
2
Objects and Properties
I''m working on a legacy product and introducing prototype to make my
life a little easier and I''m running into some problems with the
properties being added to some built in objects like Array.
The product has a form validator that''s used all over that adds fields
(and some of the fields properties) that need to be checked to an
array called fields (edited for
2007 Jan 10
4
Firefox Redraw Time
While not directly related to prototype/s.a.u. I thought this would be
the best place to pose this question. I apologize, if it''s off topic.
I''m working on an interface where I have a bunch of list items floated
to the left in a horizontal fashion. The list is inside a absolutely
positioned div, with an overflow set to hidden.
At one point in my script I have to remove the
2006 Dec 13
4
Effect.Opacity on Firefox Mac Dims text
Hey everyone,
I have a series of thumbnails that have a loading overlay placed over
them when they''re clicked on. The overlay is set to an opacity of .7..
.The onclick code looks basically does this:
var loading = document.createElement(''div'');
loading.id = ''loading_image'';
$(loading).addClassName(''thumb_loading'');