Problem with window.addEvent - Function and phoca download

Phoca Download - download manager
Darkscorpion15
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Oct 2010, 15:39

Problem with window.addEvent - Function and phoca download

Post 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)
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Hi, in sections view, there should not be any such code loaded by Phoca Downoload (I don't know it :idea: )
If you find Phoca extensions useful, please support the project
Darkscorpion15
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Oct 2010, 15:39

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

Post 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
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49144
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

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

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply