Keyword

modal.js error on chrome

  • Kapoios
  • Kapoios's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago - 12 years 2 months ago #101250 by Kapoios
modal.js error on chrome was created by Kapoios
Hello, i'm facing this problem on the k2 articles TypeError: Object #<CSSStyleDeclaration> has no method 'setExpression' [www.infoserres.gr/serres/media/system/js/modal.js:95]. At the moment the articles image doesnt show on modal but open on _self window. I tried to remove line 95 and the image started showing on modal but was on the top left corner and you could just see less than half of the image.
Any solution for my problem?
Thanks

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

More
12 years 2 months ago #101251 by Lefteris
Replied by Lefteris on topic Re: modal.js error on chrome
Hi. Update Joomla! and K2 to their latest stable version. Clean your browser's cache and then check your page for errors. Do not modify Joomla! core files like media/system/js/modal.js. The error is not there. Something else in your page is causing this.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Kapoios
  • Kapoios's Avatar Topic Author
  • Offline
  • New Member
More
12 years 2 months ago - 12 years 2 months ago #101252 by Kapoios
Replied by Kapoios on topic Re: modal.js error on chrome
Hello, i have done what you told me but the problem remains. Same conflict with k2 articles image and also font resize is not working

Error shown on index page:
<i>TypeError: TypeError: Object #<CSSStyleDeclaration> has no method 'setExpression' [www.infoserres.gr/serres/media/system/js/modal.js:94]</i>

Error shown while navigating on k2 articles:
ReferenceError: SqueezeBox is not defined [www.infoserres.gr/serres/athlitismos1.html:28]

line 28 contains:
SqueezeBox.initialize({});

part of the script:
<script type="text/javascript">

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

SqueezeBox.initialize({});

$$('a.modal').each(function(el) {
el.addEvent('click', function(e) {
new Event(e).stop();
SqueezeBox.fromElement(el);
});
});
});
var K2SitePath = '/serres/';
</script>

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


Powered by Kunena Forum