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
text1
hidden1
t
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 wrote:
> Hi I havent use javascript and prototype in a while so maybe
lem seems to be in this line var e2
=element.getOffsetParent();
With getOffsetParent function.
This code works in opera, konqueror, safari, firefox.
Thanks
On Sep 17, 12:36 am, Juan Diego wrote:
> By the way i just found out that
> var lista_izq=$$('div.lista_izq')[i].childElements()
t? If so, maybe .up() would be a better
> > choice than .getOffSetParent()?
> > Also, you probably want to use "[1]" instead of "[2]" to reference the
> > second element of the LI. (it's
> > a zero-indexed array).
>
> > regards,
>
> >
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
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
).next();
e2.innerHTML= "";
e2.setStyle({
backgroundColor: '#000',
opacity: 0.0
});
}
On Sep 21, 3:59 am, Juan Diego wrote:
> I dont want the LI elements. Here is how it is setup,
>
>
>
> text1
&g
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 th
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 rig
amp;lang=en
.
Thanks for the tips.
Juan Diego
On Sep 21, 7:04 am, "T.J. Crowder" wrote:
> 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 table
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
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 = "pag/newPage.php
12 matches
Mail list logo