Works in firefox but crashes in IE
- *Salvo*
- Offline
- New Member
Less
More
- Thank you received: 0
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.
Just let me know, please, wich file did you change in the template not-default.
Have a great day.
*Salvo*
After have bought your product and installed Ioncube it works...but with the same bug reported here.
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 sampleWhat 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));
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.
- Saka
- Offline
- Administrator
16 years 6 months ago #2700
by Saka
Emir Sakic
www.sakic.net
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.
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.
- *Salvo*
- Offline
- New Member
Less
More
- Thank you received: 0
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:
to
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.
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.
- Saka
- Offline
- Administrator
16 years 6 months ago #2704
by Saka
Emir Sakic
www.sakic.net
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.
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.
- *Salvo*
- Offline
- New Member
Less
More
- Thank you received: 0
16 years 6 months ago - 16 years 6 months ago #2705
by *Salvo*
Great, thanks
*Edit: sent-
*Edit: sent-
Last Edit: 16 years 6 months ago by *Salvo*.
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
16 years 6 months ago #2706
by Saka
Emir Sakic
www.sakic.net
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.