[Proto-Scripty] Re: document.viewport.getDimensions() not working

2009-05-06 Thread Alex McAuley
your welcome.. please dont top the messages on the group as it makes it harder to know what response you are replying to - Original Message - From: Bertrand bertrand.char...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Tuesday, May 05, 2009

[Proto-Scripty] Re: help with ajax.

2009-05-06 Thread Alex McAuley
you cannot use ajax to send or recieve data from a URL it has to be a script on the SAME domain as the script is on If you want to use a remote domain then you will have to wrap it in a proxy with a server side language or perhaps the web service offers a script on thier domain .. by

[Proto-Scripty] Re: document.viewport.getDimensions() not working

2009-05-06 Thread Szymon Wilkołazki
Bertrand wrote: Thanks for your kind answer, it did help a lot. It should help, as it tells you are looking for the problem in wrong place. Try to look for the problem in your own code and not blame prototype.js when you're not sure. I think the problem you might have is the lack of DOCTYPE

[Proto-Scripty] Ajax.Updater and JavaScript source files inclusions

2009-05-06 Thread almeidap
Hi, Our application has been enhanced with an asynchronous circuit (based over the Prototype's Ajax class) that is able to load and navigate through usecases in a modal window. When calling an usecase action in a asynchronous way, the circuit returns only the needed HTML content (and not a full

[Proto-Scripty] Drag and drop Images

2009-05-06 Thread sandy
Hi all , I am doing image drag and drop functionality in asp.net, the drag functionality is working fine but my drop functionality is not working fine so i need help. I am getting the error in prototype.js file in line number 1903 var value = element.style[style]; element is null. and i ma stuck

[Proto-Scripty] Re: Help! How to get document.body height using Element.getDimensions

2009-05-06 Thread T.J. Crowder
Hi Paul, Just to add to that, I'm guessing the height was wrong because you were expecting the body element's height to be the viewport's height. The body element's height is determined by its content (barring CSS rules to the contrary), not the height of the viewport. Try this CSS: body {

[Proto-Scripty] Re: Inactive links in hidden element when using toggle in IE6-8

2009-05-06 Thread sandyt
Well, I can't say for sure but it looks like IEs rendering of tables is probably to blame. After converting the page to display the table data using divs IE now has the links active. On May 2, 4:27 pm, xander rhubarbcrum...@gmail.com wrote: I'm using the toggle effect to show/hide a table row

[Proto-Scripty] Re: Ajax.Updater and JavaScript source files inclusions

2009-05-06 Thread T.J. Crowder
Hi, Is there a work around to force Prototype to leave JavaScript source files inclusions after Ajax updates? Nothing built into Prototype. If you search through Lighthouse[1] or this group (I forget which) there was a discussion about possibly adding that at some stage. In the meantime, I

[Proto-Scripty] Re: help with ajax.

2009-05-06 Thread Russell Keith
I am running the vendor code and my prototype code from the same folder on the same server with almost the same file name. The only difference is I added pt to the filename that my prototype code is trying to run from. http://server_a/ajaxIG.html is the vendor code and it calls

[Proto-Scripty] Re: help with ajax.

2009-05-06 Thread Russell Keith
Also when I tried to do a cross domain call before that didn't work I thought I got an access denied error. This isn't even trying to make the call. I have a proxy setup to view the traffic and I see the call to my page the code is on and a call to the prototype.js file, but it doesn't even

[Proto-Scripty] Re: script.aculo.us DragDrop on the serverside

2009-05-06 Thread ColinFine
On May 6, 12:49 pm, sandy sandymc...@gmail.com wrote: Hi all, Still i am stuck on the same issue as above i.e. nothing is happening on dropping the image in panel-2.I am able to drag the iamge from panel-1 to panel-2 but the Droppable.add(...) is not firing .The whole code is same as

[Proto-Scripty] Re: Ajax.Updater and JavaScript source files inclusions

2009-05-06 Thread T.J. Crowder
Hi, Yes, I could control this as output mostly comes from source files that have been automatically generated (MDA approach) but I think this solution would break browser file cache. It wouldn't, but you couldn't have known that as you couldn't see the wiki article. :-) I couldn't check

[Proto-Scripty] Ajax.Autocompleter error in IE 6

2009-05-06 Thread virchete
hello, I have been looking for the solution in the web and I didn't find anything. My problem appears only in IE and works fine in Firefox. The problem is the following: -The first time that I write something I don't receive the list. If you stop writting (for example 1 second) and then

[Proto-Scripty] Re: help with ajax.

2009-05-06 Thread T.J. Crowder
Hi, I am running the vendor code and my prototype code from the same folder on the same server with almost the same file name. So, something else is going on. :-) I'd recommend walking through the call using a debugger (Firebug[1], for instance). If you're not even seeing the call get

[Proto-Scripty] Re: Prototype script.aculo.us not working in firefox

2009-05-06 Thread Diodeus
Please post the URL. On May 6, 7:00 am, lesserone leonde...@gmail.com wrote: Hi all I am using Prototype script.aculo.us. All I want to do is use a horizontal slider with a list of images. If I do not use a master page then it all works in IE but not in Firefox. If I use a master page

[Proto-Scripty] Re: Prototype Ajax with Perl script gets random internal server error

2009-05-06 Thread Diodeus
All I can suggest is performing some error-trapping in your server- side code to see where it's crapping-out. On May 5, 2:55 pm, Nobody stefan.e...@googlemail.com wrote: Hi guys, i got a problem with prototype in connection with a perl script. I'm performing AJAX-requests with Ajax.Request

[Proto-Scripty] Re: Prototype Ajax with Perl script gets random internal server error

2009-05-06 Thread Nobody
Hi Diodeus, as i wrote, i ran the code several times without errors, but other times it crashed. I can really exclude an error in the server-side code. I replaced my code with a simple Perl one line script print '123test'; and even with this simple code it sometimes worked, sometimes didn't...

[Proto-Scripty] Re: Help! How to get document.body height using Element.getDimensions

2009-05-06 Thread Paul Kim
Hi T.J., Thanks for the clear explanation regarding the viewport's height. I did expect the body element's height to be the viewport's height and I was wrong to make that assumption. Since Prototype javascript library seems to iron out various cross-browser implementations of native javascript

[Proto-Scripty] draggable onEnd calling function

2009-05-06 Thread Bobby Brown
I'm trying to execute a function when an object is done being dragged (ie: onEnd). The function checks to make sure the draggable is inside the parent div I want it to stay in. I can get it to work now as long as I pass no variables to the function. if I do, the function executes onload, and