Hello I'm having problems with a featured content area breaking the site in IE7 which is causing the splash to display above the content (as its also jquery).
<script type="text/javascript" src="/site/3/design/js/featurebar.js"></script>
<script type="text/javascript">
//<!--
jQuery( function(){ ModelIt.FeatureBar.init() } );
//-->
</script>
ModelIt is defined inside featurebar.js
Every other browser, the above works fine, in ie7 I get ModelIt is undefined...Any ideas of a work around?
Here is a test page: http://www.prowler.tv/scripts/test.php - I get object unexpected in IE7.
Change
if (!ModelIt)
to
if (!window['ModelIt'])
and see if that helps.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.