Page 1 of 1

Problem with window.addEvent - Function and phoca download

Posted: 04 Oct 2010, 16:08
by Darkscorpion15
Hello Jan,

first, thank you for creating these extension. It's good :)

But i have there a little Problem about the window.addEvent('domready', function()

on my page, there's a image menu that needs the function to show a "sliding effect".
These function is inlcuded in the template/index.php of my page.

Normaly it works. But if i open the phoca download component where the sections are listed, my menu dont work.
But if i go to only one category of phoca download, the menu works.

Could it be, that you use some specified version of window.addEvent('domready', function() ?

I tested both components alone (working)
I looked trough all phoca files to find something with js or window.onLoad / window.addEvent (fail) ^^

Please help me :?:


edit: The site is in a offline test system. So i cant give you a link, i'm sorry :/
(a fresh installed joomla with phoca download and image Menu component)

Re: Problem with window.addEvent - Function and phoca downlo

Posted: 04 Oct 2010, 18:29
by Jan
Hi, in sections view, there should not be any such code loaded by Phoca Downoload (I don't know it :idea: )

Re: Problem with window.addEvent - Function and phoca downlo

Posted: 06 Oct 2010, 11:15
by Darkscorpion15
First, thank you for your quick answer :)

I dont know where's the problem at the code. So i now had included a alternative version of the "onload" event.
Simply in the body with onload='<js-call>' . Now it works fine. It's not the best solution, but it's the simply one :D

Re: Problem with window.addEvent - Function and phoca downlo

Posted: 11 Oct 2010, 13:52
by Jan
Ok