[Proto-Scripty] Re: accessing to fields in class method

2009-02-06 Thread T.J. Crowder
Hi, You need to bind your onSuccess function to 'this', more here: http://proto-scripty.wikidot.com/prototype:tip-using-an-instance-method-as-a-callback-or-event-handler http://blog.niftysnippets.org/2008/04/you-must-remember-this.html

[Proto-Scripty] Prototype.js / jQuery conflict

2009-02-06 Thread dizzyjay
Is there a way to resolve this conflict within prototype? My portal uses jQuery and I'm the only developer with a preference of prototype.js. I've tried the jQuery.noConflict() with no luck. I don't want to abandon my prototype.js skillset for jQuery but it's looking like I'm the one that

[Proto-Scripty] img attribute onmouseover doesn't work in IE after appeding the new image tak

2009-02-06 Thread manfred . knops
Hello mail list user, I hope you can help me one more time. A part of the website www.gerrits-worlddecor.de/neu/handcraft.php# is the table on the right side. This table contains some images. One attribute of this images is onmouseover=item ... As default you will see images of the product line

[Proto-Scripty] Re: accessing to fields in class method

2009-02-06 Thread marioosh
On 6 Lut, 12:09, T.J. Crowder t...@crowdersoftware.com wrote: You need to bind your onSuccess function to 'this', more here: Thanks very much :) i did it and works good --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[Proto-Scripty] Re: validation for alphanumeric field/sequence

2009-02-06 Thread kangax
On Feb 6, 7:36 am, ColinFine colin.f...@pace.com wrote: On Feb 5, 9:29 pm, Michael mich...@vermontsnows.com wrote: Thank you all - Kangax's low profile technique works like a champ. Walter Lee: Regular expressions hurt my head. I will get there one day. The actual thing I am working on

[Proto-Scripty] Re: Simple slideup/slidedown effect won't work

