hi there,
having issues with using jquery and sliding (toggling) divs in IE, realise
its probably not best place to ask on this group but wondered if anyone had
any advice for a java slide code that :
1. Worked in Firefox, IE7 and IE8 and hopefully earlier versions
2. Slided smoothly, not jagged slide.
At the moment seems to be working fine in Firefox, surprise surprise but in
IE8 it slides a bit jagged, and in IE7 doesnt even slide.
The code I am using with jquery is:
<script src="jquery.js"></script>
<script>
$(document).ready(function(){
$('#click_newsexpand').click(function() {
$('#newsexpand').slideToggle('slow', function() {
// Animation complete.
});
});
$('#click_glanceexpand2').click(function() {
$('#extra<?php echo $site['store_id'];?>2').slideToggle('slow', function()
{
// Animation complete.
});
});
$('#click_glanceexpand').click(function() {
$('#extra<?php echo $site['store_id'];?>').slideToggle('slow', function()
{
// Animation complete.
});
});
$('#click_glanceexpandsupplier').click(function() {
$('#extra<?php echo $supplier['supplier_code'];?>').slideToggle('slow',
function() {
// Animation complete.
});
});
$('#click_glanceexpand3').click(function() {
$('#extra<?php echo $supplier['supplier_code'];?>3').slideToggle('slow',
function() {
// Animation complete.
});
});
});
</script>
any help would be appreciated!
--
NZ PHP Users Group: http://groups.google.com/group/nzphpug
To post, send email to [email protected]
To unsubscribe, send email to
[email protected]