Rock Solid Template - IE Javescript Issue

6 years 8 months ago #683 by pushmyprofile
Rock Solid Template - IE Javescript Issue was created by pushmyprofile
Rock Solid Template

Hi we are having an issue in IE 7/8 with the rock solid template.

It seems to be caused by JavaScript code in the header.

The error code i receive in the IE debugger is

SCRIPT1014: Invalid character
<script type="text/javascript">document.getElementById("sectors").addEventListener('change', function () {
    window.location = this.value;},false); ​</script>

This is the piece of code seemingly causing the problem.

Basically the area stops any button used within the template from working. Any ideas how to fix this for Internet Explorer?

Thanks

Please Log in to join the conversation.

6 years 8 months ago #686 by Adminv
Replied by Adminv on topic Rock Solid Template - IE Javescript Issue
Hi!
Thanks for your request.

Hm, test it on the Rocksolid demo site and the slider works normal.

Found interesting fact on a similar script, IE7/IE8 and on a local server enviroment:
stackoverflow.com/questions/6261256/scri...14-invalid-character

Problem is if you run your local Joomla installation from a local non HTTP path like c:/joomla

instead of http:/localhost/joomla

IE stops execution the script(s) on this point

So if you run your Joomla site locally thats might cause the problem.

If you run it online feel free to send me the URL (you can post it here or send it to: webmaster@pixelsparadise.com) and I will take a closer look at it.

Please Log in to join the conversation.

6 years 8 months ago #725 by pushmyprofile
Replied by pushmyprofile on topic Rock Solid Template - IE Javescript Issue
Managed to solve this problem

Because i was using non-compliant HTML code. and linking around a button tag.

Thanks

Please Log in to join the conversation.

Time to create page: 0.139 seconds
Powered by Kunena Forum
Don't have an account yet? Register Now!

Sign in to your account