[Proto-Scripty] Re: Calling other website server url

2009-01-04 Thread julien Devouassoud
Look at : php file_get_contents On Sat, Jan 3, 2009 at 6:15 PM, Jerod Venema jven...@gmail.com wrote: That said, there are ways around it. If you're just doing a GET request, and the other site is designed to allow it (or more likely, not designed NOT to allow it), you can simply inject the

[Proto-Scripty] Re: Event.observer with mouseup?

2009-01-04 Thread Joe Athman
Another alternative is to use Prototype's Curry function which let's you create new functions with default arguments. So you could write: Event.observe(window, 'mouseup', alert.curry('hi')); Joe As long as you know what curry does, I think this is more obvious for really simple examples like

[Proto-Scripty] Re: emptyFunction() calls take up to 30% of execution time

2009-01-04 Thread Niko
I think this will solve itself. If I understood the announcements on Squirrelfish correctly, they are trying to inline small calls. So that a call to emptyFunction would become a noop. On 24 Dez. 2008, 21:35, npepinpe n.pepi...@gmail.com wrote: The Prototype.emptyFunction is just a dummy

[Proto-Scripty] Ajax.Updater doesn't work correctly in IE6

2009-01-04 Thread Vinny Carpenter
Hi there. I have an application that uses Ajax.Updater to render some data inside a div based on user input - This is fairly vanilla app using Prototype 1.6.0.3 and the code of my simple page is listed here: http://gist.github.com/42983 Now this Ajax.Updater call works correctly in IE 7, IE8

[Proto-Scripty] Re: Calling other website server url

2009-01-04 Thread Ryan Gahl
If the page/service you're trying to consume will only take POST requests, you can make the Ajax call to _your_ server which then creates a proxy Http call to the endpoint with the appropriate headers and whatnot. Most server languages support this via some sort of HttpClient class. I'm assuming

[Proto-Scripty] window.createPopup() and permission denied

2009-01-04 Thread Bill in Kansas City
I've got a web application written in classic ASP that uses the window.createPopup() method for context menus. When a menu item is selected, the onClick for the item is parent.myFunction(). Note: this is all one page: I'm not scripting across frames, iframes, domains, anything; all one page, all

[Proto-Scripty] Sortable tree

2009-01-04 Thread Niko
Ok, I am really not the biggest JS guru on the planet. Consider me a newbie on SU and javascript. So, alright, here is the big plan: I have my small to do list and I want to be able to drag around items in the list. tasks can have subtasks and that should be the end of the line. no sub sub

[Proto-Scripty] Re: Event.observer with mouseup?

2009-01-04 Thread kangax
On Jan 4, 10:21 am, Joe Athman jjath...@gmail.com wrote: Another alternative is to use Prototype's Curry function which let's you create new functions with default arguments. So you could write: Event.observe(window, 'mouseup', alert.curry('hi')); `alert.curry(hi)` won't work in IE, where

[Proto-Scripty] Re: Custom attributes or not custom attributes ?

2009-01-04 Thread RobG
On Dec 31 2008, 12:05 am, buda www...@pochta.ru wrote: But to store metadata in objects - is doing overjob - elements might be added or deleted or changed their style or state - and syncronyze elmenets state with their object mappers - is very hard and useless It's not hard at all, and