[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Juan Diego
Ok so i find out the source of the problem, not a solution yet, but i know what is the problem. The flash module in my joomla page has this mootools.js library that for some reasons in IE8 conflicts or creates that problem, i am going to try some work around. Juan Diego On Sep 21, 7:04 am, "T.J

[Proto-Scripty] Re: Ajax.Updater request in IE changes header attribute "Accept"

2009-09-21 Thread david
Hi John, it sound like a modified option in IE or register ? but you'll have more chance on a microsoft support forum. -- david On 18 sep, 21:55, John Shen wrote: > I struggling with this one for more than a day now.  Need help! > > I am working on a rails project, in which I submit the followi

[Proto-Scripty] Re: .setStyle does not consistently work

2009-09-21 Thread david
Hi Ali, This is a common mistake with scriptaculous, when launching an effect (mouseout or mouseover), you did not verify if there is the opposite effect in execution. So both effect will launch concurrently and it's fliker !! To see that this is the problem, wait some time to mouseover / mouseo

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Juan Diego
Hi T.J. I don like using tables, but joomla seems to put tables in the content. I dont know how to turn this off, but anyway there is tbody tag. Check the test page i published.at http://pts.raidenenergy.com/index.php?option=com_content&view=category&layout=blog&id=8&Itemid=14&lang=en . Thanks

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-21 Thread T.J. Crowder
Hi, It looks like DJ's read is that you actually want to use the *text* of the updated DOM for something, like copying it or similar. E.g., not a runtime thing, but a development thing. If that's true, Firefox +Firebug to the rescue, Firebug offers features to copy the HTML text it shows repres

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-21 Thread T.J. Crowder
Hi Kumar, > I dont want to just see the DOM source, but indeed want to > use. It was part of design to use it. With respect, please go back and re-read the relies above. The point that Walter and I and Bill are making is you *can* use the new elements; it's just "View Source" (the UI feature th

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-21 Thread DJ Mangus
Sounds like your situation is very out of the norm. Usually being able to manipulate the DOM via JS is sufficient except in debugging situations (in which case an extension is fine). Good luck figuring out something different to do. On Mon, Sep 21, 2009 at 9:57 AM, Kumar wrote: > > Thanks Bill

[Proto-Scripty] Re: Prototype Selector Speed

2009-09-21 Thread T.J. Crowder
> Ok I'm glad to hear that the selector speed will improve with the sizzle, > that's what Dojo uses too. Yes. There was a lot of cross-pollination going on and so Resig's idea was to take all of the best and brightest and get them all working with a common, high-quality engine. > Is there a rele

[Proto-Scripty] Re: Prototype (1.6.1) doesn't work with firefox 3 or 3.5!!

2009-09-21 Thread T.J. Crowder
Hi, > Prototype (1.6.1) doesn't work with firefox 3 or 3.5!! Not to put too fine a point on it, but ask yourself: How likely is that, *really*? > ...it throws a ton of errors (all innocuous like "toJSON does not > always return a value") and it won't run any other code! Look at your add-ons l

[Proto-Scripty] .setStyle does not consistently work

2009-09-21 Thread ali
I am having trouble with an animation, and I am hoping that someone can help me out. I have one box that triggers a mouseover event.observe event when you move your mouse over it. When this mouseover occurs, I want to have another box (which is absolutely positioned) "appear", while also moving

[Proto-Scripty] Re: Masked Input in Prototype

2009-09-21 Thread Sanjay
Thanks you very much. This was very useful. On Sep 20, 3:41 am, bjartekv wrote: > On Jul 29, 11:27 pm, "Alex McAuley" > wrote: > > > why not just port the jquery one... wont take long ! > > Sorry for resurrecting this topic after two months. > In case anyone comes to this thread looking for mas

[Proto-Scripty] Prototype (1.6.1) doesn't work with firefox 3 or 3.5!!

2009-09-21 Thread Don Rhummy
I'm trying to use the prototype framework (prototype.js) with firefox but it throws a ton of errors (all innocuous like "toJSON does not always return a value") and it won't run any other code! All I'm doing is: 1. Including the prototype.js file 2. alert( "some code was called" ); it never r

[Proto-Scripty] Re: Prototype ajax history

2009-09-21 Thread Matt Foster
You asked for it Mona, I've set you up as a contributor for the project http://code.google.com/p/agileajax/ On Sep 21, 1:39 pm, Mona Remlawi wrote: > thanks for sharing this! > i would love to contribute to this project if any help is needed .. let me > know > > cheers > > -- > mona > > On M

[Proto-Scripty] Re: Prototype Selector Speed

2009-09-21 Thread Andy Daykin
Ok I'm glad to hear that the selector speed will improve with the sizzle, that's what Dojo uses too. Dojo and JQuery always finished first/second in the slickspeed tests. Is there a release date planned for scripty2? How active is that project? -Andy --

[Proto-Scripty] Re: .select on a combo

2009-09-21 Thread Marko
Hi David, There is just one missing ) before the end }); but this code works for me in FF 3.5 with prototype version 1.6.1. I've made pastie version of it and changed from alert to console.log for Firebug. I've also made small function that returns selected option as I think it should be don

