jQuery accordion 'stutters' on load, but then behaves pretty normally -
jQuery accordion 'stutters' on load, but then behaves pretty normally -
i'm using jquery accordion website (site link). first panel opens on load, , when does, stutters bit, behaves, part, pretty normally.
here's <head> portion:
<head> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="css/accordion.css" /> <link rel="stylesheet" type="text/css" href="css/grid.css" /> <link rel="stylesheet" href="css/reset.css" type="text/css" media="all"> <script language="javascript" type="text/javascript" src="js/jquery-1.3.2.min.js"></script> <script language="javascript" type="text/javascript" src="js/jquery.msaccordion.js"></script> <title>accordion</title> <script type="text/javascript"> $(function() { $(".image").click(function() { var image = $(this).attr("rel"); $('#image').hide(); $('#image').fadein('slow'); $('#image').html('<img src="' + image + '"/>'); homecoming false; }); }); </script> </head> the other jquery script simple gallery.
so, question: how maintain happening?
i'd seek first , see how works. i'm not seeing much of stutter in chrome though.
$(document).ready(function() { $(".image").click(function() { var image = $(this).attr("rel"); $('#image').hide(); $('#image').fadein('slow'); $('#image').html('<img src="' + image + '"/>'); homecoming false; }); }); jquery accordion
Comments
Post a Comment