[Proto-Scripty] Prevent element from flickering on hovering

2009-05-15 Thread Maarten
Hello, At http://remcobohle.mwierda.blackpearl.minus3.nl/flickering.html I'm trying to accomplish the following. I have a list of images positioned next to each other using a table. Each image has a caption, using a DIV element, that I want to display only when the user hovers over the image.

[Proto-Scripty] Re: AJAX exception handling

2009-05-15 Thread T.J. Crowder
Hi, Please explain why it should not propagate exceptions normally... I don't see any point in continuing this. You feel quite strongly about this and I'm unlikely to change your mind. I feel less strongly about it, but you're not likely to change my mind either -- not that it matters either

[Proto-Scripty] Changing href in onclick function

2009-05-15 Thread marioosh
I have a id=ph href=#. I want to do that (sorry for my poor english): When user click ph, i need to set href to some usable address (by sending request Ajax.Request) and fire onclick once again. I've done like below, but not works good :/ Please help... how to do this better ?

[Proto-Scripty] Re: Prevent element from flickering on hovering

2009-05-15 Thread T.J. Crowder
Hi Maarten, 1.6.1 provides emulation of IE's mouseenter and mouseleave events for all browsers, so if you can use 1.6.1, you can use that new stuff. If you can't use 1.6.1 yet, you can look into the source of it to see how they're doing it. (It's pretty straightforward.) 1.6.1 info:

[Proto-Scripty] Custom JS breaking in IE6,7 - Tips on debugging?

2009-05-15 Thread Ram
Hi all, I just got around to testing my Rails application in IE6 and 7 and I discovered that my custom Javascripts (written in Prototype) dont work and seem to break the HTML and CSS in the page too. Any tips or resources that I can read up to make my JS IE compatible? Your experiences and

[Proto-Scripty] Re: Adding a input box

2009-05-15 Thread ColinFine
On May 14, 3:54 pm, mahen chiku.4...@gmail.com wrote: Hi all thanks  for replying.. no this is the correct value i am giving this by my own. well ya i tried the above solutions by direct inserting the input tag as Html but still its not working in Mozilla. Well my designer

[Proto-Scripty] Re: InPlaceEditor does not show up in place?

2009-05-15 Thread ColinFine
On May 14, 9:13 pm, Rob r_rec...@hotmail.com wrote: I'm new to script.aculo.us and trying to use the InPlaceEditor to edit a string on the same line as some HTML.   When I click on the text controled by the Ajax.InPlaceEditor() call it always displays the input control on the next line.  Is

[Proto-Scripty] Re: Prevent element from flickering on hovering

2009-05-15 Thread Maarten
On 15 mei, 11:20, T.J. Crowder t...@crowdersoftware.com wrote: 1.6.1 provides emulation of IE's mouseenter and mouseleave events for all browsers, so if you can use 1.6.1, you can use that new stuff.  If you can't use 1.6.1 yet, you can look into the source of it to see how they're doing it.

[Proto-Scripty] Re: clonePosition

2009-05-15 Thread Alaa
Thank u for reply, But I did not use this word in my code!!! On May 14, 3:13 pm, Marslander yazev...@gmail.com wrote: That is because you call Prototype method 'this.clonePosition' by clicking your button. In this case 'this' - is the button itself (extended element). You need to rename your

[Proto-Scripty] toColorPart

2009-05-15 Thread Alaa
Hi, I am trying to use toColorPart function, but (10).toColorPart() it works s=10; (s).toColorPart()// Doesnot work !!! Help please --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] Re: Custom JS breaking in IE6,7 - Tips on debugging?

2009-05-15 Thread Ram
This is the smallest piece of custom JS thats NOT working. Is the method of DOM reference im using wrong? Im using the this.up and this.down methods all over my custom JS. Ruby/Rails code h4Filter Tickets/h4 pFilter tickets by status./p form id='filter' class='filter'

[Proto-Scripty] Re: toColorPart

2009-05-15 Thread Tobie Langel
try: var s = 10; s.toColorPart(); On May 15, 1:39 pm, Alaa ala...@gmail.com wrote: Hi, I am trying to use toColorPart function, but (10).toColorPart()   it works s=10; (s).toColorPart()//  Doesnot work !!! Help please --~--~-~--~~~---~--~~ You

[Proto-Scripty] Re: Queing effects

2009-05-15 Thread Diodeus
Take a look here too: http://proto-scripty.wikidot.com/scripty:how-to-timing-and-sequencing-animations On May 13, 1:27 pm, Jeztah webmas...@thecarmarketplace.com wrote: Evening guys, Does anyone know if i can queue effects in scriptaculous... Basically what i want to do is... On document

[Proto-Scripty] Re: AJAX exception handling

2009-05-15 Thread Glenn Maynard
On Fri, May 15, 2009 at 4:47 AM, T.J. Crowder t...@crowdersoftware.com wrote: I don't see any point in continuing this.  You feel quite strongly about this and I'm unlikely to change your mind.  I feel less strongly about it, but you're not likely to change my mind either -- not that it

[Proto-Scripty] Re: Custom JS breaking in IE6,7 - Tips on debugging?

2009-05-15 Thread Ram
Thanks a lot for both your replies! Tobie, your suggestion dint work. Thanks though. Vladimir's did. I have one page thats simply loaded with custom JS. There a lot of text fields in it which have a JS hook simliar to onchange=autofill_record(this) . And these custom JS functions use a lot of

[Proto-Scripty] Re: Custom JS breaking in IE6,7 - Tips on debugging?

2009-05-15 Thread Ram
A sample of the kind of calculation code im using function calculate_average( element ) { s = element.down('.science').value || 0; m = element.down('.math').value || 0; a = (parseFloat(s) + parseFloat(m)) / 2; return parseFloat(a); } function calculate_all() { total = 0;