[Proto-Scripty] Re: .select on a combo

2009-09-21 Thread speedpac...@gmail.com
Hi Marko, This should do it, I believe: --- http://www.w3.org/ TR/html4/strict.dtd"> Test Page document.observe('dom:loaded', function() { // TODO: Delete this and the button below if you don't need them // for what you're tryin

[Proto-Scripty] Re: .select on a combo

2009-09-21 Thread Marko
Hi, Before you go totally crazy please create self-contained-test-page and I will return you working version. - Marko speedpac...@gmail.com wrote: > Hi again! > > Thanks for the feedback. It's very much appreciated! (what would we > a

[Proto-Scripty] Re: .select on a combo

2009-09-21 Thread speedpac...@gmail.com
Hi again! Thanks for the feedback. It's very much appreciated! (what would we all do without those around here giving their spare time to help others out... I hope one day I'll be able to help some people out on this fantastic list!) Nevertheless, I tried doing what you suggested, but I'm goin

[Proto-Scripty] Re: Prototype ajax history

2009-09-21 Thread Mona Remlawi
thanks for sharing this! i would love to contribute to this project if any help is needed .. let me know cheers -- mona On Mon, Sep 21, 2009 at 7:00 PM, Matt Foster wrote: > > Hey Everyone, > >  I've finished a project that handles the problems of browser history > when implementing ajax solut

[Proto-Scripty] Re: .select on a combo

2009-09-21 Thread Daniel Rubin
speedpac...@gmail.com wrote: > Hi Federico, > > > the readattroibute isn't giving the issues; that works fine, and the > alert does indeed return the expected value. > The line in the code no longer working is > > selectedItem = orderOptions.select('[value="' + orderOptions.getValue > () + '"]'

[Proto-Scripty] Prototype ajax history

2009-09-21 Thread Matt Foster
Hey Everyone, I've finished a project that handles the problems of browser history when implementing ajax solutions. It's built to integrate with prototype perfectly and borrows a lot of the same concepts. The idea is an event driven system where all XHRs go through a single 'service' object

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-21 Thread Kumar
Thanks Bill. I am already using IE Developer Toolbar with Internet Explorer. I dont want to just see the DOM source, but indeed want to use. It was part of design to use it. Thanks for your reponse though. Thanks On Sep 21, 11:38 am, bill wrote: > Kumar wrote: > > Hi Walter - > > > I completely

[Proto-Scripty] Re: .select on a combo

2009-09-21 Thread speedpac...@gmail.com
Hi, Does noboday know what I should do to have this fixed? I don't understand what is wrong with the code - if anything really... :( Once again thanks to all for your kind assistance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to th

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-21 Thread bill
Kumar wrote: > Hi Walter - > > I completely understood what you meant. I have a strange situation > here. My enitre design sits on top of the DOM for lateral processing. > As soon as the DOM gets updated, there will be sequence of java script > calls based on the elements generated on this DOM for

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-21 Thread Kumar
Hi Walter - I completely understood what you meant. I have a strange situation here. My enitre design sits on top of the DOM for lateral processing. As soon as the DOM gets updated, there will be sequence of java script calls based on the elements generated on this DOM for form processing. After

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-21 Thread Walter Lee Davis
There's a fundamental difference between the source code and the current state of the DOM. The former is fixed at the time that your server sends it. And once that source is sent to the browser, the browser interprets it and generates the DOM, which it uses to create the on-screen display

[Proto-Scripty] Re: Dynamic test after ajax call

