similar to: RE: Appending <tr>''s to Table - Images in <tr>''sloading slowly.

Displaying 20 results from an estimated 6000 matches similar to: "RE: Appending <tr>''s to Table - Images in <tr>''sloading slowly."

2006 Feb 24
0
Appending <tr>''s to Table - Images in <tr>''s loading slowly.
While working on an application, I have run into an interesting problem for which I have no solution at this moment, hence writing to this forum. Basically, I am working on an email application that requires me to fetch data from the backend using AJAX and then I use dom to append the results dynamically to the mail display table. So far so good. So, I call a function getTableData() at the end
2006 Feb 24
0
RE: Appending <tr>''s to Table - Imagesin<tr>''sloading slowly.
Thanks Jerod for your help. I had already tried checking my cache settings and that was set to automatically. But, that didn''t fix this bug. Now, the URL that you sent really captures my problem well :) And what you just pointed seems interesting - I have absolute references to the images because of some reason (as designed by some developers). Now, if you are saying that IE would
2006 Feb 24
1
RE: Appending <tr>''s to Table - Images in<tr>''sloading slowly.
I tried the same thing Ryan - tried preloading the images using javascript once and then using CSS (heights of desperate behavior ;) But no Luck! But, IE is misbehaving in this respect. The application behaves fine once loaded. But, each refresh sucks! Only if I knew why this was happening ... :) Thanks anyway, Mandy.
2006 Mar 01
0
RE: manipulate <td>''s and their content by grabbingtheir classNames
Or... var myTDs = new Array(); $A($("main").childNodes).each(function(tr) { $A(tr.childNodes).each(function(td) { myTDs.push(td); }); }); -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of troels knak-nielsen Sent: Wednesday, March
2007 Sep 12
2
Prototype.js and Coremetrics eluminate.js issues
Hi, I am trying to use prototype.js on a JSP that also contains some javascript from Coremetrics (eluminate.js). Coremetrics is used for tracking marketing clicks. When I have both of these javascript imports on the page I get javascript errors in the eluminate.js file. I get javascript errors that say "Undeterminate string constant." It looks like the prototype.js file is somehow
2006 Jun 16
11
Detecting Body Onload
I have a piece of code that "waits" for body onload. Every 30ms, it tests $(''body''). Seems that isn''t always good enough. I''ve hit situations where the DOM is "partially" loaded somehow. I fixed matters by setting a global flag... <body onload="bodyLoaded=true;"> which provides a better test... of course I could
2006 Jul 23
0
appendChild crashes ie6 onload (urget)
Has anyone encountered this problem before? A function which is attached to the window''s onLoad with Event.observe crashes ie6 ONLY when appendChild is called. I have confirmed it across multiple computers. Even weirder, the function in question is a well tested script commonly used. http://www.particletree.com/examples/lightbox I have eliminated all js on the page except
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
2007 Dec 01
3
Event.observe and normal event
Hello! I posted in another mail that I had a problem with this code: paths.each( function(img, i) { this.imglist[i] = new Image(); this.imglist[i].src = img; Event.observe( this.imglist[i], ''onload'',
2008 Jan 19
1
Set Return Type XML in Prototype
Please help i can''t return xml data using prototype. If i use data from direct xml file then it works fine but when i use ajax request with header content xml it''s not working My code just work on IE but in FF it does not working. My code sample are given below If any one already done this kinds of job Please help me as soon as possible. var xmlDoc; function Claulate() { var
2006 Feb 21
1
Appending new tr into a table
Hi, While working on a project, I ran into the problem of appending <tr>''s to a table in IE 6. I am using new Insertion.Bottom(element, content); for this. This works fine in Firefox but in IE 6, I don''t get an error but nothing appears in the table. I know that IE treats innerHTML of a table as read only, but going through the following post, I assume there is some fix
2007 Sep 22
2
How to fire an event when the page completes loading?
I''m looking for an event handler in Prototype (or plain old JavaScript) similar to onContentReady() in the YUI library: (see http://developer.yahoo.com/yui/examples/event/event-timing.html) How can I implement this? If I''m not mistaken, my testings showed the document.onLoad() happens too early (as soon as the page loads it fires, even before some dom elements are on the page
2008 May 07
1
Change Focus of Radio Button
Hey ya''ll... Love learning Prototype so far... ran into a small problem today, from my google search it doesn''t seem like there is an easy way to do this... i hope i have assumed wrong! I need to change the focus of a radio button... I currently use this code to call focus to the first form element... i tried to reuse it to do radio buttons with no success
2006 Aug 31
2
Event.observe problem
Hi everyone! I came across and interesting problem with prototype Event.observe. Take this code for example: <script type="text/javascript" src="cropper/lib/prototype.js"></script> <script language="JavaScript"><!-- function handler(e) { if (document.all) { e = window.event; } var key; if (document.layers) key = e.which; if
2008 Jun 04
1
new to prototype : Ajax.Updater
hey guys.. im a prototype rookie here.. the concept of "a framework for javascript" seemed mouth watering.. but my rails got stuck when i started using it. here is the guinea pig im using to experiment on prototype. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html
2007 Mar 20
0
4 commits - libswfdec/swfdec_flv_decoder.c libswfdec/swfdec_flv_decoder.h libswfdec/swfdec_movie.c test/trace
libswfdec/swfdec_flv_decoder.c | 108 +++++++++++++++++++++++++++++++- libswfdec/swfdec_flv_decoder.h | 4 + libswfdec/swfdec_movie.c | 2 test/trace/Makefile.am | 3 test/trace/onload-childparent.c | 38 +++++++++++ test/trace/onload-childparent.swf |binary test/trace/onload-childparent.swf.trace | 3 7 files
2009 Jul 07
0
Protection stack overflow when calling setGeneric()/setMethod() from within .onLoad()
Hi list, Calling setGeneric()/setMethod() from within the .onLoad() hook of MyPkg package produces the following error: > gctorture(TRUE) > library(MyPkg) .onLoad(): ok1 .onLoad(): ok2 Error : protect(): protection stack overflow Error : .onLoad failed in 'loadNamespace' for 'MyPkg' Error: package/namespace load failed for 'MyPkg' This is with
2006 Dec 17
0
Using initLightbox()
Hi all I need some help on this one: I have a webpage that writes a jpeg into a div when you click on a thumbnail using javascript. I wanted to display an even bigger version of that jpeg if you click on it so I integrated the Lightbox script (uses prototype.js and scriptaculous.js) If I place initLightbox() into the body onload= then the first thumbnail clicked will write the larger jpeg into
2008 May 21
0
AJAX RETURNS HTML
I am new to AJAX.PLease help me to resolve this problem. This is my jsp page. "Search.jsp". <html> <head> <title>Search Results</title> </head> <body> <form name="searchForm"> <input type="text" name="empName"> <input type="submit" value="Submit"> </form> <div
2007 Dec 08
2
Assigning submit handler to form
Hi folks, A quick question for somebody. I''m adding a simple validation JS to my form by attaching it like so: $(''my_form'').observe(''submit'', function(e) { return view_ns.validate_form(Event.element(e)); }); The validate_form() function returns true or false. But regardless of it''s return value, the form is always submitted. ''sup wi