Works in firefox but crashes in IE

16 years 6 months ago #2697 by *Salvo*
Hello, Saka.
After have bought your product and installed Ioncube it works...but with the same bug reported here.

What I did is remove the APA event registration. To fix it open the file:
./components/com_apa/js/slimbox.js
Locate the follownig line:
window.addEvent('domready', Lightbox.init.bind(Lightbox));
Comment it out so it reads:
//window.addEvent('domready', Lightbox.init.bind(Lightbox));

I did it into the /com_apa/js/slimbox.js, but is out of my knowledge how to modify  the template (VersatilityIII) in order to fix the bug with IE. Here is a sample
Just let me know, please, wich file did you change in the template not-default.
Have a great day.


*Salvo*

Please Log in or Create an account to join the conversation.

16 years 6 months ago #2700 by Saka
I did not change the template, only the slimbox.js file.
You seem, however, to have a JS error on your site, try using the default template.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

16 years 6 months ago #2702 by *Salvo*
What I did to change behaviour in IE was a change in apa folder Js slimbox.js at the end of the file from:
function initLightbox() { window.addEvent('domready', Lightbox.init.bind(Lightbox)) }

window.addEvent('domready', Lightbox.init.bind(Lightbox));

to
function initLightbox() ;//{ window.addEvent('domready', Lightbox.init.bind(Lightbox)) };

//window.addEvent('domready', Lightbox.init.bind(Lightbox));

But I guess it's a very dirty coding as I did. And of course the fading effect left, and IE gives me an error as you stated.
Any suggestion is really appreciated, Saka.

Please Log in or Create an account to join the conversation.

16 years 6 months ago #2704 by Saka
It seems it's different depending on template you use and the size of the site.
Please send the access info and FTP on mail and I will take a look on your site.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

16 years 6 months ago - 16 years 6 months ago #2705 by *Salvo*
Great, thanks  ;)

*Edit: sent-

Please Log in or Create an account to join the conversation.

16 years 6 months ago #2706 by Saka
Looks ok with only the last line commented out:
function initLightbox() { window.addEvent('domready', Lightbox.init.bind(Lightbox)) };

//window.addEvent('domready', Lightbox.init.bind(Lightbox));

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch