PDA

View Full Version : JQuery working in all but FF



brad8985
03 Jan 2011, 01:27 AM
Hi everyone, I have a quick question.

This is working in all browsers except FF.
See SMART Fitness (http://www.smartfitness.ae.php5-18.dfw1-2.websitetestlink.com/)

It is the green call to action sitting on top of the main image.



<!-- 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>