Error in IE

Phoca Gallery - image gallery extension
kada
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Jun 2009, 21:09

Error in IE

Post by kada »

Hi Gurus,

i have read the post according to the internet explorer problem:
Could not open page......

I have also tried to include the provided code
<script type="text/javascript">
window.addEvent('domready', function() {
// Do initialization
}
</script>
but i only get a java script error

Maybe i put this to the wrong place.
Please help me

what i have done is copyied this code and pasted it in within the html template editor within joomla administration

Regards
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in IE

Post by Jan »

Hi, if you have problems with this:

https://www.phoca.cz/documents/2-phoca-g ... ent/24-faq (point 5)

try to add into your script code attribute defer

<script type="text/javascript" defer="defer">
If you find Phoca extensions useful, please support the project
kada
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 10 Jun 2009, 21:09

Re: Error in IE

Post by kada »

Hi Jan

thanks for your feedback
looks like that point 5 is the one i was looking for

Regards
jucuegas
Phoca Newbie
Phoca Newbie
Posts: 8
Joined: 23 Dec 2008, 00:36

Re: Error in IE

Post by jucuegas »

Hello,

I edit the line

window.addEvent('domready', function() {

into this:

window.addEvent('load', function() {

In joomla 1.5.8 is correct but I was updated to 1.5.10 ande the patch don't work.
The problem is in IE6 and IE7, in IE8 work but with warning

thanks for your support
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Error in IE

Post by Jan »

Hi, did you update it after update Joomla!

I know only these two methods (defer tag, or loading after page is loaded), how to prevent from this IE bug :(
If you find Phoca extensions useful, please support the project
Post Reply