[Proto-Scripty] Re: passthrough of script-Tags

2009-03-05 Thread majestixx
Hi, I got it now running with element.innerHTML instead of element.update. Seems that when set by innerHTML the scripts are fortunately not executed and then stripped out. $(element).innerHTML = transport.responseText; Hope thats also the solution to your problem. On 4 Mrz., 22:05, erling

[Proto-Scripty] Re: writeAttribute problem

2009-03-05 Thread Tobie Langel
Rob, Please have a look at the DOM specs. The only area where you should not be using writeAttribute is: - When you want to store anything but a string (use the new storage API or expandos directly). - For setting or getting the value attribute of Form elements (use FormElement#(get|set)Value

[Proto-Scripty] Internet Explorer 7 8

2009-03-05 Thread Jeztah
Hi guys, kind of proto/scriptac related .. I have some strange behaviour in my internet explorer ... Everytime i try to select from a select box, the select box wont open, instead it gives me a Popup was blocked Error .. THe select box is not dynamic, it has no events bound to it or

[Proto-Scripty] Re: How to resize window without screen flickering

2009-03-05 Thread david
Hi Mel, Could we have an online exemple ?? because just reading the code, What you does seems good !! -- david On 25 fév, 16:16, Mel melindasa...@texashealth.org wrote: I have a JSP page whereby I am displaying a table that contains rows of each data record.  Each record has an icon at the

[Proto-Scripty] Re: positionedOffset with floated elements

2009-03-05 Thread david
Hi Knad, I would probably use the afterUpdateElement callback of the autocompleter to modify the autocompleter DIV poisition. In fact, it just need to reset the left value. -- david On 25 fév, 16:59, Knad kna...@gmail.com wrote: Hello All! I am struggling to get this autocomplete div

[Proto-Scripty] Re: Drag and Drop with conditional revert

2009-03-05 Thread david
Hi ColinFine, I think that the method that will hide the element during request is as you say BAD :(( I will do another way: - if dropsite is good, just lauch AJAX request, but before set a spinner inside, near, where you want to indicate that actually the apply is processing something. - If

[Proto-Scripty] Re: Internet Explorer 7 8

2009-03-05 Thread zero
Ye i also got that problem, dunno how to fix it. I got it because i got IE6 and IE7 on the same computer (http:// tredosoft.com/IE7_standalone) On 5 Mar, 12:36, Jeztah webmas...@thecarmarketplace.com wrote: Hi guys, kind of proto/scriptac related .. I have some strange behaviour in my

[Proto-Scripty] Re: clonePosition - problem in IE and Opera

2009-03-05 Thread zero
is it a prototype bug? Does it have some bug ticket? On 2 Mar, 12:50, zero zero.zero1...@gmail.com wrote: This code works in firefox 2, firefox3 and chrome but in  in opera, ie6, ie7 olive div appear in wrong place when u scroll list. In ie it goes up and in opera down. Why, any solution?.

[Proto-Scripty] Re: Having an issue with bubbling of a SELECT's onChange event in IE.

2009-03-05 Thread david
Hi Richard, not tested, just thought: does it works with DOM0 event ?? -- david On 26 fév, 16:22, Richard Quadling rquadl...@googlemail.com wrote: Hi. Below is a simple example of the problem I'm having. In FF and Chrome, the change event is bubbled to the dynamicContainer. In IE it

[Proto-Scripty] Re: On Licensing for a Calculator Generator

2009-03-05 Thread david
Hi, I did not think there is any conflict with the MIT license, until you respect the term of MIT license :)) -- david On 26 fév, 17:49, Eman Calso egca...@gmail.com wrote: I'm developing a calculator generator[1] using prototype and i'm wondering if i can release this under the GNU GPL

[Proto-Scripty] Re: writeAttribute problem

2009-03-05 Thread Lee Jenkins
Tobie Langel wrote: Rob, Please have a look at the DOM specs. The only area where you should not be using writeAttribute is: - When you want to store anything but a string (use the new storage API or expandos directly). - For setting or getting the value attribute of Form elements

[Proto-Scripty] Re: writeAttribute problem

2009-03-05 Thread Quleczka
Hi, That may have well been the case.  I was trying to use writeAttribute with a Text Input.  I assumed that it would work and apparent does in IE7. I'm curious, which attribute were you trying to set - just a value of this input field? - For setting or getting the value attribute of Form

[Proto-Scripty] Re: Having an issue with bubbling of a SELECT's onChange event in IE.

2009-03-05 Thread Richard Quadling
2009/3/5 david david.brill...@gmail.com: Hi Richard, not tested, just thought: does it works with DOM0 event ?? -- david On 26 fév, 16:22, Richard Quadling rquadl...@googlemail.com wrote: Hi. Below is a simple example of the problem I'm having. In FF and Chrome, the change event is

[Proto-Scripty] DOM and drag and drop

2009-03-05 Thread janrmr
hi to all expert How can i drag an item when using DOM , so far I am receiving an error in prototype.js line 1903 element is null here is my simple code script type=text/javascript src=javascript/prototype.js/script script type=text/javascript

[Proto-Scripty] Slide Down/Slide Up w/Overlay

2009-03-05 Thread Avram
My group is an interaction design team, not a team of developers, so we don’t know much javascript. We’ve been looking at Blind Down/Blind Up and Slide Down/Slide Up, but these don’t do exactly what we are looking for. Is there a slide down script that will overlay, not push down, the content

[Proto-Scripty] [Ajax.Autocomplete] Position of div with suggests

2009-03-05 Thread Mr. Snoot
Hi, I've tried Ajax.Autocomplete and it works fine in Firefox 3 and Opera 9. Unfortunately it doesn't in IE6, 7, 8. In IE8 the div with the suggested words from the database is placed not correct. In FF/Opera the div is directly shown below the input field but in IE8 it's about 100 px above and

[Proto-Scripty] Re: General Questions

2009-03-05 Thread zero
bottom of page just before /body tag script type=text/javascript src=http://ajax.googleapis.com/ajax/ libs/prototype/1.6.0.3/prototype.js/script script type=text/javascript Event.observe(window, 'load', function() { }); /script /body On 5 Mar, 16:01, Lee Jenkins l...@datatrakpos.com wrote: Hi

[Proto-Scripty] Problem with Effect.SlideDown on MSIE6

2009-03-05 Thread Julien
Dear all, I've been trying a lot of things but I can't get it work. I use Effect.SlideDown on a page but it won't work, even with another div inside my main div: http://tinyurl.com/d5n2l2 Click on the + button on the bottom right thumbnail or call the addLine() function. It works perfectly in

[Proto-Scripty] Decimal places

2009-03-05 Thread Bob
I'm relativley new to PrototypeJS. I am doing some calculation in a back end program and returning a JSON string to my web page. One of the values is a price. If I return 14.20, it gets converted in evalJSON to 14.2. I want to keep both digits. I can find how to pad the left of a nmber to a

[Proto-Scripty] Passing value sub pseudo function

2009-03-05 Thread DasJan
Hi! I have the following code: var LightIt = { timeout : null, highLight : function(elementId){ clearTimeout(this.timeout); var allpics = 50; for (var i=0; i allpics; i++) { var currentElement = 'pic' + i; var

[Proto-Scripty] Fade In and Fade Off

2009-03-05 Thread Akshit Soota
I need the exact code with script includes where a div fades in and off !! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to

[Proto-Scripty] Re: Decimal places

2009-03-05 Thread Matt Zagrabelny
On Wed, 2009-03-04 at 13:50 -0800, Bob wrote: I'm relativley new to PrototypeJS. I am doing some calculation in a back end program and returning a JSON string to my web page. One of the values is a price. If I return 14.20, it gets converted in evalJSON to 14.2. I want to keep both digits. I

[Proto-Scripty] Re: Having an issue with bubbling of a SELECT's onChange event in IE.

2009-03-05 Thread Walter Lee Davis
On Mar 5, 2009, at 9:44 AM, Richard Quadling wrote: 2009/3/5 david david.brill...@gmail.com: Hi Richard, not tested, just thought: does it works with DOM0 event ?? -- [snip] Sorry for being such a newbie, but can you explain that? -- - I think he means if you use an inline

[Proto-Scripty] Re: Passing value sub pseudo function

2009-03-05 Thread T.J. Crowder
Hi, The question is, how can I pass the currentElement value to that pseudo function? It's not a psuedo-function, it's a function. It's anonymous, but other than that it's exactly the same as any other function. I'm not saying that to be pedantic. Getting a deep understanding JavaScript

[Proto-Scripty] Re: Fade In and Fade Off

2009-03-05 Thread zero
just look at example http://wiki.github.com/madrobby/scriptaculous/effect-fade On 5 Mar, 13:52, Akshit Soota a.so...@gmail.com wrote: I need the exact code with script includes where a div fades in and off !! --~--~-~--~~~---~--~~ You received this message

[Proto-Scripty] Re: Slide Down/Slide Up w/Overlay

2009-03-05 Thread zero
do u know css? just add position:absolute or position:relative to overlay div. left and top attributes to set where u want overlay. On 4 Mar, 05:41, Avram abas...@mitre.org wrote: My group is an interaction design team, not a team of developers, so we don’t know much javascript. We’ve been

[Proto-Scripty] Re: General Questions

2009-03-05 Thread Quleczka
script type=text/javascript src=http://ajax.googleapis.com/ajax/ libs/prototype/1.6.0.3/prototype.js/script script type=text/javascript Event.observe(window, 'load', function() { }); /script /body Why? Why not include prototype and other things in the head section of the page? If you

[Proto-Scripty] Re: Decimal places

2009-03-05 Thread T.J. Crowder
Hi, If you're passing it as a numeric literal, e.g.: { price: 14.20 } ...what you're dealing with is a number, which you'll later *render* as a string for display. All JavaScript numbers have the same precision, which I'm not quite geeky enough to quote you. ;-) You'll need to handle

[Proto-Scripty] Processing Ajax.updater response before updating container

2009-03-05 Thread Steakfest
I just started using prototype and scriptalicous yesterday. I was able to get an Ajax update call working with very little effort. Thanks to the community for such great documentation. In my framework, sometimes there is debugging information dumped at the bottom of the page. I would like to

[Proto-Scripty] $$ failing in FF3.1b3

2009-03-05 Thread Jim Higson
Hi, Is anybody else finding this? Does Prototype from git work with FF3.1? Thanks, Jim -- Jim my wiki ajaxification thing: http://wikizzle.org my blog: http://jimhigson.blogspot.com/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[Proto-Scripty] Re: Position of div with suggests

2009-03-05 Thread Quleczka
Is it possible, to manually set the div's position? I had another autocomplete script before, where I could playce the div via stylesheets and it worked perfect in every browser. Now in scriptaculous' autocomplete script no settings related to the div's width or position are working. What

[Proto-Scripty] Re: Processing Ajax.updater response before updating container

2009-03-05 Thread Quleczka
In my framework, sometimes there is debugging information dumped at the bottom of the page. I would like to know what the easiest way to scrub that debug output would be with prototype.  My framework outputs a very unique string before the debug output. So, a simple substring-before would do

[Proto-Scripty] Re: observe select changes from javascript

2009-03-05 Thread ColinFine
On Mar 4, 4:14 pm, Matt Zagrabelny mzagr...@d.umn.edu wrote: Greetings, I am trying to observe a select element's value changing when its value changes programmatically. The observation works when a human changes the select's value, but not when the javascript changes it. I know that I

[Proto-Scripty] Re: Drag and Drop with conditional revert

2009-03-05 Thread ColinFine
On Mar 5, 12:30 pm, david david.brill...@gmail.com wrote: Hi ColinFine, Thanks for replying. I think that the method that will hide the element during request is as you say BAD :(( Yes I will do another way: - if dropsite is good, just lauch AJAX request, but before set a spinner

[Proto-Scripty] Array.without() problem

2009-03-05 Thread webbear1000
Hey peeps! I'm sure I'm missing something obvious here but I can't for the life of me figure out what's going wrong. I'm trying to use Array.without() to get rid of a number from an array in the fourth line of my code. The trouble is, it returns an array with all instances of the index set to

[Proto-Scripty] Re: $$ failing in FF3.1b3

2009-03-05 Thread Jim Higson
On Thursday 05 March 2009 16:16:05 Jim Higson wrote: Hi, Is anybody else finding this? Does Prototype from git work with FF3.1? On closer inspection, it is quite easy to get Prototype to throw similar errors even in FF3. It just happens that my present code only provokes it in 3.1. For

[Proto-Scripty] Effect Problems

2009-03-05 Thread John McGowan
As I said in my last post, I'm brand new to Proto and Scripty. I apologize a head of time for this newbie question. I was just testing out a simple little page that uses Ajax.Updater to get new content and drop it into a div. It works just fine, over and over again, without trouble. However,

[Proto-Scripty] Re: writeAttribute problem

2009-03-05 Thread Lee Jenkins
Quleczka wrote: Hi, That may have well been the case. I was trying to use writeAttribute with a Text Input. I assumed that it would work and apparent does in IE7. I'm curious, which attribute were you trying to set - just a value of this input field? - For setting or getting the

[Proto-Scripty] Re: General Questions

2009-03-05 Thread Lee Jenkins
Quleczka wrote: script type=text/javascript src=http://ajax.googleapis.com/ajax/ libs/prototype/1.6.0.3/prototype.js/script script type=text/javascript Event.observe(window, 'load', function() { }); /script /body Why? Why not include prototype and other things in the head section

[Proto-Scripty] Re: writeAttribute problem

2009-03-05 Thread Quleczka
It's ok, I can use the method you mentioned above for Form Elements and the generic version for others. I think $(a).attribute=value; works for both types... but I'm not the expert ;) Good luck :) Quleczka --~--~-~--~~~---~--~~ You received this message

[Proto-Scripty] Re: $$ failing in FF3.1b3

2009-03-05 Thread Tobie Langel
Hi, Extending Object.prototype is regarded as a Bad Thing[1]. The main reason being that cross-browser support for hasOwnProperty is fairly recent (Safari 2 doesn't have it for example). Best, Tobie [1] http://erik.eae.net/archives/2005/06/06/22.13.54/ On Mar 5, 6:34 pm, Jim Higson

[Proto-Scripty] Re: writeAttribute problem

2009-03-05 Thread RobG
On Mar 5, 6:53 pm, Tobie Langel tobie.lan...@gmail.com wrote: Rob, Please have a look at the DOM specs. I have, the issue is how it's implemented. When the specs are written without ambiguity and all browsers follow them, it might be reasonable to use them as the sole criterion for doing

[Proto-Scripty] Re: Decimal places

2009-03-05 Thread RobG
On Mar 5, 7:50 am, Bob bro...@packagingcorp.com wrote: I'm relativley new to PrototypeJS. I  am doing some calculation in a back end program and returning a JSON string to my web page. One of the values is a price. If I return 14.20, it gets converted in evalJSON to 14.2. I want to keep