2009-09-21 Thread Kumar
Hi Tj - Thanks for the prompt response. It really amazed me, when I heard that I can see source code of the original document and not the later things that got updated through the Ajax updater. We have this dependency where we need to make series of Java script calls based on the dynamic response

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread T.J. Crowder
Hi Juan, I've only skimmed this, so apologies if this comment is completely off- base, but you mentioned tables in there somewhere although I don't see any tables in the HTML snippets. Do all of your tables have the appropriate TBODY elements in them? I can see that being a difference between b

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Juan Diego
Damn IE. Ok thanks. I am going to take away elements from the page where is the conflict. Thanks for your time. Juan Diego On Sep 21, 4:49 am, Kevin Porter wrote: > Sorry, I didn't try your page, I was just using the test page I built to > test your code. > > You're right, IE8 gives an error

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Kevin Porter
Sorry, I didn't try your page, I was just using the test page I built to test your code. You're right, IE8 gives an error on your page. It's complaining about this line: var e2 = element.up().up().up().next(); You'll just have to debug - please find out exaclty what you get for element.up(),

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Juan Diego
It is still not working. I am going to try in another machine. I get this error because the browser is in spanish. El objeto no acepta esta propiedad o metodo. Which means the object does not accept this property or method in the lines 15 and 28. On Sep 21, 4:23 am, Kevin Porter wrote: > It w

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Kevin Porter
It works for me in IE8! Kill IE8, re-open it and try again. If it still doesn't work, what error are you getting? regards, - Kev Juan Diego wrote: > I cleaned up a little my code it still doesnt work in IE8 > > this is the code > function reemplazarX(){ > var element = this; > //v

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Juan Diego
I cleaned up a little my code it still doesnt work in IE8 this is the code function reemplazarX(){ var element = this; //var e2 =element.getOffsetParent(); var e2 =element.up().up().up().next(); //alert(e2); e2.setStyle({ backgroundColor: '#

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Juan Diego
I dont want the LI elements. Here is how it is setup, text1 hidden1 text2 hidden2   I want display my message in lista_der. So that is why i use all those up(), i guess I can use 4 up and one next. On Sep 21, 3:50 am, Kevin Porter wrote: > First things

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Kevin Porter
First things first - you've got four up()s in a row, which is likely to return you the document or window object. If you want the LI element you only need one up() from the div. regards, - Kev Juan Diego wrote: > I used up() and didnt work, it is the same error. > Here is the test page > htt

[Proto-Scripty] Re: Events not working as expected in opera, ie or any other browser except firefox

2009-09-21 Thread Juan Diego
I used up() and didnt work, it is the same error. Here is the test page http://pts.raidenenergy.com/index.php?option=com_content&view=category&layout=blog&id=8&Itemid=14&lang=en and this is the code. function listas(){ $$('div.texto').each(function(s) { Event.observe(s, 'mouseover', reem

[Proto-Scripty] Re: "space dust" particles flying like fireflies?

2009-09-21 Thread Richard Quadling
2009/9/21 zion : > > Hi, > > I just found this amazing looking technique that utilizes jquery > library to produce this kind of effect: > http://cliframework.com/ > > The technique is explained here: > http://net.tutsplus.com/articles/news/the-firefly-effect-the-new-plus-tutorial/ > Unforutnately

[Proto-Scripty] Re: Prototype Selector Speed

2009-09-21 Thread Jarkko Laine
On 21.9.2009, at 11.04, T.J. Crowder wrote: > > Hi, > >> Is there any plans in the future to improve on prototype's speed? > > Yes. The core team are working on integrating the Sizzle selector > engine[1] (which is what the latest version of jQuery uses). (This is > more of a challenge than it

[Proto-Scripty] Re: Prototype Selector Speed

2009-09-21 Thread T.J. Crowder
Hi, > Is there any plans in the future to improve on prototype's speed? Yes. The core team are working on integrating the Sizzle selector engine[1] (which is what the latest version of jQuery uses). (This is more of a challenge than it sounds; switching selector engines touches a lot of things

[Proto-Scripty] "space dust" particles flying like fireflies?

2009-09-21 Thread zion
Hi, I just found this amazing looking technique that utilizes jquery library to produce this kind of effect: http://cliframework.com/ The technique is explained here: http://net.tutsplus.com/articles/news/the-firefly-effect-the-new-plus-tutorial/ Unforutnately the whole tutorial can be accessed