Displaying 20 results from an estimated 3000 matches similar to: "About prototype.js and xml dom"
2007 Apr 03
2
Some cryptic error in IE
Hello,
I am using Sarissa v 0.9.7.6 and prototype v 1.5. In ajax application,
I am retrieving xml string from a local servlet and displaying it using xslt
processing by sarissa. This works perfectly well in FF, however it gives
bunch of error in IE. I have posted same type of problem quite few days back
and I stopped using Sarissa. Now I need to use Sarissa so any help would be
highly
2006 Sep 09
3
[Urgent] Help: Safari/Konqueror issue with absolute div initially hidden
Hi all,
I have this project due tomorrow night (yes, it''s a Sunday...), and
only one trick bug left, which only occurs on Safari 2 and Konqueror
(3.5.2). I guess the Webcore/KHTML common tree goes here...
You''ll find a test page online:
http://tddsworld.com/bugs/hidden_absolute_issue/
If you want to tinker on your box, get the ZIP:
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++) {
2006 Jul 24
15
XML Question
I''ve got an XML file which is pretty well structured. I need to retrieve
specific elements from that file to fill out empty HTML elements on a page.
I think what I need is xPath? Or - is that overkill? Is there some easier
way to locate an XML element?
What I have in mind is pulling the XML file using Ajax, then xPath to get
the bits I need.
Am I on the right path and does
2006 Jun 13
3
AJAX data grid for Rails?
Has anyone used an AJAX data grid with Rails?
I am rebuilding a copy of the venture source web site as a first ruby/
rails exercise. If anyone has used a javascript data grid with
Rails, I would appreciate sample code, or notes on your experience.
The controller action would presumably communicate with the data grid
component running on the browser by extracting data from a relational
2007 Apr 22
2
ActiveX Controls Not Working
For a month I've been trying to get ActiveX controls working from the ToolkitCMA.com site with IE6. Some serious weirdness going on.
So now I check what I look like at http://bellsnwhistles.com/bells.html, and it informs me that:
"The Browser you are using is Microsoft Internet Explorer (Mozilla) 4.0 (compatible; MSIE 6.0; Windows 98)"
Eh no, I check Help|About IE, and it
2007 Dec 21
5
dom movement methods, unattached objects
Hey guys
I have a bunch of element fragments (ie this might be a div, with children
of an image, another div) etc which aren''t attached to the document yet..
and can''t seem to call the dom manipulation methods on them:
down(''img.icon'') returns undefined but if I look at the innerHTML of the
element, there is clearly an image there with that class.
Is this is
2005 Sep 21
9
Ajax.Updater
Hi all,
I was wondering if one could pull a completely separate web site into a
div, e.g.
<a href="#" onclick="new Ajax.Updater(''artifact'',
''http://www.vivisimo.com/'', {asynchronous:true, evalScripts:true,
onLoading:function(request){Toggle.display(''message2body'')}}); return
false;">»</a>
it fails
2003 Nov 08
1
Can not connect to SWAT
Hello, Until yesterday (7 nov 03) I had a mostly working 2.27 samba
running on my redhat 9 box that I configured via SWAT. Now I can not get
back into SWAT & I also (in a useless attempt to make it work) upgraded
to samba 3.0 I get the following when trying to start SWAT:
An error occured while loading http://matrix1:901/:
Could not connect to host matrix1 (port 901)
here
2007 Nov 04
2
Extending DOM elements addressed by "this"
I have a function that needs to be attached to a bunch of text fields
when the page loads. I would like to use the Prototype methods that
are added to DOM elements by using the $() function, but I in the
function it refers to things with "this". For example,
this.style.borderColor.
Is there a way to extend elements from the kind of scope I am looking
at? For example, is there a way to
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
2007 Nov 20
3
Ajax.Updater -- Cancel DOM write?
Is it possible to cancel the DOM write to the element passed to
Ajax.Updater? I didn''t see anything in the documentation, and I''d like
to use this instead of Ajax.Request. There are situations where the
results that are returned will not be what is expected, and I have no
control over this. For this reason, I''d like to be able to cancel
writing to the DOM.
Thanks in
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
2006 Jun 16
4
Prototype $$() on arbitary DOM element ?
I am bit confused with this function. Should I be able to pass in a DOM
element e.g. someAjaxRequest.responseXML and interrogate it ?
Seems not but perhaps I am missing something...
TIA
Matt
2008 Jan 18
5
wz_tooltip and updating the DOM
Hi all,
I am using Prototype in conjunction with wz_tooltip and am having a
problem with the tool tips not being updated in time.
When a user mouses over a link, I am making an Ajax call to a CFM page
that sends back an HTML table and updates the contents of a div with
the returned content. I then call wz_tooltip and reference that div to
use as the tool tip. However, what is displayed in the
2006 Mar 09
2
extending an existing DOM object in a prototype way
I want to take an existing DOM object and extend it with some
functionality. I know there''s a way to do this with prototype.
Unfortunately, I''m not entirely sure how to do this.
Basically, I want to take an existing DOM object and turn it into a
''widget'' by adding some functionality.
say we have a span:
<span id="blah">some text
2006 Jun 26
2
Drag''n''drop DOM elements between (I)FRAMEs
I am quite disappointed in the drag ''n'' drop support in Mozilla Firefox.
What am trying to achieve is dragging an element from one IFRAME/FRAME into
another IFRAME/FRAME. But upon dropping the element, I do not want the
target IFRAME/FRAME to open/load it. I want it simply to handle the event,
such as parsing the element/data dropped. Such uses as dropping an element
into a
2006 Apr 26
3
DOM events not firing in IE6 with floated divs
Hi All
Not strictly Scriptaculous but I came across this whilst trying to implement
some Scriptaculous code. I am hoping some XHTML guru out there might be able
to shed some light.
If you load up the attached file in IE6, you''ll see the events only fire in
the middle section of the title bar when your over the border ! - FF1.5 is
fine..
Any thoughts / comments appreciated..
Cheers
2009 Mar 23
3
Msn 9
Hi everybody, i'm using latest version of wine on Fedora 10 64 bit and i install MSN9 on it. It' s looklike to work, the application start but don't recognize the network. When i try to connetct to msn the result is: can't finish registration you are firewalled..... Network test report that network is read to be connect with msn.. Thank you :?
2007 May 28
7
$$ is slooooow in IE
While $$ and getElementsByClassName are ridiculously speedy in Firefox
(thanks to XPath), I''m finding both functions to be intolerably slow
in IE. The page I''m working with has fewer than 1000 elements --
doesn''t seem THAT big -- and it''s still taking upwards of 4 seconds
(!) to pick out the right ones.
Are there documented problems with particular