那么我应该在哪里使用这个动画......我找到了 < asp:内容 ID = HeaderContent runat = server ContentPlaceHolderID = HeadContent > 我在此处插入代码... i不工作......? < / asp:Content > 这是错误..感谢正确的方向......? 谢谢&问候 - Paramu 您需要通过 ClientID 选择标签。 Hi, Iam developing a website...It's my first project...The below code animation is working good on Site.Master's <Head> content...<script type="text/javascript"> $(document).ready(function () { $("#Label1").animate({ fontSize: '76px' }, "slow"); });</script>but when I try to put is on Site.Master's WebForms like MyHome.aspx it's not working...So where should I use this animation...I found<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">I inserted the code here...its not working....?</asp:Content>Is that mistake..thanks for the right directions...?Thanks & Regards - Paramu 解决方案 (document).ready(function () {("#Label1").animate({ fontSize: '76px' }, "slow"); });</script>but when I try to put is on Site.Master's WebForms like MyHome.aspx it's not working...So where should I use this animation...I found<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">I inserted the code here...its not working....?</asp:Content>Is that mistake..thanks for the right directions...?Thanks & Regards - ParamuYou need to select the label by its ClientID. 这篇关于如何在其他页面上使用jQuery动画而不是site.master?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-22 22:28
查看更多