<< back to knowledgebase home

jQuery scripts not working correctly in Safari on pages that contain menus

Article Applies To:

MenuMachine 2 only

GoLive CS, CS2

Mac, Windows

Article ID: 000166

Category: Browser Issues

Issue

Some scripts that use the jQuery JavaScript library may not work correctly in Safari if the page also contains a MenuMachine menu.

Solution

This problem is caused by a conflict between jQuery and some code in MenuMachine that works around an issue in IE5. You should be able to fix it by adding this code to the head section of the page, just before the closing </head> tag:
<script type ="text/javascript">
if(typeof(Array.shift)=="undefined")
Array.shift = function(){};
</script>

Last updated: November 26, 2009

This article has been viewed 6313 times.

Related articles