且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

我应该将Jquery放在母版页中的哪个位置?

更新时间:2023-11-30 17:36:58

(document).ready(function(){


(#Amla)。hide();


('#<% = Image4.ClientID %> ')。mouseover(function(){
var div =


I place the following code between 'Head' in master page. Not working and not also allowing
button controls to work. The same code works well in content page. What is the mistake? How to rectify it?

<head runat="server">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js">
</script>
<script>
    $(document).ready(function() {
    $("#Amla").hide();
  $('#<%=Image4.ClientID %>').mouseover(function(){
  var div = $("#Amla");
  div.animate({ left: '357px', width:'74px',top:'330px', height:'33px' }, "fast");
  div.animate({ fontSize: '2em' }, "fast");
  $("#Amla").show();
  });
  $('#<%=Image4.ClientID %>').mouseleave(function() {
 var div = $("#Amla");
 $("#Amla").hide();
  });
  });

(document).ready(function() {


("#Amla").hide();


('#<%=Image4.ClientID %>').mouseover(function(){ var div =