brad_langdon Posted January 3, 2011 Share Posted January 3, 2011 This is working in all browsers except FF. See http://www.smartfitness.ae.php5-18.dfw1-2.websitetestlink.com/ It is the green call to action sitting on top of the main image. Strange thing is it used to work in FF and I have tried deleting all but one part of the effect but it does not work in FF... <!-- HOME PAGE WIDGET ANIMATION --> <script type="text/javascript"> jQuery(document).ready(function() { jQuery('div.widgetfeature').toggle( function() { jQuery('div.featurewidget').animate({ /* width: '100%', */ height: '442px', top: '0' }); jQuery('div.widgetfeature').animate({ width: '26px', height: '26px', bottom: '13px', right: '13px' }); jQuery("div.widgetform").show(); jQuery('div.widgetfeature').css( "background-image", "url(<?php bloginfo('stylesheet_directory'); ?>/images/Close.png)"); }, function() { jQuery('div.featurewidget').animate({ /* width: '423px', */ height: '154px', top: '288px', right: '0' }); jQuery('div.widgetfeature').animate({ width: '423px', height: '154px', right: '0', bottom: '0' }); jQuery("div.widgetform").hide(); jQuery('div.widgetfeature').css( "background-image", "url(<?php bloginfo('stylesheet_directory'); ?>/images/Widget.png)"); }); }); </script> Quote Link to comment https://forums.phpfreaks.com/topic/223243-jquery-toggle-working-in-all-but-ff/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.