Category Archives: bugfixes

How to fix problems with IE

Some people have reported about problems with their tours, when viewing them in Internet Explorer. The error occurs whenever the code from the Amberjack Wizard is NOT pasted right above the closing -tag, but somewhere else in the page’s HTML. Since some people use Content Management Systems for their sites and do not have full control over where the Wizard code is placed, I have taken some time for research and believe to have found a solution:

Webmasters that already have integrated Amberjack with their site, should update their Amberjack code like this:

Edit the wizard code you have pasted into you page’s HTML and change:

<script type="text/javascript">
// ...
Amberjack.open();
</script>

to

<script type="text/javascript" defer="true">
// ...
Amberjack.open();
</script>

You just need to add a “defer” attribute to the “script” tag. I have updated the Tour Wizard to add the defer tag automatically, so for newly created tours, there is no need for modification.

For more technical information, here are some resources that helped me spot the problem:

Advertisements