2009-02-06 Thread almeidap
I tested and adapted (removed XHTML references, used paragraphs instead of line breaks and inserted another div into the #closeme element as suggested by the docs, see http://wiki.github.com/madrobby/scriptaculous/effect-slidedown) your script and it really seems that scriptaculous does not

[Proto-Scripty] Re: Browser and PDF file in a iFrame interaction

2009-02-06 Thread disccomp
It looks like your on your way to a solution. It's one thing to post technical questions, your first post was great. You'll probably see this again GIYF(Google is your friend) Try experimenting with events. (Event.observe) Before asking for code, Ask yourself, Am I a help vampire?

[Proto-Scripty] too much recursion: prototype-1.6.0.3

2009-02-06 Thread donal1976
The code below generates a too much recursion message in Firebug. What am I doing wrong? html head titletest page/title script type=text/javascript src=prototype-1.6.0.3.js/ script script type=text/javascript window.onload = function(){

[Proto-Scripty] accessing to fields in class method

2009-02-06 Thread marioosh
I have Channel class with element field, but i don't know how in Ajax.Updater get to this field. Is this possible without passing another parameters to method updateById ? var Channel = Class.create({ initialize: function(element) { this.element = $(element); }, updateById: function

[Proto-Scripty] draggables revert option don't behave correctly

2009-02-06 Thread irek s
I have got problem with droppables and draggables elements: When I drag draggables object over droppables I display an alert and if someone choose [ok] then the draggables is put correctly into droppables object and this is fine, but when someone choose [close] then draggables element stays in

[Proto-Scripty] Re: Browser and PDF file in a iFrame interaction

2009-02-06 Thread david
Hi subhro, you can try this kind of code. First file, the main HTML page: !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http:// www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd html head title iframe loaded verification /title script src=prototype.js

[Proto-Scripty] Re: img attribute onmouseover doesn't work in IE after appeding the new image tak

2009-02-06 Thread david
Hi Manfred, do you have change some things ?? because it works in IE6 !! btw, some remarks: - first, all you image in the table have the same id, that's not a good idea (and you create a specific imgId and does not use it !) - idem for the td !! - The menu should be move up because it overlay

[Proto-Scripty] Re: draggables revert option don't behave correctly

2009-02-06 Thread david
Hi irek s, I don't think this can work, because alert is very obtrusive and break the code. To click on the alert button, you should leave the droppable, and the event is still send == alert only affect the portion of code that is IN execution. Another way to do this will be to move the

[Proto-Scripty] Re: Prototype.js / jQuery conflict

2009-02-06 Thread david
Hi dizzyjay, the noConflict function works great, but the problem I think is that you rename the jquery object, so all other developper will have to change there scripts to no use anymore the $ function (by defaul $==jquery). some times ago, a protosafe library was developped, but it has

[Proto-Scripty] Re: Simple slideup/slidedown effect won't work

2009-02-06 Thread david
Hi Serpico, If you add the box class to the closeme, it works better, but that's not it. If you would have a better effect, just remove the p tag ! -- david On 6 fév, 16:15, almeidap almei...@gmail.com wrote: I tested and adapted (removed XHTML references, used paragraphs instead of line

[Proto-Scripty] Re: Prototype.js / jQuery conflict

2009-02-06 Thread Matt Foster
This is completely theoretical, and probably even more ludicrous as I think of it being plausible cross-browser... But in theory if you did something like this var A = function(){ alert(First definition);} A(); var A = function(){ alert(Second definition); }; A(); Would behave as such, so

[Proto-Scripty] Re: Prototype.js / jQuery conflict

2009-02-06 Thread dizzyjay
Not sure I quite understand the suggestion (please explain). If I end up revisiting the jquery code, I'll probably just use the jquery.noConflict() function and reassign the embedded jquery $() refernces to something different. Too bad I can't do the same with the prototype code; there's a lot

[Proto-Scripty] Re: Prototype.js / jQuery conflict

2009-02-06 Thread dizzyjay
Thanks- this looks like what I'll need to do. Hopefully the portal owner will be accepting of the change. Too bad prototype doesn't have the same conflict workaround (it would be much easier for me to change). cheers, \\dj On Feb 6, 11:22 am, david david.brill...@gmail.com wrote: Hi

[Proto-Scripty] sortable tree in rails

2009-02-06 Thread chienr
Hi, I'm a new member to this group, and would appreciate some help with using Sortable in Rails. How do I generate a sortable tree like this with RoR? http://script.aculo.us/playground/test/functional/sortable_tree_test.html Specifically, the ability to drag a section and its children to

[Proto-Scripty] Drag and Drop - odd annoyance

2009-02-06 Thread Offspring2099
http://www.tutorialspoint.com/cgi-bin/practice.cgi?file=scriptaculous_12 I can't figure out if I'm doing something wrong or this is the way Draggable is coded. If you look at the tutorial link and try to 'drag and drop' one item from the left into the div on the right. You will see that the

[Proto-Scripty] Re: validation for alphanumeric field/sequence

2009-02-06 Thread RobG
On Feb 7, 12:21 am, kangax kan...@gmail.com wrote: On Feb 6, 7:36 am, ColinFine colin.f...@pace.com wrote: On Feb 5, 9:29 pm, Michael mich...@vermontsnows.com wrote: Thank you all - Kangax's low profile technique works like a champ. Walter Lee: Regular expressions hurt my head. I

[Proto-Scripty] Re: sortable tree in rails

2009-02-06 Thread chienr
I figured out what I was doing wrong. I had the li/li tag around Section name. If I put the li/li tag around Section and its children, the children move along with the parent. On Feb 6, 12:06 pm, chienr chi...@gmail.com wrote: Hi, I'm a new member to this group, and would appreciate some

[Proto-Scripty] Re: using Ajax.Responders with multiple ajax requests

2009-02-06 Thread gilpster
Thank you for your help crowder. When i said It's as if the ajax.responders onComplete method isn't called. I meant that i really thought that it wasn't - i.e. just a turn of phrase. you're right the commented out loadPage request was only commented out because it wasn't working. I've changed