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

2009-09-22 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: 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_contentview=categorylayout=blogid=8Itemid=14lang=en and this is the code. function listas(){ $$('div.texto').each(function(s) { Event.observe(s, 'mouseover',

[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, div class=lista_izq ul lidiv class=texttext1/div div class=hidden_texthidden1/div /li lidiv class=texttext2/div div class=hidden_texthidden2/div /li /ul /div div class=lista_dernbsp/div I want display my

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

2009-09-21 Thread Juan Diego
.innerHTML= ; e2.setStyle({ backgroundColor: '#000', opacity: 0.0 }); } On Sep 21, 3:59 am, Juan Diego juandieg...@gmail.com wrote: I dont want the LI elements.  Here is how it is setup, div class=lista_izq ul     lidiv class=texttext1/div

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

2009-09-21 Thread Juan Diego
...@9ballpool.co.uk wrote: 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

[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 k...@9ballpool.co.uk wrote: Sorry, I didn't try your page, I was just using the test page I built to test your code. You're right

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

2009-09-17 Thread Juan Diego
works in opera, konqueror, safari, firefox. Thanks On Sep 17, 12:36 am, Juan Diego juandieg...@gmail.com wrote: By the way i just found out that var lista_izq=$$('div.lista_izq')[i].childElements()[0].childElements (); is the problem in IE explorer. In opera works but in IE8 is a problem On Sep

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

2009-09-17 Thread Juan Diego
[1] instead of [2] to reference the second element of the LI. (it's a zero-indexed array). regards, - Kev Juan Diego wrote: Ok, so I cleaned up my code.  I used each instead of a For loop, so now it works in every Browser except IE8. I havent tested it in other versions of IE

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

2009-09-16 Thread Juan Diego
Hi I havent use javascript and prototype in a while so maybe i am doing something really wrong. So here is what I am trying to do with prototype I have a a few places in my page with a set of to divs divs, lista_izq and lista_der, with a list inside list_izq div class=lista_izq ul lidiv

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

2009-09-16 Thread Juan Diego
By the way i just found out that var lista_izq=$$('div.lista_izq')[i].childElements()[0].childElements (); is the problem in IE explorer. In opera works but in IE8 is a problem On Sep 17, 12:19 am, Juan Diego juandieg...@gmail.com wrote: Hi I havent use javascript and prototype in a while so

[Proto-Scripty] writing unintrusive javascript with prototype

2008-10-13 Thread Juan Diego
Hi, in the last months i have been using the prototype framework. But at some points i havent been able to write unintrusive code(separating javascript from the pages). Here is an example of what i am trying to do. Example: javascript function onBlurObject(){ var url =